STA 6167 - Statistical Methods in Research II


Instructor: Larry Winner     Office: 228 Griffin/Floyd    winner@stat.ufl.edu    Office Hours:    Tu 10:45-12:00     W 11:45-1:00     Th 7:45-9:00

TA: TA: Srijata Samanta   Office: FLO 218     email:  sri1717@ufl.edu        Office Hours:  M 1:45-4:00     F 12:00-12:45    

 
Syllabus (Spring 2018)
        WORD             PDF

Linear Regression Problems        WORD      PDF      Solutions            

Experimental Design Problems       WORD       PDF        Solutions (Part 1: QA-QD)
     Solutions (Part 2: QE-QH)

Analysis of Covariance Problems       WORD      PDF        Solutions

Logistic, Poisson, Nonlinear Regression Problems            WORD     PDF         Solutions



Spring 2014 Exam 1 Solutions (Total Points = 150, Mean = 128.5, SD = 18.3, Median = 133)

Exam 1 Topics - Spring 2017

Exam 1 Solutions - Spring 2016

Old Exam 1 (Semesters Vary on Topics)

Spring 2008           Spring 2009       Spring 2011       Spring 2012       Spring 2013      Spring 2014         Fall 2014      Spring 2015       Spring 2017


Exam 2 Topics - Spring 2017

Exam 2 Solutions - Spring 2015

Old Exam 2 (Semesters Vary on Topics)


Spring 2008             Spring 2009            Spring 2011             Spring 2012       Spring 2013        Spring 2014          Fall 2014         Spring 2015        Spring 2017


Exam 3 Topics - Spring 2017

Old Exam 3 (Semesters Vary on Topics)


Spring 2011       Spring 2012        Spring 2013              Spring 2014               Spring 2015


1. Introductory statistics with R

 

Peter Dalgaard.

 

Author: Dalgaard, Peter

 

Published: New York : Springer, c2008.

 

(E-book)  E-book

 

SpringerLink http://dx.doi.org/10.1007/978-0-387-79054-1 An electronic book accessible through the World Wide Web; click for information

UF ONLINE See Link to Connect

 



Course Notes and Materials - APPLIED STATISTICAL METHODS

Solutions to Problems in Course Notes

Running Programs in R

R.bat file (Save this to your C:\sta6167 directory)

Introduction to R (Work in Progress)

Running R on Windows and Macs (Source: Stanford University Social Science Data and Software)

Downloading RStudio (Very helpful platform for Running R and managing Plots)     http://www.rstudio.com/ide/download/

t, Chi Square, F Distributions (Upper .05 Tail Probabilities)

Combined Studentized Range and Bonferroni t-table



Multiple Linear Regression

Multiple Linear Regression Slides (PPT)

Multiple Linear Regression Slides (PDF)

Multiple Regressions Slides with White Background  (PDF)

Linear Regression Notes         Update (2/3/2015)

Influence Diagnostics Notes

Texas January Mean Temperature (n=369)  EXCEL          R Program      EXCEL (2 Models)

Wine Price and Ratings - Complete/Reduced Models     PDF

Mortgage Yield by SMSA                Data          Description             R Program

Antioxidant Levels and Activity in Lager Beers                 .csv          .r       

Egyptian Cotton EXCEL Spreadsheet        R Program          Data     Description

Ice Cream Sensory Evaluations                     EXCEL             Data           Description

Yarn Count and Output for ealy 20th Century New England Textile Mills      Data            Description

Model Building - Cruise Ship Data Case Study          R Program        R Text Output     SAS Program       SAS Output (HTML)    SAS Output (PDF)       Data      Description

Cruise Ship Model Building (Updated)             R Program (Updated)

Influence Measures - Muscle Data Analysis Case Study         Dataset      Description   

SAS Program     SAS Output      R Program     R Output

Wine Sales and Population (EXCEL)

LPGA 2008 Case Study            Dataset     Description       R Program           R Text Output      R Graphics Output           SAS Program    SAS pdf Output    SAS Text Output (BP Test)

Lager Aroma Worksheet            Data        Description             R Program         R Output

Simple Linear Regression - Graphing and Testing Model Assumptions - NBA Players Weights and Heights                EXCEL        R Program

Box-Cox Tranformation (Based on Full LPGA Data)

R Program     R Text Output     R Graphics Output    
SAS Program     SAS Text Output     SAS Graphics Output

Salmon Generalized Least Squares Analysis (Autocorrelated Errors)    Data    Description

R Program        R Output        SAS Program      SAS Output

Shot Putt - Power Clean Polynomial Regression     EXCEL

