Displaying 2 results from an estimated 2 matches for "yourvariablename".
2009 Jan 23
2
Categorical Variables and glm()
When including categorical variables in a regression, the default in R is
to set the first level as the base. Is there an option to specify a
different level as the base?
Regards,
Stephen Collins, MPP | Analyst
Health & Benefits | Aon Consulting
[[alternative HTML version deleted]]
2008 Dec 03
1
GLMM using lme4
Dear R-experts,
I am running R version 2.7.1 on Windows Vista. I have a small dataset which consists of ?chick ID?, ?year (0, 1)?, ?hatching order [HO, defined as first, second and third-hatched chick]?, and the binary outcome of interest ?death (0, 1)?. So a subset of my dataset looks like this on a txt file:
y ID Yr HO
1 1 1 First
0 2 1 First
0 3 1 Second
0 4 1 First
1 5 1 First
0 6 1 Third