Jian WANG, PhD. Room A115 College of Fishery and Life Science Shanghai Ocean University
|
|
- Christiana McGee
- 5 years ago
- Views:
Transcription
1 Jian WANG, PhD Room A115 College of Fishery and Life Science Shanghai Ocean University
2 Contents 1. Introduction to R 2. Data sets 3. Introductory Statistical Principles 4. Sampling and experimental design with R 5. Graphical data presentation 6. Simple hypothesis testing 7. Introduction to Linear models 8. Correlation and simple linear regression 9. Single factor classification (ANOVA) 10. Nested ANOVA 11. Factorial ANOVA 12. Simple Frequency Analysis
3 Factorial ANOVA A two-way ANOVA design Factor A & Factor B are independent
4 Factorial ANOVA temperature (high vs low) fertilizer (w/ vs w/o) A two-way ANOVA design Factor A & Factor B are independent
5 Null hypotheses associated with each of the main effects : Factor A Factor B A:B Interaction
6
7 Null hypotheses associated with each of the main effects : Factor A Factor B A:B Interaction
8 Linear models Model 1 - fixed effects H0(A): µ1 = µ2 = = µi = µ H0(B): µ1 = µ2 = = µi = µ H0(AB): µij = µi + µj µ Null hypotheses of three models Model 2 - random effects H0(A): σα 2 = 0 H0(B): σβ 2 = 0 H0(AB): σαβ 2 = 0 Model 3 - mixed effects H0(A): µ1 = µ2 = = µi = µ H0(B): σβ 2 = 0 H0(AB): σαβ 2 = 0 (Fixed) (Random) (Random)
9
10 Two factor factorial designs
11
12 Small sample size Yates continuity correction (df<=1) 2 c k ( Oi Ei 0.5) E i 1 i 2
13
14 Example A: Adult density and season on egg mass production by intertidal limpets. #Step 1 - Import data set > quinn <- read.table("quinn.csv", header = T, sep = ",") #Step 2 Redefine class of the density vector (variable) as factor. > class(quinn$density) > quinn$density <- factor(quinn$density) > class(quinn$density)
15 Example A: Adult density and season on egg mass production by intertidal limpets. #Step 3&4 - Assess assumptions of normality and homogeneity of variance > boxplot(eggs ~ DENSITY, quinn) > boxplot(eggs ~ SEASON, quinn) > boxplot(eggs ~ DENSITY * SEASON, quinn) Normal distribution & equal variance
16 Example A: Adult density and season on egg mass production by intertidal limpets. #Step 5 - Determine whether or not the design is missing any factor combinations (cells) or is unbalanced > replications(eggs ~ DENSITY * SEASON, quinn) each Density: each season: each combination: 6 replicates 12 replicates 3 replicates Balanced
17 Example A: Adult density and season on egg mass production by intertidal limpets. #Step 6- Define polynomial contrasts >contrasts(quinn$density) <- contr.poly(4, scores = c(8, 15, 30,45)) Step 7 (Key) - Fit the factorial linear model ## Option 1 > quinn.aov <- aov(eggs ~ DENSITY + SEASON + DENSITY:SEASON, data = quinn) ## Option 2- common > quinn.aov <- aov(eggs ~ DENSITY * SEASON, data = quinn)
18 Example A: Adult density and season on egg mass production by intertidal limpets. #Step 8 - Examine the fitted model diagnostics > plot(quinn.aov, which = 1) Change the No. Figure out the difference
19 Example A: Adult density and season on egg mass production by intertidal limpets. #Step 8 - Examine the fitted model diagnostics > plot(quinn.aov, which = 2) Change the No. Figure out the difference
20 Example A: Adult density and season on egg mass production by intertidal limpets. #Step 9 - Examine the balanced model I ANOVA table, including the set of defined planned polynomial contrasts. >summary(quinn.aov) Impacts to eggs were found for density and season in a linear model But no evidence of an interaction between density and season
21 Example A: Adult density and season on egg mass production by intertidal limpets. #Step 9 - Examine the balanced model I ANOVA table, (linear & planned polynomial contrasts) #option 2 >summary(quinn.aov, split = list(density = list(linear = 1, Quadratic = 2))) Linear model is better appropriate Impacts to eggs were found for density and season in a linear model But no evidence of an interaction between density and season
22 Example A: Adult density and season on egg mass production by intertidal limpets. #Step 10 - Summarize the trends in a interaction plot ##option 1 >with(quinn, interaction.plot(density, SEASON, EGGS,type="b")) Conclusions-No evidence of an interaction between density and season
23 Example A: Adult density and season on egg mass production by intertidal limpets. #Step 11 - Summarize the trends in a interaction plot ##option 2 (try make the following work) >library(gmodels) >quinn.means <- tapply(quinn$eggs, list(quinn$density,quinn$season), mean) >quinn.se <- tapply(quinn$eggs, list(quinn$density, quinn$season),function(x) ci(x)[4]) >quinn$dens <- as.numeric(as.character(quinn$density)) >plot(eggs ~ DENS, quinn, type = "n", axes = F, xlab = "",ylab = "") >points(quinn.means[, 1] ~ unique(quinn$dens), pch = 16,type = "b", lwd = 2) >arrows(unique(quinn$dens), quinn.means[, 1] - quinn.se[, 1],unique(quinn$DENS), quinn.means[, 1] + quinn.se[, 1],code = 3, angle = 90, len = 0.1) >points(quinn.means[, 2] ~ unique(quinn$dens), pch = 16, type = "b", lwd = 2, lty = 2) >arrows(unique(quinn$dens), quinn.means[, 2] - quinn.se[, 2], unique(quinn$dens), quinn.means[, 2] + quinn.se[, 2], code = 3, angle = 90, len = 0.1) >axis(1, cex.axis = 0.8) >mtext(text = "Adult Density", 1, line = 3) >axis(2, cex.axis = 0.8, las = 1) >mtext(text = "Egg production", side = 2, line = 3) >legend("topright", leg = c("winter-spring", "Summer-autumn"), lwd = 2, lty = c(1, 2), bty = "n") >box(bty = "l")
24 Example B: Adult density and season on egg mass production by intertidal limpets (another dataset). #Step Import data set > quinn1 <- read.table("quinn1.csv", header = T, sep = ",") > quinn1$density <- factor(quinn1$density) > class(quinn1$density) >boxplot(eggs ~ DENSITY * SEASON, quinn1) >replications(eggs ~ DENSITY * SEASON, quinn1) > contrasts(quinn1$density) <- cbind(c(1, -0.5, -0.5)) Normality, Balanced #Step Fit the factorial linear mode > quinn1.aov <- aov(eggs ~ DENSITY * SEASON, data = quinn1) > plot(quinn1.aov, which = 1)
25 Example B: Adult density and season on egg mass production by intertidal limpets (another dataset). #Step 9 - Examine the model #option - 1 > summary(quinn1.aov) ## simple model
26 Example B: Adult density and season on egg mass production by intertidal limpets (another dataset). interaction #Step 9 - Examine the model (linear & polynomial) #option -2 >summary(quinn1.aov, split = list(density = list(linear = 1, Quadratic = 2))) Linear model is better appropriate Strong evidence of a interaction between density and season
27 Example B: Adult density and season on egg mass production by intertidal limpets (another dataset). # Step 11 - Summarize the trends in a interaction plot >library(gmodels) >quinn1.means <- tapply(quinn1$eggs, list(quinn1$density,quinn1$season), mean) >quinn1.se <- tapply(quinn1$eggs, list(quinn1$density, quinn1$season), function(x) ci(x)[4]) >quinn1$dens <- as.numeric(as.character(quinn1$density)) >plot(eggs ~ DENS, quinn1, type = "n", axes = F, xlab = "", ylab = "") >points(quinn1.means[, 1] ~ unique(quinn1$dens), pch = 16, type = "b", lwd = 2) >arrows(unique(quinn1$dens), quinn1.means[, 1] - quinn1.se[, 1], unique(quinn1$dens), quinn1.means[, 1] + quinn1.se[, 1], code = 3, angle = 90, len = 0.1) >points(quinn1.means[, 2] ~ unique(quinn1$dens), pch = 16, type = "b", lwd = 2, lty = 2) >arrows(unique(quinn1$dens), quinn1.means[, 2] - quinn1.se[, 2], unique(quinn1$dens), quinn1.means[, 2] + quinn1.se[, 2], code = 3, angle = 90, len = 0.1) >axis(1, cex.axis = 0.8) >mtext(text = "Adult Density", 1, line = 3) >axis(2, cex.axis = 0.8, las = 1) >mtext(text = "Egg production", side = 2, line = 3) >legend("topright", leg = c("winter-spring", "Summer-autumn"), lwd = 2, lty = c(1, 2), bty = "n") >box(bty = "l")
Jian WANG, PhD. Room A115 College of Fishery and Life Science Shanghai Ocean University
Jian WANG, PhD j_wang@shou.edu.cn Room A115 College of Fishery and Life Science Shanghai Ocean University Useful Links Slides: http://sihua.us/biostatistics.htm Datasets: http://users.monash.edu.au/~murray/bdar/index.html
More informationIntroduction to Factorial ANOVA
Introduction to Factorial ANOVA Read from the bottom up!!!! Two factor factorial ANOVA Two factors ( predictor variables) Factor A (with p groups or levels) Factor B (with q groups or levels) Crossed design:
More informationExperimental Design and Data Analysis for Biologists
Experimental Design and Data Analysis for Biologists Gerry P. Quinn Monash University Michael J. Keough University of Melbourne CAMBRIDGE UNIVERSITY PRESS Contents Preface page xv I I Introduction 1 1.1
More informationTHE PRINCIPLES AND PRACTICE OF STATISTICS IN BIOLOGICAL RESEARCH. Robert R. SOKAL and F. James ROHLF. State University of New York at Stony Brook
BIOMETRY THE PRINCIPLES AND PRACTICE OF STATISTICS IN BIOLOGICAL RESEARCH THIRD E D I T I O N Robert R. SOKAL and F. James ROHLF State University of New York at Stony Brook W. H. FREEMAN AND COMPANY New
More informationBIOL 458 BIOMETRY Lab 9 - Correlation and Bivariate Regression
BIOL 458 BIOMETRY Lab 9 - Correlation and Bivariate Regression Introduction to Correlation and Regression The procedures discussed in the previous ANOVA labs are most useful in cases where we are interested
More informationMultiple Predictor Variables: ANOVA
Multiple Predictor Variables: ANOVA 1/32 Linear Models with Many Predictors Multiple regression has many predictors BUT - so did 1-way ANOVA if treatments had 2 levels What if there are multiple treatment
More informationTopic 9: Factorial treatment structures. Introduction. Terminology. Example of a 2x2 factorial
Topic 9: Factorial treatment structures Introduction A common objective in research is to investigate the effect of each of a number of variables, or factors, on some response variable. In earlier times,
More informationDESIGN AND ANALYSIS OF EXPERIMENTS Third Edition
DESIGN AND ANALYSIS OF EXPERIMENTS Third Edition Douglas C. Montgomery ARIZONA STATE UNIVERSITY JOHN WILEY & SONS New York Chichester Brisbane Toronto Singapore Contents Chapter 1. Introduction 1-1 What
More informationDifference in two or more average scores in different groups
ANOVAs Analysis of Variance (ANOVA) Difference in two or more average scores in different groups Each participant tested once Same outcome tested in each group Simplest is one-way ANOVA (one variable as
More informationStats fest Analysis of variance. Single factor ANOVA. Aims. Single factor ANOVA. Data
1 Stats fest 2007 Analysis of variance murray.logan@sci.monash.edu.au Single factor ANOVA 2 Aims Description Investigate differences between population means Explanation How much of the variation in response
More informationPractical Statistics for the Analytical Scientist Table of Contents
Practical Statistics for the Analytical Scientist Table of Contents Chapter 1 Introduction - Choosing the Correct Statistics 1.1 Introduction 1.2 Choosing the Right Statistical Procedures 1.2.1 Planning
More informationChapter 5 Exercises 1
Chapter 5 Exercises 1 Data Analysis & Graphics Using R, 2 nd edn Solutions to Exercises (December 13, 2006) Preliminaries > library(daag) Exercise 2 For each of the data sets elastic1 and elastic2, determine
More informationDispersion of a flow that passes a dynamic structure. 5*t 5*t. Time
> # PROJECT > # ======= > # Principles of Modelling and Simulation in Epidemiology > # Laboratory exercise 1 > # > # DESCRIPTION > # =========== > # Suggestions of solutions > > # THOR AND DATE > # Andreas
More informationConditional Effects Contrasts of interest main effects" for factor 1: μ i: μ:: i = 1; ; : : : ; a μ i: μ k: i = k main effects" for factor : μ :j μ::
8. Two-way crossed classifications Example 8.1 Days to germination of three varieties of carrot seed grown in two types of potting soil. Soil Variety Type 1 1 Y 111 = Y 11 = 1 Y 11 = 1 Y 11 = 10 Y 1 =
More informationCHAPTER 17 CHI-SQUARE AND OTHER NONPARAMETRIC TESTS FROM: PAGANO, R. R. (2007)
FROM: PAGANO, R. R. (007) I. INTRODUCTION: DISTINCTION BETWEEN PARAMETRIC AND NON-PARAMETRIC TESTS Statistical inference tests are often classified as to whether they are parametric or nonparametric Parameter
More informationMetric Predicted Variable on Two Groups
Metric Predicted Variable on Two Groups Tim Frasier Copyright Tim Frasier This work is licensed under the Creative Commons Attribution 4.0 International license. Click here for more information. Goals
More informationThe Statistical Sleuth in R: Chapter 13
The Statistical Sleuth in R: Chapter 13 Linda Loi Kate Aloisio Ruobing Zhang Nicholas J. Horton June 15, 2016 Contents 1 Introduction 1 2 Intertidal seaweed grazers 2 2.1 Data coding, summary statistics
More informationPLS205 Lab 2 January 15, Laboratory Topic 3
PLS205 Lab 2 January 15, 2015 Laboratory Topic 3 General format of ANOVA in SAS Testing the assumption of homogeneity of variances by "/hovtest" by ANOVA of squared residuals Proc Power for ANOVA One-way
More informationAllow the investigation of the effects of a number of variables on some response
Lecture 12 Topic 9: Factorial treatment structures (Part I) Factorial experiments Allow the investigation of the effects of a number of variables on some response in a highly efficient manner, and in a
More informationPrediction problems 3: Validation and Model Checking
Prediction problems 3: Validation and Model Checking Data Science 101 Team May 17, 2018 Outline Validation Why is it important How should we do it? Model checking Checking whether your model is a good
More informationA Handbook of Statistical Analyses Using R. Brian S. Everitt and Torsten Hothorn
A Handbook of Statistical Analyses Using R Brian S. Everitt and Torsten Hothorn CHAPTER 6 Logistic Regression and Generalised Linear Models: Blood Screening, Women s Role in Society, and Colonic Polyps
More informationOne-way ANOVA. Experimental Design. One-way ANOVA
Method to compare more than two samples simultaneously without inflating Type I Error rate (α) Simplicity Few assumptions Adequate for highly complex hypothesis testing 09/30/12 1 Outline of this class
More informationWeek 7 Multiple factors. Ch , Some miscellaneous parts
Week 7 Multiple factors Ch. 18-19, Some miscellaneous parts Multiple Factors Most experiments will involve multiple factors, some of which will be nuisance variables Dealing with these factors requires
More informationThe Statistical Sleuth in R: Chapter 13
The Statistical Sleuth in R: Chapter 13 Kate Aloisio Ruobing Zhang Nicholas J. Horton June 15, 2016 Contents 1 Introduction 1 2 Intertidal seaweed grazers 2 2.1 Data coding, summary statistics and graphical
More informationTopic 4: Orthogonal Contrasts
Topic 4: Orthogonal Contrasts ANOVA is a useful and powerful tool to compare several treatment means. In comparing t treatments, the null hypothesis tested is that the t true means are all equal (H 0 :
More informationBIOMETRICS INFORMATION
BIOMETRICS INFORMATION Index of Pamphlet Topics (for pamphlets #1 to #60) as of December, 2000 Adjusted R-square ANCOVA: Analysis of Covariance 13: ANCOVA: Analysis of Covariance ANOVA: Analysis of Variance
More informationONE FACTOR COMPLETELY RANDOMIZED ANOVA
MALLOY PSYCH 3000 1-ANOVA PAGE 1 ONE FACTOR COMPLETELY RANDOMIZED ANOVA Sampling Distribution of F F is a test statistic [ ][ ][ ][ ] Test Statistic: F = MALLOY PSYCH 3000 1-ANOVA PAGE 2 ONE WAY ANOVA
More informationWorkshop 7.4a: Single factor ANOVA
-1- Workshop 7.4a: Single factor ANOVA Murray Logan November 23, 2016 Table of contents 1 Revision 1 2 Anova Parameterization 2 3 Partitioning of variance (ANOVA) 10 4 Worked Examples 13 1. Revision 1.1.
More informationHomework 3 - Solution
STAT 526 - Spring 2011 Homework 3 - Solution Olga Vitek Each part of the problems 5 points 1. KNNL 25.17 (Note: you can choose either the restricted or the unrestricted version of the model. Please state
More informationAnalysis of Variance (ANOVA)
Analysis of Variance (ANOVA) Two types of ANOVA tests: Independent measures and Repeated measures Comparing 2 means: X 1 = 20 t - test X 2 = 30 How can we Compare 3 means?: X 1 = 20 X 2 = 30 X 3 = 35 ANOVA
More informationAnalysis of Variance and Co-variance. By Manza Ramesh
Analysis of Variance and Co-variance By Manza Ramesh Contents Analysis of Variance (ANOVA) What is ANOVA? The Basic Principle of ANOVA ANOVA Technique Setting up Analysis of Variance Table Short-cut Method
More informationDESIGNING EXPERIMENTS AND ANALYZING DATA A Model Comparison Perspective
DESIGNING EXPERIMENTS AND ANALYZING DATA A Model Comparison Perspective Second Edition Scott E. Maxwell Uniuersity of Notre Dame Harold D. Delaney Uniuersity of New Mexico J,t{,.?; LAWRENCE ERLBAUM ASSOCIATES,
More informationAnalysis of Variance. ภาว น ศ ร ประภาน ก ล คณะเศรษฐศาสตร มหาว ทยาล ยธรรมศาสตร
Analysis of Variance ภาว น ศ ร ประภาน ก ล คณะเศรษฐศาสตร มหาว ทยาล ยธรรมศาสตร pawin@econ.tu.ac.th Outline Introduction One Factor Analysis of Variance Two Factor Analysis of Variance ANCOVA MANOVA Introduction
More informationChapter 5 Exercises 1. Data Analysis & Graphics Using R Solutions to Exercises (April 24, 2004)
Chapter 5 Exercises 1 Data Analysis & Graphics Using R Solutions to Exercises (April 24, 2004) Preliminaries > library(daag) Exercise 2 The final three sentences have been reworded For each of the data
More informationSTAT 501 EXAM I NAME Spring 1999
STAT 501 EXAM I NAME Spring 1999 Instructions: You may use only your calculator and the attached tables and formula sheet. You can detach the tables and formula sheet from the rest of this exam. Show your
More informationStatistics For Economics & Business
Statistics For Economics & Business Analysis of Variance In this chapter, you learn: Learning Objectives The basic concepts of experimental design How to use one-way analysis of variance to test for differences
More informationCorrelation and simple linear regression
8 Correlation and simple linear regression Correlation and regression are techniques used to examine associations and relationships between continuous variables collected on the same set of sampling or
More informationChapter 11 - Lecture 1 Single Factor ANOVA
Chapter 11 - Lecture 1 Single Factor ANOVA April 7th, 2010 Means Variance Sum of Squares Review In Chapter 9 we have seen how to make hypothesis testing for one population mean. In Chapter 10 we have seen
More informationIntroduction to the Design and Analysis of Experiments
Introduction to the Design and Analysis of Experiments Geoffrey M. Clarke, MA,Dip.stats.,c.stat. Honorary Reader in Applied Statistics, University of Kent at Canterbury and Consultant to the Applied Statistics
More informationAddition of Center Points to a 2 k Designs Section 6-6 page 271
to a 2 k Designs Section 6-6 page 271 Based on the idea of replicating some of the runs in a factorial design 2 level designs assume linearity. If interaction terms are added to model some curvature results
More informationGeneralized Linear. Mixed Models. Methods and Applications. Modern Concepts, Walter W. Stroup. Texts in Statistical Science.
Texts in Statistical Science Generalized Linear Mixed Models Modern Concepts, Methods and Applications Walter W. Stroup CRC Press Taylor & Francis Croup Boca Raton London New York CRC Press is an imprint
More informationExplore the data. Anja Bråthen Kristoffersen
Explore the data Anja Bråthen Kristoffersen density 0.2 0.4 0.6 0.8 Probability distributions Can be either discrete or continuous (uniform, bernoulli, normal, etc) Defined by a density function, p(x)
More informationTopics in Biometry Factorial and Split-plot experiments. Clarice G. B. Demétrio
Topics in Biometry Course: Session 5 1 Topics in Biometry Factorial and Split-plot experiments based on Chris Brien s notes (University of South Australia, Adelaide), http://chris.brien.name/ee2/ Clarice
More informationWiley. Methods and Applications of Linear Models. Regression and the Analysis. of Variance. Third Edition. Ishpeming, Michigan RONALD R.
Methods and Applications of Linear Models Regression and the Analysis of Variance Third Edition RONALD R. HOCKING PenHock Statistical Consultants Ishpeming, Michigan Wiley Contents Preface to the Third
More informationChapter 8 Conclusion
1 Chapter 8 Conclusion Three questions about test scores (score) and student-teacher ratio (str): a) After controlling for differences in economic characteristics of different districts, does the effect
More informationNotes on Maxwell & Delaney
Notes on Maxwell & Delaney PSCH 710 6 Chapter 6 - Trend Analysis Previously, we discussed how to use linear contrasts, or comparisons, to test specific hypotheses about differences among means. Those discussions
More informationFactorial designs. Experiments
Chapter 5: Factorial designs Petter Mostad mostad@chalmers.se Experiments Actively making changes and observing the result, to find causal relationships. Many types of experimental plans Measuring response
More informationChap The McGraw-Hill Companies, Inc. All rights reserved.
11 pter11 Chap Analysis of Variance Overview of ANOVA Multiple Comparisons Tests for Homogeneity of Variances Two-Factor ANOVA Without Replication General Linear Model Experimental Design: An Overview
More informationLecture 5 : The Poisson Distribution
Lecture 5 : The Poisson Distribution Jonathan Marchini November 5, 2004 1 Introduction Many experimental situations occur in which we observe the counts of events within a set unit of time, area, volume,
More informationMultivariate Analysis of Ecological Data using CANOCO
Multivariate Analysis of Ecological Data using CANOCO JAN LEPS University of South Bohemia, and Czech Academy of Sciences, Czech Republic Universitats- uric! Lanttesbibiiothek Darmstadt Bibliothek Biologie
More informationOne-Way Analysis of Variance: ANOVA
One-Way Analysis of Variance: ANOVA Dr. J. Kyle Roberts Southern Methodist University Simmons School of Education and Human Development Department of Teaching and Learning Background to ANOVA Recall from
More informationRegression and Models with Multiple Factors. Ch. 17, 18
Regression and Models with Multiple Factors Ch. 17, 18 Mass 15 20 25 Scatter Plot 70 75 80 Snout-Vent Length Mass 15 20 25 Linear Regression 70 75 80 Snout-Vent Length Least-squares The method of least
More informationExplore the data. Anja Bråthen Kristoffersen Biomedical Research Group
Explore the data Anja Bråthen Kristoffersen Biomedical Research Group density 0.2 0.4 0.6 0.8 Probability distributions Can be either discrete or continuous (uniform, bernoulli, normal, etc) Defined by
More informationM A N O V A. Multivariate ANOVA. Data
M A N O V A Multivariate ANOVA V. Čekanavičius, G. Murauskas 1 Data k groups; Each respondent has m measurements; Observations are from the multivariate normal distribution. No outliers. Covariance matrices
More informationUnbalanced Data in Factorials Types I, II, III SS Part 1
Unbalanced Data in Factorials Types I, II, III SS Part 1 Chapter 10 in Oehlert STAT:5201 Week 9 - Lecture 2 1 / 14 When we perform an ANOVA, we try to quantify the amount of variability in the data accounted
More informationEPSE 592: Design & Analysis of Experiments
EPSE 592: Design & Analysis of Experiments Ed Kroc University of British Columbia ed.kroc@ubc.ca October 3 & 5, 2018 Ed Kroc (UBC) EPSE 592 October 3 & 5, 2018 1 / 41 Last Time One-way (one factor) fixed
More informationChapter 4 Multi-factor Treatment Designs with Multiple Error Terms 93
Contents Preface ix Chapter 1 Introduction 1 1.1 Types of Models That Produce Data 1 1.2 Statistical Models 2 1.3 Fixed and Random Effects 4 1.4 Mixed Models 6 1.5 Typical Studies and the Modeling Issues
More informationOne-way between-subjects ANOVA. Comparing three or more independent means
One-way between-subjects ANOVA Comparing three or more independent means Data files SpiderBG.sav Attractiveness.sav Homework: sourcesofself-esteem.sav ANOVA: A Framework Understand the basic principles
More informationCuckoo Birds. Analysis of Variance. Display of Cuckoo Bird Egg Lengths
Cuckoo Birds Analysis of Variance Bret Larget Departments of Botany and of Statistics University of Wisconsin Madison Statistics 371 29th November 2005 Cuckoo birds have a behavior in which they lay their
More informationThe One-Way Repeated-Measures ANOVA. (For Within-Subjects Designs)
The One-Way Repeated-Measures ANOVA (For Within-Subjects Designs) Logic of the Repeated-Measures ANOVA The repeated-measures ANOVA extends the analysis of variance to research situations using repeated-measures
More informationEquations in Quadratic Form
Equations in Quadratic Form MATH 101 College Algebra J. Robert Buchanan Department of Mathematics Summer 2012 Objectives In this lesson we will learn to: make substitutions that allow equations to be written
More informationCHI SQUARE ANALYSIS 8/18/2011 HYPOTHESIS TESTS SO FAR PARAMETRIC VS. NON-PARAMETRIC
CHI SQUARE ANALYSIS I N T R O D U C T I O N T O N O N - P A R A M E T R I C A N A L Y S E S HYPOTHESIS TESTS SO FAR We ve discussed One-sample t-test Dependent Sample t-tests Independent Samples t-tests
More informationIntroduction to Analysis of Variance (ANOVA) Part 2
Introduction to Analysis of Variance (ANOVA) Part 2 Single factor Serpulid recruitment and biofilms Effect of biofilm type on number of recruiting serpulid worms in Port Phillip Bay Response variable:
More informationANOVA approach. Investigates interaction terms. Disadvantages: Requires careful sampling design with replication
ANOVA approach Advantages: Ideal for evaluating hypotheses Ideal to quantify effect size (e.g., differences between groups) Address multiple factors at once Investigates interaction terms Disadvantages:
More informationBio 183 Statistics in Research. B. Cleaning up your data: getting rid of problems
Bio 183 Statistics in Research A. Research designs B. Cleaning up your data: getting rid of problems C. Basic descriptive statistics D. What test should you use? What is science?: Science is a way of knowing.(anon.?)
More informationOnline Appendix to Mixed Modeling for Irregularly Sampled and Correlated Functional Data: Speech Science Spplications
Online Appendix to Mixed Modeling for Irregularly Sampled and Correlated Functional Data: Speech Science Spplications Marianne Pouplier, Jona Cederbaum, Philip Hoole, Stefania Marin, Sonja Greven R Syntax
More informationAnalysis of Variance
Statistical Techniques II EXST7015 Analysis of Variance 15a_ANOVA_Introduction 1 Design The simplest model for Analysis of Variance (ANOVA) is the CRD, the Completely Randomized Design This model is also
More informationIntroductory Statistics with R: Linear models for continuous response (Chapters 6, 7, and 11)
Introductory Statistics with R: Linear models for continuous response (Chapters 6, 7, and 11) Statistical Packages STAT 1301 / 2300, Fall 2014 Sungkyu Jung Department of Statistics University of Pittsburgh
More informationMcGill University. Faculty of Science MATH 204 PRINCIPLES OF STATISTICS II. Final Examination
McGill University Faculty of Science MATH 204 PRINCIPLES OF STATISTICS II Final Examination Date: 20th April 2009 Time: 9am-2pm Examiner: Dr David A Stephens Associate Examiner: Dr Russell Steele Please
More informationDesign of Experiments. Factorial experiments require a lot of resources
Design of Experiments Factorial experiments require a lot of resources Sometimes real-world practical considerations require us to design experiments in specialized ways. The design of an experiment is
More informationR-companion to: Estimation of the Thurstonian model for the 2-AC protocol
R-companion to: Estimation of the Thurstonian model for the 2-AC protocol Rune Haubo Bojesen Christensen, Hye-Seong Lee & Per Bruun Brockhoff August 24, 2017 This document describes how the examples in
More informationBIOL Biometry LAB 6 - SINGLE FACTOR ANOVA and MULTIPLE COMPARISON PROCEDURES
BIOL 458 - Biometry LAB 6 - SINGLE FACTOR ANOVA and MULTIPLE COMPARISON PROCEDURES PART 1: INTRODUCTION TO ANOVA Purpose of ANOVA Analysis of Variance (ANOVA) is an extremely useful statistical method
More informationWhat If There Are More Than. Two Factor Levels?
What If There Are More Than Chapter 3 Two Factor Levels? Comparing more that two factor levels the analysis of variance ANOVA decomposition of total variability Statistical testing & analysis Checking
More informationBIOSTATS 640 Spring 2018 Unit 2. Regression and Correlation (Part 1 of 2) R Users
BIOSTATS 640 Spring 08 Unit. Regression and Correlation (Part of ) R Users Unit Regression and Correlation of - Practice Problems Solutions R Users. In this exercise, you will gain some practice doing
More informationMetric Predicted Variable on One Group
Metric Predicted Variable on One Group Tim Frasier Copyright Tim Frasier This work is licensed under the Creative Commons Attribution 4.0 International license. Click here for more information. Prior Homework
More informationStatistics GIDP Ph.D. Qualifying Exam Methodology
Statistics GIDP Ph.D. Qualifying Exam Methodology May 28, 2015, 9:00am- 1:00pm Instructions: Provide answers on the supplied pads of paper; write on only one side of each sheet. Complete exactly 2 of the
More informationSTAT 135 Lab 10 Two-Way ANOVA, Randomized Block Design and Friedman s Test
STAT 135 Lab 10 Two-Way ANOVA, Randomized Block Design and Friedman s Test Rebecca Barter April 13, 2015 Let s now imagine a dataset for which our response variable, Y, may be influenced by two factors,
More informationStatistics GIDP Ph.D. Qualifying Exam Methodology
Statistics GIDP Ph.D. Qualifying Exam Methodology May 28th, 2015, 9:00am- 1:00pm Instructions: Provide answers on the supplied pads of paper; write on only one side of each sheet. Complete exactly 2 of
More informationIn a one-way ANOVA, the total sums of squares among observations is partitioned into two components: Sums of squares represent:
Activity #10: AxS ANOVA (Repeated subjects design) Resources: optimism.sav So far in MATH 300 and 301, we have studied the following hypothesis testing procedures: 1) Binomial test, sign-test, Fisher s
More informationFormula for the t-test
Formula for the t-test: How the t-test Relates to the Distribution of the Data for the Groups Formula for the t-test: Formula for the Standard Error of the Difference Between the Means Formula for the
More informationSolutions Homework 4. Data Set Up
Solutions Homework 4 Data Set Up require(marss) require(forecast) phytos = c("cryptomonas", "Diatoms", "Greens", "Unicells", "Other.algae") yrs = lakewaplanktontrans[,"year"]%in%1985:1994 dat = t(lakewaplanktontrans[yrs,phytos])
More information20.0 Experimental Design
20.0 Experimental Design Answer Questions 1 Philosophy One-Way ANOVA Egg Sample Multiple Comparisons 20.1 Philosophy Experiments are often expensive and/or dangerous. One wants to use good techniques that
More informationLec 1: An Introduction to ANOVA
Ying Li Stockholm University October 31, 2011 Three end-aisle displays Which is the best? Design of the Experiment Identify the stores of the similar size and type. The displays are randomly assigned to
More information2.830 Homework #6. April 2, 2009
2.830 Homework #6 Dayán Páez April 2, 2009 1 ANOVA The data for four different lithography processes, along with mean and standard deviations are shown in Table 1. Assume a null hypothesis of equality.
More informationThe 2 k Factorial Design. Dr. Mohammad Abuhaiba 1
The 2 k Factorial Design Dr. Mohammad Abuhaiba 1 HoweWork Assignment Due Tuesday 1/6/2010 6.1, 6.2, 6.17, 6.18, 6.19 Dr. Mohammad Abuhaiba 2 Design of Engineering Experiments The 2 k Factorial Design Special
More informationLinear Models II. Chapter Key ideas
Chapter 6 Linear Models II 6.1 Key ideas Consider a situation in which we take measurements of some attribute Y on two distinct group. We want to know whether the mean of group 1, µ 1, is different from
More informationHypothesis Testing. Hypothesis: conjecture, proposition or statement based on published literature, data, or a theory that may or may not be true
Hypothesis esting Hypothesis: conjecture, proposition or statement based on published literature, data, or a theory that may or may not be true Statistical Hypothesis: conjecture about a population parameter
More informationSleep data, two drugs Ch13.xls
Model Based Statistics in Biology. Part IV. The General Linear Mixed Model.. Chapter 13.3 Fixed*Random Effects (Paired t-test) ReCap. Part I (Chapters 1,2,3,4), Part II (Ch 5, 6, 7) ReCap Part III (Ch
More information1:15 pm Dr. Ronald Hocking, Professor Emeritus, Texas A&M University An EM-AVE Approach for Mixed Model Analysis
Dr. Ronald Hocking Lecture Series Friday, April 20, 2007 1:00 pm 5:00 pm Zachry Engineering Center, Room 102 Order of Program: 1:00-1:15 pm Master of Ceremony Dr. Simon Sheather, Head of Statistics 1:15
More informationThe legacy of Sir Ronald A. Fisher. Fisher s three fundamental principles: local control, replication, and randomization.
1 Chapter 1: Research Design Principles The legacy of Sir Ronald A. Fisher. Fisher s three fundamental principles: local control, replication, and randomization. 2 Chapter 2: Completely Randomized Design
More informationOrthogonal contrasts for a 2x2 factorial design Example p130
Week 9: Orthogonal comparisons for a 2x2 factorial design. The general two-factor factorial arrangement. Interaction and additivity. ANOVA summary table, tests, CIs. Planned/post-hoc comparisons for the
More informationANALYSIS OF VARIANCE OF BALANCED DAIRY SCIENCE DATA USING SAS
ANALYSIS OF VARIANCE OF BALANCED DAIRY SCIENCE DATA USING SAS Ravinder Malhotra and Vipul Sharma National Dairy Research Institute, Karnal-132001 The most common use of statistics in dairy science is testing
More informationOrthogonal and Non-orthogonal Polynomial Constrasts
Orthogonal and Non-orthogonal Polynomial Constrasts We had carefully reviewed orthogonal polynomial contrasts in class and noted that Brian Yandell makes a compelling case for nonorthogonal polynomial
More informationData Analysis and Statistical Methods Statistics 651
Data Analysis and Statistical Methods Statistics 651 http://www.stat.tamu.edu/~suhasini/teaching.html Suhasini Subba Rao Motivations for the ANOVA We defined the F-distribution, this is mainly used in
More informationMultiple Predictor Variables: ANOVA
What if you manipulate two factors? Multiple Predictor Variables: ANOVA Block 1 Block 2 Block 3 Block 4 A B C D B C D A C D A B D A B C Randomized Controlled Blocked Design: Design where each treatment
More informationA Handbook of Statistical Analyses Using R 2nd Edition. Brian S. Everitt and Torsten Hothorn
A Handbook of Statistical Analyses Using R 2nd Edition Brian S. Everitt and Torsten Hothorn CHAPTER 7 Logistic Regression and Generalised Linear Models: Blood Screening, Women s Role in Society, Colonic
More informationEstadística II Chapter 5. Regression analysis (second part)
Estadística II Chapter 5. Regression analysis (second part) Chapter 5. Regression analysis (second part) Contents Diagnostic: Residual analysis The ANOVA (ANalysis Of VAriance) decomposition Nonlinear
More informationSolutions to obligatorisk oppgave 2, STK2100
Solutions to obligatorisk oppgave 2, STK2100 Vinnie Ko May 14, 2018 Disclaimer: This document is made solely for my own personal use and can contain many errors. Oppgave 1 We load packages and read data
More informationSolving Quadratic Equations
Solving Quadratic Equations MATH 101 College Algebra J. Robert Buchanan Department of Mathematics Summer 2012 Objectives In this lesson we will learn to: solve quadratic equations by factoring, solve quadratic
More informationPreface Introduction to Statistics and Data Analysis Overview: Statistical Inference, Samples, Populations, and Experimental Design The Role of
Preface Introduction to Statistics and Data Analysis Overview: Statistical Inference, Samples, Populations, and Experimental Design The Role of Probability Sampling Procedures Collection of Data Measures
More information