Part of my assignment reads as follows:
Your goal is to create a regression model that can predict the income based on age in years.
The second part of the assignment is giving me a hard time. I'm using the Linear Regression task but I'm confused as to how to set it up. Would age or income be the dependent variable? Would the remaining variable then be used as the classification variable/intercept?
Any help would be greatly appreciated!
predict the income based on age
One of these variables is the predictor, one the "predictee". Which is which should be evident from the quoted phrase above.
Google "dependent variable" and you will likely have started your road to understanding regression.
In addition to what @mkeintz said, there are no CLASS variables here, there are only continuous variables, so if you include CLASS variables in your model, you get gibberish. So please look up what a CLASS variable is and is not.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.