Response Surface Model - Tilapia Hematology Parameters affected by Temperature and Dietary Protein     Data    Description

SAS Program       SAS Output         R Program    R Text Output     R Graphics Output

Determination of Age of Old Carpets by Chemical Levels      Data (.csv)       Description             EXCEL Spreadsheet

Texas Weather Case Study (Smaller Dataset)

Texas Weather Excel Spreadsheet

Texas Weather All Possible Regressions Worksheet

Texas weather Spreadsheet (Larger Dataset)

"Technical" Regression Notes With Lack-of-Fit Test at End (pdf)

NASCAR Top Qualifying Speed EXCEL Spreadsheet

NASCAR Top Qualifying Speed Worksheet

Top Qualifying Speed    Data   Description    SAS Program       SAS Output       R Program      R Text Output     R Graphics Output 

SPSS Output for January 26, 2012 Lecture 

Atlanta School Cost per Pupil Data  (EXCEL)

Argentine Wheat Yield versus Temperature and Rainfall 1890-1919   (EXCEL)


Experimental Design and the Analysis of Variance

Experimental Design Slides (PPT)
         (PDF)        white background (PPT)

Menu/Calorie 1-Way ANOVA  EXCEL Analysis 1          Analysis 2

Drumstick Weight EXCEL Example       R Program

1-Way ANOVA - Innoculating Amoebae (PPT)      

Dataset     Description     

SAS Program      SAS Output    

R Program        R Output     R Program for Bonferroni CIs     R Output for Bonferroni CIs

1927 Yankees EXCEL Spreadsheet              Military Fabrics EXCEL Spreadsheet

Power Calculations for 1-Way ANOVA in R          NHL/NBA/EPL BMI Power Example

Randomized Block Design - Caffeine and Endurance (PPT)      Dataset     Description    

SAS Program         SAS Output   

R Program     R Output       
R Program for Bonferroni CIs     R Output for Bonferroni CIs

Chopstick Efficiency       Worksheet      EXCEL Spreadsheet     Data     Description


Latin Square Design - Product Sales by Shelf Space for 4 Categories (Tang = Category 3)

Worksheet    Data    Description     EXCEL Spreadsheet


SAS Program       SAS Output

R Program           R Output

Multiple Latin Squares - Map Distance Experiment

Worksheet         EXCEL Spreadsheet

R Program for Power Calculation for CRD

Scans of Overhead Calculations 2/21/2017

Scans of Overhead Note 2/23/2017

Halo Effect 2-Way ANOVA PPT                    EXCEL         R Program

2-Way ANOVA - Lacrosse Helmets  (PPT)      Dataset         Description       

SAS Program       SAS Output     R Program        R Output

E-Reader Spreadsheet                Breathalyzer Spreadsheet         Expected Mean Squares

3- Way ANOVA    Poker Skill R Program         Text Output             Graphics Output               Data                 Description

Unbalanced 2-Way ANOVA  Deflection of Karate Boards    R Program     R  Output    SAS Program    SAS Output

Hops 1-Way Random Effects Example - EXCEL

Pro Bowler Data (2006) - 2-Way Random Effects Model

Women's Bowling Analysis - 2-Way Mixed Effects Model    Data    Description    SAS Program    SAS Output     R Program     R Output

Scans of Overhead Notes 3/14/2017

Scans of Overhead Notes 3/16/2017

Nested Design - Water Levels by Swamp Size  (PPT)    Dataset
     Description    

SAS Program       SAS Output     R Program       R Output

Nested Design - Semiconductor           
 Data      Description        EXCEL

Scans of Overhead Notes 3/23/2017

Split-Plot Experiment - Wool Shrinkage by Treatment and Dry Cycle (PPT)     Dataset      Description    

SAS Program    SAS Output
    R Program     R Output

Repeated Measures Design - Rogaine Study in Women (PPT)       Dataset      Description    

SAS Program    SAS Output    R Program        R Output

Repeated Measures - Per Capita Income by Region - EXCEL Spreadsheet

Repeated Measures ANOVA - Zylkenene for Cats with Anxiety       EXCEL Spreadsheet     Univariate   Data   Description    Multivariate       Data        Description
SAS   Program    Output       R   Program   Output 

Winter Wheat Data      SAS Program      SAS Output     R Program      R Output       EXCEL File

Breathalyzer     Data     Description      SAS Program         SAS Output    

Scans of Overhead Notes 4/4/2017


Analysis of Covariance


Analysis of Covariance Slides (PPT)      (PDF)       white background (PPT)

Body Length and Head Length for Trout from 2 Lakes (PPT)      Dataset      Description    SAS Program      SAS Output    R Program         R Output

