In Class Handouts can be found here:General Handouts:syllabus_2010.docThe course syllabus gives information on topics to be covered, homework assignments, and the final project.Import_Excel.docThis document gives information on how to save an Excel file for use with a statistical package and how to import it into SAS.Creating new variables in SAS.Computing New Variables in SAS.docThis document gives detailed information on how to create new variables in a SAS dataset.compute_new_vars.sasThis SAS command file goes along with the handout on computing new variables in SAS.employee.sas7bdatThis SAS dataset is to be used with the handout on computing new variables in SAS.t-tests in SAS.sas_ttest_2010.docThis handout gives examples of independent samples t-tests, paired t-tests and one-sample t-tests using SAS.ttest.sasThis SAS command file goes along with the handout on t-tests using SAS.OWEN.DATThis raw data file is used with the handout on t-tests in SAS.Simple Linear Regression in SAS.sas_simple_regression_2010.docThis handout gives examples of simple linear regression in SAS, and shows how to check the residuals graphically.simple_regression.sasThis SAS command file goes along with the handout on simple linear regression using SAS.WERNER2.DATThis raw data file is used with the handout on simple linear regression in SAS.Multiple Linear Regression in SAS.sas_multiple_regression_2010.docThis handout gives examples of correlation matrices, and scatterplot matrices, examples multiple linear regression, checking residuals, and investigating influential data points graphically.multiple_regression.sasThis SAS command file goes along with the handout on multiple linear regression using SAS.werner.sas7bdatThis permanent SAS dataset is used with the handout on multiple linear regression in SAS.Dummy Variable Regression and Oneway ANOVA in SAS.sas_dummy_var_regression_2010.docThis handout gives examples of creating and using dummy varaibles in a regression setting. It also illustrates how a oneway ANOVA is equivalent to a dummy variable regression.dumvar_regression.sasThis SAS command file goes along with the handout on dummy variable regression using SAS.cars.sas7bdatThis permanent SAS dataset is used with the handout on dummy variable regression in SAS.Analysis of Covariance Models Using SAS.sas_ancova_2010.docThis handout gives examples of creating and using dummy variables and interaction terms to use in an ANCOVA model setting. It shows how to examine regression models for different groups, and how to compare them, using an ANCOVA model.ancova_models.sasThis SAS command file goes along with the handout on ANCOVA models using SAS.htwt.savThis SPSS dataset can be imported to SAS to use for the example on ANCOVA.Oneway frequency tabulations and twoway cross-tabulations using SAS.sas_frequencies_2010.docThis handout gives information on how to use sAS Proc Freq for simple oneway tabulations and twoway cross-tabulations. It also illustrates binomial tests for two-level categorical variables, and goodness of fit tests for categorical variables with more than two levels. It also discusses cross-tabulations and chi-square tests of independence, Fisher's exact test, the Cochran-Armitage test for trend, and the Mantel-Haenszel chi-square test for a linear association between two ordianl categorical variablesfrequencies.sasThis SAS command file goes along with the handout on oneway and twoway tables using SAS.WERNER2.DATThis raw data goes along with the handout on oneway and twoway tables in SAS.cars.sas7bdatThis SAS dataset goes along with the handout on oneway and twoway tables in SAS.Odds Ratio and Relative Risk for a 2 by 2 table, and McNemar's test and Cohen's Kappa for Matched Categorical Datasas_frequencies_lecture2_2010.docThis handout gives information on how to use SAS Proc Freq to get an odds ratio and risk ratio for a 2 by 2 table for independent data. It also illustrates using SAS to get McNemar's test of symmetry and Cohen's kappa measure of agreement for matched frequency data.frequencies_lecture2.sasThis SAS command file goes along with the handout on oneway and twoway tables using SAS.werner.sas7bdatThis SAS dataset goes along with the handout on odds ratios, relative risks, and matched categorical data analysis using Proc Freq in SAS.Logistic Regression Using SASsas_logistic_regression_2010.docThis handout gives information on how to use SAS Proc Logistic to fit a logistic regression model for a binary response variable.logistic.sasThis SAS command file goes along with the handout on oneway and twoway tables using SAS.brca.datThis raw data file goes along with the handout on logistic regression using SAS.Writing out data using SASWriting out Data Using SAS.docThis handout gives information on how to use SAS to write out data in different formats.writedata.sasThis SAS command file goes along with the handout on writing out data using SAS.iris.sas7bdatThis SAS dataset goes along with the handout on how to write out data using SAS.Descriptive Statistics and t-tests using SPSSspss_descriptives_ttest.docThis handout gives information on how to use SPSS to read in raw data, carry out simple descriptive statistics and get simple graphs, and carry out independent sample, paired sample and one-sample t-tests.descriptives_ttest.spsThis SPSS command file goes along with the handout on descriptive statistics and t-tests.WERNER2.DATThis raw data file goes along with the handout on how to carry out descriptive statistics and t-tests using SPSS.Missing values in SPSSmissing_values_in_SPSS.docThis handout gives information on how SPSS handles missing values.Linear regression using SPSSspss_Linear_Regression_2010.docThis handout gives information on how to use SPSS to fit a simple linear regression model, set up dummy variables and fit a dummy variable regression model, fit a oneway ANOVA model, and fit a multiple regression model and check for collinearity, and other model diagnostics.linear_regression.spsThis SPSS command file goes along with the handout on linear regression.werner.savThis SPSS data file goes along with the handout on linear regression using SPSS.Q-Q plots using SPSSSPSS_QQPlots.docThis handout shows examples of different distributions of residuals and how they look in an SPSS Q-Q plot.Frequencies and cross-tabs using SPSSspss_frequencies_lecture_2010.docThis handout shows how to create recodes of variables to create categorical variables, how to do a binomial test, a chi-square goodness of fit test, how to calculate an odds ratio and relative risk for a two-by-two table, and how to get a chi-square test of independence for a twoway cross-tabulation. McNemar's test for matched categorical data is also illustrated.frequencies_2010.spsSPSS commands that go with the handout on frequencies and cross-tabs using SPSS.werner.savUnmatched SPSS data file from the Werner Pill Study.matched.savMatched SPSS data file from the Werner Pill Study.graders.savData set used to illustrate the calculation of Cohen's kappa using SPSS.skincondition.savData set used to illustrate the use of Weights to represent frequencies in a cross-tabulation.Logistic Regression Using SPSSspss_logistic_regression_2010.docThis handout shows how to read in raw data, set up missing value codes, use recodes to create new variables, set up dates using SPSS, and fit logistic regression models.logistic_regression.spsSPSS commands that go with the handout on logistic regression using SPSS.brca.datraw data file to use with the SPSS logistic regression example.Poisson Regression Using SASsas_poisson_regression_2010.docThis handout shows how to fit a Poisson regression model using SAS, how to create and use an offset variable. How to fit an over-dispersed Poisson model is also illustrated, as well as how to fit a negative binomial model. A GEE model is also illustrated where there are multiple observations per subject.poisson_regression.sasSAS commands that go with the handout on Poisson regression.appletree.sas7bdatSAS dataset to use with the SAS Poisson regression handout.Poisson Regression Using SPSSspss_poisson_regression_2010.docThis handout shows how to fit a Poisson regression model using SPSS, how to create and use an offset variable. How to fit an over-dispersed Poisson model is also illustrated, as well as how to fit a negative binomial model.poisson_regression.spsSPSS commands that go with the handout on Poisson regression.appletree.sas7bdatSAS dataset to use with the SPSS Poisson regression handout. (We will import the SAS dataset to SPSS).