Richard Baldy College of Agriculture One-Click Anovas – Analysis of Variance with Microsoft Excel.

Slides:



Advertisements
Similar presentations
Mixed Designs: Between and Within Psy 420 Ainsworth.
Advertisements

Multiple Comparisons in Factorial Experiments
Video Technology for Excel Competency Programs
1 Chapter 4 Experiments with Blocking Factors The Randomized Complete Block Design Nuisance factor: a design factor that probably has an effect.
Chapter 4 Randomized Blocks, Latin Squares, and Related Designs
i) Two way ANOVA without replication
Chapter 14Design and Analysis of Experiments 8E 2012 Montgomery 1.
FTP Biostatistics II Model parameter estimations: Confronting models with measurements.
Experimental Design, Response Surface Analysis, and Optimization
ANOVA: Analysis of Variance
N-way ANOVA. Two-factor ANOVA with equal replications Experimental design: 2  2 (or 2 2 ) factorial with n = 5 replicate Total number of observations:
Design of Engineering Experiments - Experiments with Random Factors
Analysis of Covariance Goals: 1)Reduce error variance. 2)Remove sources of bias from experiment. 3)Obtain adjusted estimates of population means.
ANalysis Of VAriance (ANOVA) Comparing > 2 means Frequently applied to experimental data Why not do multiple t-tests? If you want to test H 0 : m 1 = m.
Statistics for Managers Using Microsoft® Excel 5th Edition
Analysis of Variance Chapter 3Design & Analysis of Experiments 7E 2009 Montgomery 1.
8. ANALYSIS OF VARIANCE 8.1 Elements of a Designed Experiment
Incomplete Block Designs
1 1 Slide © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Nested and Split Plot Designs. Nested and Split-Plot Designs These are multifactor experiments that address common economic and practical constraints.
Go to Table of ContentTable of Content Analysis of Variance: Randomized Blocks Farrokh Alemi Ph.D. Kashif Haqqi M.D.
Chapter 12 Inferential Statistics Gay, Mills, and Airasian
Psy B07 Chapter 1Slide 1 ANALYSIS OF VARIANCE. Psy B07 Chapter 1Slide 2 t-test refresher  In chapter 7 we talked about analyses that could be conducted.
1 Advances in Statistics Or, what you might find if you picked up a current issue of a Biological Journal.
ANCOVA Lecture 9 Andrew Ainsworth. What is ANCOVA?
Text reference, Chapter 14, Pg. 525
One-Factor Experiments Andy Wang CIS 5930 Computer Systems Performance Analysis.
Experimental Design An Experimental Design is a plan for the assignment of the treatments to the plots in the experiment Designs differ primarily in the.
1 1 Slide © 2005 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 1 Slide © 2007 Thomson South-Western. All Rights Reserved OPIM 303-Lecture #9 Jose M. Cruz Assistant Professor.
The Scientific Method Formulation of an H ypothesis P lanning an experiment to objectively test the hypothesis Careful observation and collection of D.
So far... We have been estimating differences caused by application of various treatments, and determining the probability that an observed difference.
Design of Engineering Experiments Part 5 – The 2k Factorial Design
Chapter 13 ANOVA The Design and Analysis of Single Factor Experiments - Part II Chapter 13B Class will begin in a few minutes. Reaching out to the internet.
Chapter 4 analysis of variance (ANOVA). Section 1 the basic idea and condition of application.
1 Chapter 13 Analysis of Variance. 2 Chapter Outline  An introduction to experimental design and analysis of variance  Analysis of Variance and the.
Copyright © 2004 Pearson Education, Inc.
Testing Hypotheses about Differences among Several Means.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 10-1 Chapter 10 Analysis of Variance Statistics for Managers Using Microsoft.
1 A nuisance factor is a factor that probably has some effect on the response, but it’s of no interest to the experimenter…however, the variability it.
IE341 Midterm. 1. The effects of a 2 x 2 fixed effects factorial design are: A effect = 20 B effect = 10 AB effect = 16 = 35 (a) Write the fitted regression.
DOX 6E Montgomery1 Design of Engineering Experiments Part 9 – Experiments with Random Factors Text reference, Chapter 13, Pg. 484 Previous chapters have.
ANALYSIS OF VARIANCE (ANOVA) BCT 2053 CHAPTER 5. CONTENT 5.1 Introduction to ANOVA 5.2 One-Way ANOVA 5.3 Two-Way ANOVA.
Design Of Experiments With Several Factors
Educational Research Chapter 13 Inferential Statistics Gay, Mills, and Airasian 10 th Edition.
Analysis of Variance.
Control of Experimental Error Blocking - –A block is a group of homogeneous experimental units –Maximize the variation among blocks in order to minimize.
DOX 6E Montgomery1 Design of Engineering Experiments Part 2 – Basic Statistical Concepts Simple comparative experiments –The hypothesis testing framework.
Chapter 13 Design of Experiments. Introduction “Listening” or passive statistical tools: control charts. “Conversational” or active tools: Experimental.
INDIAN AGRICULTURAL STATISTICS RESEARCH INSTITUTE, NEW DELHI Copyright, 2003 © IASRI, Pusa, New Delhi-12, India SPFE
1 Design of Engineering Experiments – The 2 k Factorial Design Text reference, Chapter 6 Special case of the general factorial design; k factors, all at.
Factorial BG ANOVA Psy 420 Ainsworth. Topics in Factorial Designs Factorial? Crossing and Nesting Assumptions Analysis Traditional and Regression Approaches.

