Displaying 3 results from an estimated 3 matches for "stat504".
Did you mean:
stat501
2012 Apr 02
2
linear-by-linear association model in R?
Dear all, can somebody give me some pointer how I can fit a
"linear-by-linear association model" (i.e. loglinear model for the
ordinal variables) in R? A brief description can be found here
'https://onlinecourses.science.psu.edu/stat504/node/141'.
Thanks for your help
2009 Apr 10
1
How to handle tabular form data in lmer without expanding the data into binary outcome form?
...e a dataset, 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(...
2012 Mar 14
1
Questing on fitting Baseline category Logit model
Dear all,
I am facing some problem with how to fit a "Baseline category Logit
model" with R. Basically I am considering famous "Alligator" data as
discussed by Agresti. This data can also be found here:
https://onlinecourses.science.psu.edu/stat504/node/174
(there is also an accompanying R file, however the underlying R code
could not load the data properly!!!)
Below are the stuffs what I have done so far:
My_Data <- structure(list(Number = c(7L, 4L, 1L, 0L, 0L, 0L, 0L, 1L, 5L,
2L, 16L, 3L, 3L, 0L, 2L, 1L, 2L, 2L, 3L, 3L, 2L, 13L, 2L, 7L...