Senhores,
estou ajustando uma regressão logistica via glm
na hora de validar meu modelo com amostra teste,no comando predict, de acordo com o Help o default para a previsão é o log do odd ratio e o type="response" retornaria as probabilidades,
porem me parece que o default está retornando as probabilidades e o response o ajuste linear.
segue o trecho do help
|
the type of prediction required. The default is on the
scale of the linear predictors; the alternative "response"
is on the scale of the response variable. Thus for a default
binomial model the default predictions are of log-odds (probabilities
on logit scale) and type = "response" gives the predicted
probabilities. The "terms" option returns a matrix giving the
fitted values of each term in the model formula on the linear predictor
scale.
|