Dear SAS Communities,
I would like to fit a regression model in order to predict the continuous variable "dry matter" (DM) when the fruit has an hedonic score of 5, 5.5, and 6 (categorical predictor).
In this case, is it correct to include a quadratic term in the model like this? I did not include a class statement since the regression line is being fitted.
proc glm data=one;
model DM= hedonic hedonic*hedonic;
run;
I would greatly appreciate your feedback!
Thank you Ksharp!
So, if the quadratic and cubic terms are significant then I should include the higher order in the model I guess
| Parameter | Estimate | Standard Error |
t Value | Pr > |t| |
|---|---|---|---|---|
| Intercept | 14.85272543 | 2.22070211 | 6.69 | 0.0011 |
| hedonic | 6.71613239 | 1.82095677 | 3.69 | 0.0142 |
| hedonic*hedonic | -1.19830813 | 0.41222284 | -2.91 | 0.0335 |
| hedoni*hedoni*hedoni | 0.07633635 | 0.02720314 | 2.81 | 0.0377 |
Great, thanks!
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.
Explore Now →ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.