STA 6167 - Statistical Methods in Research II

Instructor: Larry Winner
Office Hours:
M 1:30-3:00  Tu 11:15-12:30  W 12:00-1:15  Th 7:45-8:45
E-mail: winner@stat.ufl.edu
Phone: (352) 273-2995

TA: Michael Kim    Office Hours: Tu 4:00-6:00, F 11:45-1:45       E-mail: michaelkkim@ufl.edu     Office: FLO 117A

Syllabus (Spring 2020)
PDF

Course Notes:   Available at Target Copy      PDF       R Programs    Ch. 1    Ch. 2    Ch. 3    Ch. 4    Ch. 5    Ch. 6

Linear Regression Problems        WORD      PDF      Solutions     Part A     Part B     Part C     Part D     Part E

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

Exam 1 Topics - Fall 2019

Exam 1 Solutions - Spring 2016

Old Exam 1 (Semesters Vary on Topics)

Spring 2008Spring 2011Exam 2 Topics - Spring 2019      PDF

Exam 2 Solutions - Spring 2015

Old Exam 2 (Semesters Vary on Topics)

Spring 2008             Spring 2009            Spring 2011             Spring 2012Fall 2014

Exam 3 Topics - Fall 2018

Old Exam 3 (Semesters Vary on Topics)

Spring 2011       Spring 2012        Spring 2013              Spring 2014               Spring 2015         Spring 2016        Spring 2017 (Cannot Find)

 Peter Dalgaard. Author: Dalgaard, Peter Published: New York : Springer, c2008. 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

Old 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)

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

Combined Studentized Range and Bonferroni t-table

Linear Regression

Simple Linear Regression Slides (PPT)

Multiple Linear Regression Slides (PPT)

Multiple Linear Regression Slides (PDF)

Multiple Regressions Slides with White Background  (PDF)

Regression Examples - R Program

Tombstone Weathering    EXCEL

Regression/Correlation for Heights/Weights of NHL Players      R Program         Data

Bollywood Movie Revenues and Budgets  - Diagnostics      R Program

Least Squares Estimation, Tests Regarding Regression Coefficients

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

Wine Price and Ratings - Complete/Reduced Models     PDF

Texas Weather Case Study (Smaller Dataset)          Texas Weather

Model Diagnostics

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

Box-Cox Tranformation (Based on Full LPGA Data)

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

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

Salmon Generalized Least Squares Analysis (Autocorrelated Errors)    Data    Description

R Program        R Output        SAS Program      SAS Output

Influence Diagnostics Notes

Residuals and Influence Measures (PPT)       Apparent R Guidlelines for Identifying Influential Observations

US State Wine Consumption and Population     Data (.csv)        R Program        PDF

Muscle Data Analysis Case Study         Dataset      Description    Apparent R Guidlelines for Identifying Influential Observations

SAS Program     SAS Output      R Program     R Output

Wine Sales and Population (EXCEL)

Bootstrap Example
Antioxidant Levels and Activity in Lager Beers                 .csv          .r

Model Building

Mortgage Yield by SMSA                Data          Description             R Program

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

LPGA 2008 Case Study            Dataset     Description       Worksheet       R Program for Worksheet

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

Texas Weather All Possible Regressions Worksheet       Excel Spreadsheet

LPGA 2008 Case Study            Dataset     Description       Worksheet       R Program for Worksheet

R Program           R Text Output      R Graphics Output           SAS Program    SAS pdf Output    SAS Text Output (BP Test)

Models with Categorical Predictors (Dummy Variables)

Egyptian Cotton EXCEL Spreadsheet        R Program          Data     Description

Cotton Mill Productivity        EXCEL

Polynomial Regression and Response Surface Models

Ice Cream Sensory Evaluations                     EXCEL             Data (.csv)           Description        R Program

Shot Putt - Power Clean Polynomial Regression     EXCEL

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

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

NASCAR Top Qualifying Speed EXCEL Spreadsheet               NASCAR Top Qualifying Speed Worksheet

Top Qualifying Speed    Data   Description    SAS Program       SAS Text Output   SAS Graphics Output    R Program      R Text Output     R Graphics Output
Case Study (ppt)

