I have run a GLM test on my data. I have some of the results I want but not all of them.
Here is the code I ran:
datmodel<-glm(choice~audience+test+sex,family="binomial",data=data)
summary(datmodel)
Output:
Call:
glm(formula = choice ~ audience + test + sex, family = "binomial",
data = data)
Deviance Residuals:
Min 1Q Median 3Q Max
-1.4835 -1.0782 -0.8512 1.1332 1.5434
Coefficients:
Estimate Std. Error z value Pr(>|z|)
(Intercept) 0.3147 0.2465 1.277 0.2016
audiencepublic -0.5910 0.2668 -2.215 0.0267 *
teststatus -0.5526 0.2646 -2.088 0.0368 *
sexm 0.3812 0.2718 1.402 0.1608
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
(Dispersion parameter for binomial family taken to be 1)
Null deviance: 332.11 on 239 degrees of freedom
Residual deviance: 321.47 on 236 degrees of freedom
AIC: 329.47
Number of Fisher Scoring iterations: 4
In my data, audience consists of either public or private, yet the output only has "audiencepublic". The same goes for test and sex, test having status and control and sex having m and f (male and female). Why is there no results for these? Unless I am severely misunderstanding something.
Lastly, I wish to find out the f value for this test as I need to write up the results, how do I go about obtaining it?
Many thanks, Joe