search for: fi1c

Displaying 1 result from an estimated 1 matches for "fi1c".

Did you mean: f1c
2007 Jul 26
2
logistic regression
...edu/b515/l14.pdf) . I found most of the code to be very helpful, but I am struggling with the lines on to calculate the observed and expected values in the 10 groups created by the cut function. I get error messages in trying to create the E and O matrices: R won't accept assignment of "fi1c==j" and it won't calculate the sum. I am wondering whether someone might be able to offer me some assistance...my search of the archives was not fruitful. Here is the code that I adapted from the lecture notes: fit <- fitted(glm.lyme) fitc <- cut(fit, br = c(0, quantil...