* CPUReg1 Example -- cpureg1.sas source code; * Read input data; options linesize=70 nodate; data cputime; infile "c:/datasets/cpu.txt" firstobs=10; input cputime cardsin linesout steps devices; label cputime="CPU Time in Seconds" cardsin="Number of Punched Cards Input" linesout="Number of Lines Output" steps="Number of Programs Loaded" devices="Number of Mounted Devices"; proc print; * Set value and color of plot symbol; symbol v=dot c=black h=0.75; * Full model with all regressors; proc reg; model cputime=cardsin linesout steps devices; * Model with cardsin removed, stb option prints standardized regression coefficients; proc reg; model cputime=linesout steps devices / stb; plot r.*p. r.*linesout r.*steps r.*devices r.*nqq.; run; quit;