Statistics 401 Section F
Fall 2007
Computing
Most of the documents posted on this page are in pdf format. You may save a file by positioning the cursor over its link, clicking the right mouse button, and dragging down to Save Link As.... Most likely you will be able to view a pdf file simply by clicking on its link. If you are not able to view a pdf file, you may choose to install the free Adobe Acrobat Reader software that can be obtained by clicking the link below.
Stat 401 Section F Home Page
Petrutza Caragea's Home Page
A collection of useful commands in R can be found here: R reference card
Monday, August 20
Monday, August 27
Data sets for Lab 2
- Rough outline of commands discussed during Lab 2
- Instructions on how to label a side-by-side boxplot graph
Wednesday, September 5
Monday, September 10
- A short Introduction to SAS (a first example, explained in Lab 3; proc print and proc univariate)
- A second example using the data for the 100 boxes problem (proc means)
- A third example for the trees matched pair experiment discussed in class (calculating differences and proc means)
- The SAS code for a two-sample t-test: sparrow.sas (proc ttest)
Wednesday, September 12
Wednesday, September 19
Friday, September 28
- Data set (doughnut.txt) and the SAS code (doughnut.sas) used in class to illustrate One Way Analysis of Variance (F test and table)
Wednesday, October 10
R function to compute residual sums of squares RSS.r and an illustration of its usage on the doughnut data set used in class: doughnut_RSS.r. This is a very useful program for the last problem on HW7.
Monday, October 15
Wednesday, October 17
- SAS code manatee.sas to compute the linear correlation coefficient and the simple linear regression coefficients (used in HW#8)
Friday, October 19
- SAS code ustemps.sas for correlation and linear regression line for US temperature data (here is what your output should look like: ustemps.pdf)
- Data set (UStemp.txt) and R code (UStemp.r) to calculate regression coefficient, estimate SLR line and plot a scatter plot with several symbols
Monday, October 22
- Black wheateaters example regarding estimation and inference for SLR (covered in Lab)
Wednesday, October 24
Wednesday, October 31
Wednesday, November 14
- SAS code (sat.sas) used for the problem on SAT scores discussed in class (useful for variable selection)
- Data set Mortality.txt used in HW11