R package for Computational Actuarial Science

A webpage for the book is now hosted on

http://cas.uqam.ca/

So far, it is a very basic page, but information regarding the package can be found there. For instance, to install the package, with all the datasets, the R code is

> install.packages("CASdatasets", repos = "http://cas.uqam.ca/pub/R/")

The reference manual provides a description of all datasets.


17 thoughts on “R package for Computational Actuarial Science”

  1. I am studying chapter 10 (survival analysis), but I cannot figure out where to load DataMortality.csv . Thank you for your help.

      1. Hi Arthur, I’m trying to replicate the application (10.4.3.1) from Whittaker{Henderson Smoother Techniques, but I cannot find the Q_Moment_h.txt to load. Thank in advance for your help.

  2. Hi Arthur,
    great book!
    Can I access to the data sets in survival chapter? Is the dataset ‘data\\DataMortality.csv’ (10.2.1 part of the book). I can’t find it also in the ‘survival’ package.
    Thanks!
    Best

  3. Hello Arthur.

    I’m very sorry, but I’m having some troubles with installing this package (whether I do it using “install.packages” code or uploading as a .tar.gz file). Here’s a screenshot of the problem:

    http://prntscr.com/iai8nq

    Thank you in advance.

  4. I do not know how to get extreme2datasince1899.csv or hurricanehist.csv file
    Let me know. How do I get it? please

  5. I do not know how to get extreme2datasince1899.csv or hurricanehist.csv file
    Let me know. How do I get it, please

  6. Running windows 7, unable to install either

    > install.packages(“CASdatasets”, repos = “http://cas.uqam.ca/pub/R/”)
    Installing package into ‘C:/Users/si557108/Documents/R/win-library/3.1’
    (as ‘lib’ is unspecified)
    Warning in install.packages :
    cannot open: HTTP status was ‘404 Not Found’
    Warning in install.packages :
    cannot open: HTTP status was ‘404 Not Found’
    Warning in install.packages :
    unable to access index for repository http://cas.uqam.ca/pub/R/bin/windows/contrib/3.1

    package ‘CASdatasets’ is available as a source package but not as a binary

    Warning in install.packages :
    package ‘CASdatasets’ is not available (for R version 3.1.2)

    Regards
    JP

          1. Yeah I tried the link about 10 hours ago and wouldn’t open. It’s working now though thanks.

  7. Hello Arthur
    Having purchased a copy of your text, I am having difficulty accessing the site http://cas.uqam.ca/ – and installing the package under R version 3.1.2.
    Would you please advise on how I can complete these tasks?
    Thanking you in anticipation.
    Best regards,
    Jay

Leave a Reply to Arthur Charpentier Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.