Experimental Design and the Analysis of Variance

Experimental Design Slides (PPT)
(PDF)      Updated 3/15/2018

1-Way ANOVA / Completely Randomized Design

Chicken Thigh Weight Example  WORD    EXCEL     Data .csv     R Program

Menu/Calorie 1-Way ANOVA  EXCEL Analysis 1

Drumstick Weight EXCEL Example

Innoculating Amoebae (PPT)
Dataset     Description

SAS Program      SAS Output

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

Slip Resistance Among 23 Brands of Boots   (EXCEL)

American Apparel Reputation Experiment       Data       Description           EXCEL

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      R ProgramR Program for Bonferroni CIs     R Output for Bonferroni CIs

Cheese Experiment (EXCEL)        Data (.csv)        R Program

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

R Program           R Output

Multiple Latin Squares - Map Distance Experiment       Worksheet         EXCEL Spreadsheet

Factorial Designs

Fixed Effects Models

Halo Effect 2-Way ANOVA PPT                    EXCEL         R Program

Bevarage/Chocolate Pairing Experiment            EXCEL

2-Way ANOVA - Lacrosse Helmets  (PPT)      Dataset         Description         SAS Program       SAS Output     R Program        R Output

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

Celebrity Endorser  and Attention by Product          R Program
Data (.csv)          Description

NBA Player Games 2016/17 Regular Season 1-Way Random Effects Model           R Program          Data (.csv)

Random and Mixed Effects Models

Hops 1-Way Random Effects Example - EXCEL

Pro Bowler Data (2006) - 2-Way Random Effects Model - EXCEL             R Program      Data (.csv)

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

Women's NBA Efficiency Simulation 2-Way Mixed Effects Model      R Program

Nested Designs
Description     SAS Program       SAS Output     R Program       R Output

Nested Design - Semiconductor
Data      Description        EXCEL        R Program

Split-Plot Designs

R Program
Repeated Measures Designs

Multivariate       Data        Description

Random Coefficient Regression Models

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

Breathalyzer     Data     Description      SAS Program         SAS Output       R Program     R Output

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)

Common Families of Probability Distributions - Examples  (PPT)

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

Introduction to Generalized Linear Models  (PPT)          Color (Updated 4/12/2018 - WIP)

Logistic Regression

NBA 2014/15 - Logistic Regression
EXCEL     R Program

T-Shirt Color Effect on Tipping             R Program      EXCEL

Logistic Regression - NFL Field Goal Attempts (2003)

Ski Head Injury Table 1     Table 2

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

Lobster Survival in Tether Experiment (PPT)      R Program

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

Donner Party Data     R Program

Diesel Train Engine Diffusion Plots  (EXCEL)

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

Poisson Regression

Poisson Distribution - English Premier League Soccer Scores (PPT)

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

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

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)

Friday the 13th and Deaths in Finland  SAS Output

Nonlinear Regression

Survival Analysis

Introduction to Survival Analysis (PPT)

Fly Survival by Treatment Case Study     Data    Description    SAS Program     SAS Output     R Program    R Output
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 9/19/19      PDF

Ballistic Dataset

Ballistic Data Description

R Code for Project1, Part 2

SAS Code for Project1, Part 2

Stature

Part 1:
Biodiesel from Waste Canola Oil                  Data             Description     R Program to Read data and Assign Trts for Last Part

Part 2:  Temperature and Extraction Pressure Effects on Foam Index of Espresso Coffee          Data (.csv)          Description

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

Part 4:
Product Type and Endorser Type on Female Consumers Attention                                 Data (.csv)          Description      R Program Base

Part 5:
Repeatbility and Reproducibility in Steel Production Measurements           Data (.csv)              Description

Project 3 - Due 11/12/19  (Do not do Part 1)  Updated Notation for Analysis of Covariance

Repeatbility and Reproducibility in Steel Production Measurements           Data (.csv)              Description
.csv     Description

Wool Fiber Dataset       .csv   Descrption

Project 4 - We will Complete this in Class Thursday 4/17

Project 4 Worksheet