Displaying 1 result from an estimated 1 matches for "percoftot".
Did you mean:
percoftotal
2005 Apr 27
0
Fitting a kind of Proportional Odds Modell using nlme, polr, lrm or ordgee
...t;contr.SAS","contr.poly"))
counts <-
c(2,22,54,29,3,4,23,45,22,2,1,22,35,11,3,14,119,180,54,6,7,16,17,
10,3,13,20,24,10,1,8,24,73,52,13,21,106,175,62,17,2,13,18,7,1,3,14,19,3,0)
category <- c(rep(1:5,10))
treatment <- (rep(c(0,0,0,0,0,1,1,1,1,1,),5))
study <- gl(5,10)
percoftotal <- counts/sum(counts)
cout <- data.frame(study,treatment,category,counts,percoftotal)
The data are from five controlled clinical trials (study). The patients
were given placebo (treatment=0) or treatment (treatment=1) and had a
response in one of five categories.
Now I want to fit...