* PropVal4 Example, source code script split.sas; * Split dataset into test (Selected=1) and training (Selected=0); options linesize=70 nodate pageno=1; data propval; infile "c:/datasets/propval.txt" firstobs=15; input y x1-x9; title "PropVal3 Example"; 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 surveyselect data=propval method=srs seed=49143 outall samprate=0.2 out=subsets; proc print; run; quit;