Factorial Experiments
ANOVA Econ201 HSTS212.
i) Two way ANOVA without replication
Applied Business Statistics, 7th ed. by Ken Black
Chapter 5 Introduction to Factorial Designs
Statistics for Business and Economics (13e)
Random Effects & Repeated Measures
IE-432 Design Of Industrial Experiments
Chapter 11 Analysis of Variance
Statistics for the Social Sciences
Confidence intervals for the difference between two means: Independent samples Section 10.1.
Psych 231: Research Methods in Psychology
Factorial ANOVA 2 or More IVs.
Review Questions III Compare and contrast the components of an individual score for a between-subject design (Completely Randomized Design) and a Randomized-Block.
One-Factor Experiments
Chapter 10 – Part II Analysis of Variance
14 Design of Experiments with Several Factors CHAPTER OUTLINE
Presentation transcript:

Richard Baldy College of Agriculture One-Click Anovas – Analysis of Variance with Microsoft Excel

Overview of Presentation Demonstration of “One-Click ANOVA” with an experiment set out in a Latin-square design. Goal of project: develop data analysis software agriculture undergraduates would use in college in their post college careers Why the goal? Software creation

Demonstration of “One-click Anova” Latin square randomization Latin-square design with 1 experimental factor

Background for Developing Data Analysis Software Agriculture Undergraduates Would Use in College and After Graduation Snapshot of California’s agriculture Industry input into curriculum development Our students

Features of the Industry Sophisticated producers of 350 different crops and commodities in the nation’s most populous state

Features of the industry continued Public demands fewer chemical inputs Yet, public expects industry to do the research –Industry economically powerful. Has the money –Public cannot support research of 350 commodities –Research needs local ecosystem focus to advance goal of ecologically sound agricultural production Much on-farm research yields results once/yr  Easy to forget involved data analysis procedures

Most will not attend graduate school Characteristics of our students

They will enter industry. Some will teach high school agriculture

Industry Input Continue to give hands-on experience Integrate curriculum around ecosystem concepts Teach problem solving: –Working in emotionally “charged” settings –Leadership –Experimentation including data analysis –

Experimentation, Data Analysis Course Expectations: Undergraduates experiment and analyze data They report research via scientific papers, posters, web pages and seminars And continue as farmer-researchers, consultant- researchers, high school teacher-researchers “Dick, you are a plant physiologist, develop and teach this course.”

Faculty Wish List Completely randomized design Randomized complete block design Latin-square design Split-plot design Ancova Simple and multiple regression Analysis of count data

Why Excel? Students familiar with Excel. Therefore, teach data analysis, not a program –saves time Students’ computers come with Excel – saves $ Graduates use Excel for other purposes, not just data analysis Specific experimental design templates friendlier than general purpose programs e.g., SYSTAT OK for regression

Why Not SYSTAT? Expensive. Cheaper student version lacks required capability such as split-plot My experience. Used daily use for weeks. Left it for 3 months. Had to relearn –Number codes for treatments are confusing –For split-plot have to recalculate Anova –Remember ag research data analyzed once/yr

Excel’s Limits As an Anova Platform “Out of the box” Anova procedures handle few designs; Do not handle missing data No mean separation tests No orthogonal contrasts No automatic charting of treatment means

Overcoming Excel’s Limitations Such formulas are not for a world where experimental cows die – become missing data. No residuals for testing normality, equal variance Text book formulas

Instead Use Method That Gives Residuals For missing data, use iteration to find values that gives residual total = zero

The Right Model Example: randomized block design, single experimental factor. Need to solve for three sums of squares: Treatment Block Error

Model for Error Term Treatment Mean + Block Mean – Grand Mean Subtract the above estimate from datum to obtain residual Square residuals Sum of squared residuals = Error SS

Model for Block Term Datum - treatment mean = residual Square and sum residuals = confounded error and block SS Error SS confounded with block SS Treatment SS From this sum of squares subtract the error term’s sum of squares. Treatment SS Block SS Error SS

Datum – block means = residual Square and sum residuals = confounded error and treatment SS Model for Treatment Term Error confounded with treatment SS Block SS From this sum of squares subtract the error term’s sum of squares. Block SS Treatment SS Error SS

Finding Correct Substitute Data Pivot table gives means to be used in estimates. Set substitute datum to some value, e.g., 0 Substitute datum – estimate = residual New substitute datum = former substitute datum – residual Refresh pivot table, obtain new means for estimates Circular argument – need careful control of calculation order to avoid crashes

Let’s see how a pivot table summarizes these data

These are just data in this pivot table and are not used in computing estimates. If this were a Factor A x Factor B summary, these numbers would also be means and used in estimates

calculate Looked up in pivot table Residual = Response-Estimate. Thus, 0.0 – 44 = -44 Response = Response-Residual. Thus, New response = 0- (-44) = 44

refresh

calculate

How to handle different sized data sets Have pivot table summarize 65,000+ rows. –Simple to program –Takes 5-10 minutes for analysis. Rodney’s autofill code + ASSUME page tip on Offset function  cut run times 70 – 90%

Neville’s time trimming suggestion Refreshing pivot tables for each iteration = 1-2 minutes/analysis  Use DAVERAGE function

DAVERAGE(DataRange, ResponseColumn, Criteria for selecting responses to average)INDIRECT(HC1))

Further Topics Experiment planning –Formulate additional, orthogonal hypotheses –Estimate number of replicates Additional work

Experiment planning: Formulate additional hypotheses. Test with single degree of freedom orthogonal contrasts

An Example of Estimating Number of Replicates. Example Will Be for Randomized Complete Block Design. # reps RBD 1 experimental factor

Additional Work Simplify mean separation tests for factorial designs Example using split-plot design Split-plot design with blocks

Additional Work (Continued) Replace trial and error method to develop models Open development to others Share programs