* PropVal4 Example, compute-predicted.sas source code script; * Compute predicted values using chosen regression model; options linesize=70 nodate pageno=1; data propval; infile "c:/datasets/training-test.txt" firstobs=3; input obsnum Selection y x1-x9; title "ComputePredicted Output"; label y="Sale price of house ($1000)" x1="Taxes (local, school, county)" x2="Number of baths" x3="Lot size (1000 sq ft)" x4="Living space (sq ft x 1000)" x5="Number of garage stalls" x6="Number of rooms" x7="Number of bedrooms" x8="Age of home (years)" x9="Number of fireplaces"; proc print; proc reg; model y = x2 x3 x5 x8 / p; proc means mean; var y; run; quit;