Trombone Dataset    Description     SAS Program   
   SAS Output      R Program           R Output           EXCEL Spreadsheet      Completed Sheet


Generalized Linear Models

Introduction to Discrete Probability Distributions (PPT)

Odds Ratios and Relative Risks - John Snow Cholera Data  (PPT)

Introduction to Generalized Linear Models  (PPT)

Scans of Overhead Notes 4/11/2017

Logistic Regression - NFL Field Goal Attempts (2003)

Ski Head Injury Table 1     Table 2

Poisson Distribution - English Premier League Soccer Scores (PPT)

Likelihood Ratio, Wald, and Lagrange Multiplier Tests - European Premier League Goals 2004 Season

Motorcycle/ED Worksheet      R Program    R Output  R Output 2    R Graph     SAS Program   SAS Output   SAS Graph

Lobster Survival in Tether Experiment (PPT)      R Program

Webworm Larvae Dataset     Description     SAS Program       SAS Output     R Program         R Output

Logistic Regression - Pre-Challenger O-Ring Failure and Temperature  (PPT)
     Dataset     Description     SAS Program      SAS Output      R Program      R Output

Herbicide Picloram Dataset     Description    SAS Program       SAS Output      R Program        R Output

Donner Party Data
     Description    SAS Program       SAS Output     R Program               R Output

Diesel Train Engine Diffusion Plots  (EXCEL)

Poisson Regression - Caution Flags at NASCAR Races (PPT)    Data    Description    SAS Program     SAS Output    R Program         R Output

West Nile Virus in South Carolina Data
      Description     SAS Program       SAS Output      R Code      R Output

Apprentice Worksheet      SAS Program      SAS Output

Tree Sex Plots - Project 4 (EXCEL)

 Poisson Regression with Rates Friday the 13th and Deaths in Finland                  Friday the 13th and Deaths in Finland  SAS Output


Nonlinear Regression

Logistic and Nonlinear Regression Models  (PPT)

Cobb-Douglas Production Function Case Study   Data    Description

Orlistat Fat Absorption Case Study    Data     Description      SAS Program      SAS Output      R Program          R Output

Fertilizer Yield Data     Description     SAS Program      SAS Output     R Program      R Output      Fitted Values (EXCEL)

Distilled Spirits Worksheet    EXCEL File     Data     Description       SAS Program      SAS Output     R Program      R Output

Kentucky Derby Winning Times    Data (.csv)    R Program

Destroyer_Graph  (EXCEL)

Survival Analysis

Introduction to Survival Analysis (PPT)

Fly Survival by Treatment Case Study     Data    Description    SAS Program     SAS Output     R Program    R Output

Male & Female Survival Curves - Rock n Roll Marathon Completion Times, Washington, DC 2015  (EXCEL)

Datasets/Programs From Tuesday April 8, 2008 Lecture

U.S. Cotton Production Efficiency 1834-1860  Data
   Description

Union Army Strength/Casualties at Gettysburg  Data
    Description   R Program -- Division 1 as Reference    R Output   SAS Program -- Division 9 as Reference       SAS Output

Ginkgo/Acetazolamide for Acute Mountain Sickness in Himalayan Trekkers  Data
  Description    R Program    R Output    SAS Program        SAS Output



Projects

Project 1 - Due 2/1/18

Ballistic Dataset

Ballistic Data Description

R Code for Project1, Part 2

SAS Code for Project1, Part 2

Stature Dataset         Description            R Program         SAS Program

Evaporation Dataset             Description          R Program     SAS Program




Project 2 - Due 3/2/2017

  

Mollusc Dataset         EXCEL

Mollusc Description          R Program   R Program for Bonferroni CIs    SAS Program

Problem 6.37 Dataset      EXCEL

Problem 6.38 Dataset      EXCEL

Suntan Lotion Dataset     EXCEL

Suntan Lotion Description

Hairiness of Fabric of Various Twist Levels, Test Speeds, and Bobbins                Data                Description      R Program



Project 3 - Due 4/6/17

Brand Caffeine Data (Brand, Restaurant, Caffeine Content)

Brand Caffeine data  (EXCEL format)       Partial Analysis (EXCEL)

CO2 Uptake Dataset

CO2 Uptake Description

Wool Fiber Dataset

Wool Fiber Descrption




Project 4      Solutions

Project 4 Worksheet

Mice Radiation Data

Mice Radiation Description      R Program

British Rail Data     .csv      .dat         Vars are (year, year.1967, privatize, kilometers (millions), fatalities)    R Program    SAS Program

Destroyer Data             Description              R Program       SAS Program