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
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)
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
-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
-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
5 matches
Mail list logo