logis.fit | R Documentation |
Cuts the data into intervals, compute the response probability and its standard error for each interval and add the results to the regression curve. No test is performed but this permits to have a graphical idea of the adjustment of the model to the data.
logis.fit(model, int = 5, ...)
model |
|
int |
number of intervals. |
... |
other arguments. See help of |
Maxime HERVE <maxime.herve@univ-rennes1.fr>
glm
x <- 1:50
y <- c(rep(0,18),sample(0:1,14,replace=TRUE),rep(1,18))
model <- glm(y~x,family=binomial)
plot(x,y)
lines(x,model$fitted)
logis.fit(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.