
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. Alguem sabe alguma coisa sobre isso? Att. -- Vinicius Brito Rocha. Estatístico e Atuário, Mestre em Pesquisa Operacional www.aplicademic.blogspot.com http://twitter.com/viniciusbritor "Não se preocupe muito com as suas dificuldades em Matemática, posso assegurar-lhe que as minhas são ainda maiores." - Albert Einstein.