* 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; proc corr; * Set value and color of plot symbol; symbol v=dot c=black; proc reg; * Use simple linear regression model; model cputime=linesout; * Create three plots; plot cputime*linesout r.*p. r.*nqq.; run; quit;