01 January 2016 17 9K Report

I have a student who has come to me with a problem.  He is creating a Gaussian GLM model (which I believe is the same thing as running a standard LM?).  He needs to be able to generate predictions using this model and wishes to be able to present the actual regression equation used.

Since it is a Gaussian model I was pretty sure it was using the standard Y = Intercept + X*Slope equation, but we're having difficulties confirming this.  Using the predict() function we generated some predictions for different participants in his dataset and we're struggling to manually compute the same results.  The difficulty is that he has some predictors which are coded as ordinal factors which I believe R automatically dummy codes, but I'm unsure about what level of each factor is represented by each coefficient in the summary output table.

I'm not at all familar with the GLM function outside of Logistic Regression.  Is there a way to get R to categorically show you what regression equation it is using and which coefficients go with which predictor variables?

Similar questions and discussions