10-28-2016 07:28 AM
I want to analyse the result of completely randomized experiment of one factor (8 levels) with fixed effects. The purpose was to identify the effect of different letters mailed out to families in signing up to a children's program.
We had 7 samples each received one type of letter and we had a control group( with no letter). I also want to determine the effect of letters by demographic characteristics (age, gender, language, geographical location).
I need help in carrying the statistical analysis in SAS.
Prog_Status is the dependent variable holds the information if the person signed up or not due to the letter. It’s binary data with 0 ( no sign up) or 1 ( signed up)
Test variable is independent and holds the type of letter, 1 being control group and 2-7 being the type of letter recieved.
I'd like to show the effect of letter by age categories (0-2, 3-6, 7-14), gender (F, M), Language (Englihs vs French) and by location (13 different locations)
I'd like to show also which letter is being most effect.
I used the following but not sure if it’s correct or complete.
proc glm data=work.a;
estimate 'control vs letter2' test 1 -1 0 0 0 0 0 0 / e;
10-28-2016 09:33 AM
You are on the right track, but you need to use PROC LOGISTIC because your outcome is binary.
There is a good BBU by Allison "Logistic Regression with SAS" that can help you through the specific comparisons you are looking for.