Displaying 1 result from an estimated 1 matches for "06_logreg".
2009 Apr 10
1
How to handle tabular form data in lmer without expanding the data into binary outcome form?
...set, in which each observation records number of
trials (N) and number of events (Y) given a covariate combination(X) and
group id (grp_id).
So, my dataset is in tabular form. (in case my explanation of tabular form
is unclear,
please see the link:
http://www.stat.psu.edu/online/development/stat504/06_logreg/11_logreg_fitmodel.htm
)
My question: what is the lmer syntax for tabular data ("model Y/N=X" is the
what SAS does as seen in the link above).
In specific, where can I add N (number of trials) into the following line of
lmer code?
m1 <- lmer(Y ~ X+(1|grp_id), family=biomial(link="...