Displaying 2 results from an estimated 2 matches for "exam2".
Did you mean:
exams
2007 May 28
1
'trim' must be numeric of length one?
Hi everybody,
When I followed a practice example, I got an error as follows:
########################################################################
#######################################
> cc<-read.table('example5_2.dat',header=TRUE)
> cc
EXAM1 EXAM2 EXAM3 EXAM4 EXAM5
1 45 34 23 35 50
2 23 36 66 66 34
3 67 59 72 80 69
4 56 43 31 34 40
5 74 66 57 32 66
> mean(cc)
EXAM1 EXAM2 EXAM3 EXAM4 EXAM5
53.0 47.6 49.8 49.4 51.8
> attach(cc)
> mean(EXAM1,EXAM2,EXAM3,E...
2004 Jun 06
0
strata() in clogit()
...ary() does not
automatically summarize the log odds associated with the strata "id".
I suppose the log odds associated with strata(id) gives me \alpha_k.
But I can't seem to get them with summary(). Help is greatly
appreciated.
Yuelin Li.
---- my R syntax is -----------
> exam2.clog<- clogit(resp ~ i5+i6+i7+i8+i9+i10+i11+i12+i13+i14+
i15+i16+i17+ strata(id), data=exam1.1)
> summary(exam2.clog)
Call:
clogit(resp ~ i5 + i6 + i7 + i8 + i9 + i10 + i11 + i12 + i13 +
i14 + i15 + i16 + i17 + strata(id), data = exam1.1)
n= 476
coef exp(coe...