* Hamster Example Predict the lifetime of a hamster from its percent of life hibernated. Create the scatterplot, the residual plot, and normal plot of residuals; options linesize=70 nodate; data hamster; infile "c:/datasets/hamster.txt" firstobs=4; input hiber lifetime; label hiber="Percent of Life Hibernated" lifetime="Lifetime in Days"; proc print; * Obtain simple linear regression model; proc reg; model lifetime=hiber; * Plot regression line with confidence and prediction intervals; plot lifetime*hiber r.*p. r.*nqq.; run; quit;