How do I obtained fitted values for this data?
Your output data set, regout has the predicted values in the variable P.
EDIT: You should also add a quit statement to the end of your proc reg, its one of the few procs that needs a quit; instead of a run;
April 27 - 30 | GAYLORD TEXAN
Register now to lock in early bird pricing through February 25!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.
Browse our catalog!