Displaying 2 results from an estimated 2 matches for "berk1".
Did you mean:
berk
2011 Apr 03
1
style question
Hi everyone,
I am trying to build a table putting standard errors horizontally. I
haven't been able to do it.
library(memisc)
berkeley <- aggregate(Table(Admit,Freq)~.,data=UCBAdmissions)
berk0 <- glm(cbind(Admitted,Rejected)~1,data=berkeley,family="binomial")
berk1 <-
glm(cbind(Admitted,Rejected)~Gender,data=berkeley,family="binomial")
berk2 <-
glm(cbind(Admitted,Rejected)~Gender+Dept,data=berkeley,family="binomial")
setCoefTemplate(est.se=c(est = "($est:#)($se:#)"))
mtable(berk0,berk1,berk2,
+ coef.style="...
2011 Apr 03
1
setCoefTemplate
Hi everyone,
I am trying to build a table putting standard errors horizontally. I
haven't been able to do it.
library(memisc)
berkeley <- aggregate(Table(Admit,Freq)~.,data=UCBAdmissions)
berk0 <- glm(cbind(Admitted,Rejected)~1,data=berkeley,family="binomial")
berk1 <-
glm(cbind(Admitted,Rejected)~Gender,data=berkeley,family="binomial")
berk2 <-
glm(cbind(Admitted,Rejected)~Gender+Dept,data=berkeley,family="binomial")
setCoefTemplate(est.se=c(est = "($est:#)($se:#)"))
mtable(berk0,berk1,berk2,
+ coef.style="est.se...