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.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.