[R] confint function in MASS package for logistic regression analysis

2012-01-18 Thread Jerome Myers
I have the following binary data set: Sex Response 0 1 0 159 162 1 4 37 My commands library(MASS) sib.glm=glm(sib~sex,family=binomial,data=sib.data) summary(sib.glm) The coefficients in the output are

Re: [R] confint function in MASS package for logistic regression analysis

2012-01-18 Thread Marc Schwartz
On Jan 18, 2012, at 9:27 AM, Jerome Myers wrote: I have the following binary data set: Sex Response 0 1 0 159 162 1 4 37 My commands library(MASS) sib.glm=glm(sib~sex,family=binomial,data=sib.data)

Re: [R] confint function in MASS package for logistic regression analysis

2012-01-18 Thread Prof Brian Ripley
Yes, the results from confint() are much more accurate than yours and SPSS's. (As Bill Venables once said in a similar circumstance: this is not the place to report bugs in SPSS.) Hint: the word 'profile' appears all over the place on the help pages. confint() uses profile likelihood

Re: [R] confint function in MASS package for logistic regression analysis

2012-01-18 Thread Nordlund, Dan (DSHS/RDA)
-Original Message- From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- project.org] On Behalf Of Jerome Myers Sent: Wednesday, January 18, 2012 7:27 AM To: r-help@r-project.org Subject: [R] confint function in MASS package for logistic regression analysis I have

Re: [R] confint function in MASS package for logistic regression analysis

2012-01-18 Thread William Dunlap
-project.org Subject: [R] confint function in MASS package for logistic regression analysis I have the following binary data set: Sex Response 0 1 0 159 162 1 4 37 My commands library(MASS) sib.glm=glm(sib~sex