« Derivatives Portal | Main | Fixed Income Securities: Tools for Today's Markets (Tuckman) »

two models in one regression

In SAS, you can estimate two distinct models with one call to proc reg.

proc reg data=USPopulation outest=est tableout alpha=0.1;
m1: model Population=Year/noprint;
m2: model Population=Year YearSq/noprint;
proc print data=est;
run;

*]

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)