« first day (2268 days earlier)      last day (3035 days later) » 

08:32
Hi, I am looking for the source code of predict() function for manually calculating the predictions from the summary of the glm model. I have looked into the site and found no relevant questions. Anyone having an idea, please let me know. Thanks.
Do you think, if need to post this as a question?
 
2 hours later…
10:55
@Prradep: That's not a question for this site, but for Stack Overflow - where it's already been asked & answered: stackoverflow.com/questions/19226816/…
11:21
Thanks @Scortchi I have tried it already and didn't work.. Would you be able to advise how to predict the outcomes based on a glm() model using coefficients ?
11:43
That, appropriately expanded, would be a question for this site, though I'd urge you to search first as it's quite likely to be have been answered.
E.g. stats.stackexchange.com/q/20835/17230 for logistic regression
stats.stackexchange.com/q/157601/17230 & stats.stackexchange.com/q/65463/17230 for general discussion of generalized linear models & their link functions
@Prradep I wouldn't assume anywhere on CV that people are using the same software as you so that you do not need to spell it out. it's always easy just to specify "in R", "in SAS", or whatever, and that way you inform some and don't irritate some others or puzzle yet others.
12:23
@Scortchi Thanks. I have gone through these links already. These models however, do not explain how to calculate predictions but only probabilities.
@NickCox Sure, I will do next time when asked.
@Prradep, what do you mean by "predictions"? Logistic regression predicts probabilities; that's what it's supposed to do. It sounds like your issue is that you are confused about LR, not R code. If so, that would be on topic on the site.
@Prradep: That's not so. The answer on logistic regression concerns predicted probabilities, but that on Poisson regression concerns predicted counts. In general the expected value of the response is what you predict.
Thanks @gung I will check that..
@Scortchi Thank you, I will look into the details clearly..

« first day (2268 days earlier)      last day (3035 days later) »