Displaying 1 result from an estimated 1 matches for "table1q4".
Did you mean:
table1
2012 Mar 30
2
error message in logistic regression
...The data set is
based on how accurate dogs are at giving a trained response when finding
drugs.
D=dogs, P= phase of test, NF= number found, NTA= times they gave the trained
alert, NA= times they did not give the alert, R= reliability in %
> file.choose()
[1] "E:\\Rhome exam\\question4\\table1Q4.txt"
> tort<-read.table("E:\\Rhome exam\\question4\\table1Q4.txt")
> tort
D P NF NTA Na R
1 1 1 27 8 19 30
2 1 2 29 7 22 24
3 2 1 30 16 14 53
4 2 2 26 25 1 96
> summary(glm(cbind(NTA,NF-NTA)~P,tort,family=binomial))
Call:
glm(formu...