Extract regression equation
I'm building a model to predict a numeric continuous variable by using another numeric variable.
Logarithmic or polynomial equations better fit my data. They have given a lower error rate than linear regression, but I'm unsure how to extract the model equation (formula) from the model I built.
Here is the algorithm I used:
- Generalized Linear Model
- family: gaussian
- link: log
(Green label = prediction)
Also, I am trying to use polynomial regression for my model since it shows the equation in the model output. However, the prediction is totally off, not sure if I made any mistake in the setting. (Green label = prediction)