Actuarial Outpost
 
Go Back   Actuarial Outpost > Exams - Please Limit Discussion to Exam-Related Topics > CAS > Certified Specialist in Predictive Analytics
FlashChat Actuarial Discussion Preliminary Exams CAS/SOA Exams Cyberchat Around the World Suggestions

DW Simpson
Actuarial Jobs

Visit our site for the most up to date jobs for actuaries.

Actuarial Salary Surveys
Property & Casualty, Health, Life, Pension and Non-Tradtional Jobs.

Actuarial Meeting Schedule
Browse this year's meetings and which recruiters will attend.

Contact DW Simpson
Have a question?
Let's talk.
You'll be glad you did.


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-12-2019, 01:45 PM
ButtressWOPersonality ButtressWOPersonality is offline
Member
CAS
 
Join Date: Jun 2011
Location: Existential Angst-Ville
Studying for iCAS3
College: UMass/BC
Posts: 79
Default E3: Fall 2019 Thread

Hello! Figure it is a good idea to kick things off with a thread on Fall 2019.

First question: in section B4, I can't find the data used in the code from Gelman and Hill in 11.3. The data for "smoking" on the website uses all numerical data, but the code requires data set with "f"s and "Ys".

Here is the code that Gelman includes on his website for 11.3... very not helpful in identifying the data, imo.

## Read in the data
# Data are at http://www.stat.columbia.edu/~gelman/arm/examples/?
data?
library ("arm")
?data
## Overall rate of smoking (figure 11.5)


## Pull out the smoking outcome: single data matrix
y <- data[,seq(6,12,2)]
female <- ifelse (data[,2]=="f", 1, 0)
mom.smoke <- ifelse (data[,3]=="Y", 1, 0)
dad.smoke <- ifelse (data[,4]=="Y", 1, 0)
psmoke <- mom.smoke + dad.smoke
__________________
ACAS 7 8 9
Reply With Quote
  #2  
Old 09-16-2019, 12:39 PM
ButtressWOPersonality ButtressWOPersonality is offline
Member
CAS
 
Join Date: Jun 2011
Location: Existential Angst-Ville
Studying for iCAS3
College: UMass/BC
Posts: 79
Default

UPDATE: I sent an email to Prof. Gelman... he acknowledged that the dataset is on the website is not correct.

Hi, BUTTRESSWOPersonality: I agree. It seems that the original dataset is not on the website. I think it's ok in this example to simply read the code in the text without trying to run it. The point of this example is simply that the data in this multilevel structure is stored in two different matrices, one for the person and one for the data points.
I hope this helps.
Andrew
__________________
ACAS 7 8 9
Reply With Quote
  #3  
Old 09-24-2019, 08:27 PM
mediocre_actuary mediocre_actuary is offline
Member
CAS
 
Join Date: Jan 2017
Posts: 32
Default

Are the datasets for the sample exam available somewhere? I'd like to work through these problems at some point. I assume it's available in the practice exam environment but since that's a time sensitive thing I'd prefer to have the data outside of that.
Reply With Quote
  #4  
Old 09-29-2019, 10:08 PM
DrahcirYkcir DrahcirYkcir is offline
Non-Actuary
 
Join Date: Sep 2019
College: Penn State University - Alumni
Posts: 1
Default

Quote:
Originally Posted by mediocre_actuary View Post
Are the datasets for the sample exam available somewhere? I'd like to work through these problems at some point. I assume it's available in the practice exam environment but since that's a time sensitive thing I'd prefer to have the data outside of that.
I haven't heard anything even regarding the practice exam. Do we have to have that set up ourselves or will an invitation be set up in the coming week or two to take it?

On topic, unless they specify one of the datasets used in a publicized R package (MASS, ISLR etc) I don't imagine that we'd have the set to play with ourselves, unfortunately.
Reply With Quote
  #5  
Old 09-30-2019, 01:04 PM
mediocre_actuary mediocre_actuary is offline
Member
CAS
 
Join Date: Jan 2017
Posts: 32
Default

I believe you are able to schedule it yourself once you have registered for the exam.

Also, I fortunately believe I have found the dataset for the last R problem just by googling it but the other 2 do not seem to be readily available.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -4. The time now is 05:21 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
*PLEASE NOTE: Posts are not checked for accuracy, and do not
represent the views of the Actuarial Outpost or its sponsors.
Page generated in 1.29036 seconds with 9 queries