Skip to the content.

Modern Actuarial Statistics I

MAS-I is a Casualty Actuarial Society exam on the statistics used in pricing and reserving. The CAS content outline splits it into three domains. Probability models, including stochastic processes and survival models, are about 20–30% of the exam. Statistics, at the level of a second undergraduate course, is about 20–30%. Extended linear models are about 45–55%, and that is the domain these notes work through in R.

This repository is one study installment: a single R Markdown note from August 2018, the HTML page already rendered from it, and five small tables used in the examples. The write-up is practice for the exam. It sits beside the CAS outline and the readings, and the model comparisons in the note are left as they were drafted.

The note opens with six response distributions that show up in severity and survival work: exponential, gamma, Weibull, Pareto, lognormal, and beta. Each one has a short reminder of how it is built, then a simulated density and distribution function. A Gaussian model on the Dobson carbohydrate data asks whether age belongs beside weight and protein, and compares the two fits with deviance, AIC, an extra-sum-of-squares test, residual plots, and variance inflation factors. An added exercise indicator turns the same regression into an ANCOVA.

The later examples are categorical and count models, each tied to a CSV in this repository. Beetle mortality is a grouped binomial response, fit with logit, probit, and complementary log-log links. Car preferences are an ordered rating of power steering, fit once as a nominal multinomial model and once as a cumulative-odds model. Smoking and coronary deaths are a Poisson rate with a person-years offset, a quadratic age term, and a smoking interaction. Aspirin and ulcer counts are a contingency table fit by Poisson regression, from a short interaction model out to the saturated model, so the drop in AIC and deviance is visible. Third-party claim counts by local government area are overdispersed relative to a Poisson; the note refits them with a negative binomial and with quasi-likelihood.

The files are arranged as that one installment, Linear Models Part I. The probability-model and statistics domains are the setting for the distributions and the hypothesis tests, and they are not written out as separate chapters here. Linear_Models_Part_I.html is the rendered note, with the plots. Linear Models Part I.Rmd is the source, and the five CSVs sit in the repository root beside it. The R chunks still read those tables from an old local path, so the copies here are the ones to point at if you knit the note yourself.

The exam

How the note is organized

Read the note

Rendered

Distributions, ANOVA and ANCOVA, grouped binomial links, nominal and proportional-odds models, Poisson rates, and overdispersion. Plots are in the HTML.

Datasets

The tables below are the ones named in the note. Column lists match the files in the repository root. They are study copies; this repository does not claim ownership of the underlying data.

beetle_mortality.csv

Grouped binomial

Dose, number tested, and number killed. Used for logit, probit, and complementary log-log.

CSV

car_preferences.csv

Ordinal response

Sex, age band, a numeric age code, the importance rating, and a frequency weight. Used for the multinomial and proportional-odds fits.

CSV

smoking_death.csv

Poisson rate

Age band, numeric age, smoking status, deaths, and person-years. The person-years column is the offset.

CSV

aspirin_ulcers.csv

Contingency table

Ulcer type, case or control, aspirin use, and the count in that cell. Fit as a Poisson regression on the frequencies.

CSV

Third_party_claims.csv

Overdispersion

Local government area, a dispersion summary, claims, accidents, an index, population, and population density. Compared under Poisson, negative binomial, and quasi-likelihood.

CSV

Using the files

The rendered note is the page to read. The R Markdown source stays in the GitHub repository and is left out of the Jekyll build so its own front matter is not published as a second page. Contributions of further MAS-I notes, code fixes, or practice problems are welcome. The project license is the MIT License.