Methods for Dummies Isobel Weinberg & Alexandra Westley.

Slides:



Advertisements
Similar presentations
Computational Statistics. Basic ideas  Predict values that are hard to measure irl, by using co-variables (other properties from the same measurement.
Advertisements

Hypothesis Testing Steps in Hypothesis Testing:
Independent t -test Features: One Independent Variable Two Groups, or Levels of the Independent Variable Independent Samples (Between-Groups): the two.
6-1 Introduction To Empirical Models 6-1 Introduction To Empirical Models.
Regression Analysis Module 3. Regression Regression is the attempt to explain the variation in a dependent variable using the variation in independent.
LINEAR REGRESSION: Evaluating Regression Models Overview Assumptions for Linear Regression Evaluating a Regression Model.
LINEAR REGRESSION: Evaluating Regression Models. Overview Assumptions for Linear Regression Evaluating a Regression Model.
Chapter 10 Simple Regression.
Basics of ANOVA Why ANOVA Assumptions used in ANOVA Various forms of ANOVA Simple ANOVA tables Interpretation of values in the table Exercises.
Basics of ANOVA Why ANOVA Assumptions used in ANOVA
Intro to Statistics for the Behavioral Sciences PSYC 1900
Ch. 14: The Multiple Regression Model building
Multiple Regression Research Methods and Statistics.
Simple Linear Regression and Correlation
Simple Linear Regression Analysis
Relationships Among Variables
Statistical hypothesis testing – Inferential statistics II. Testing for associations.
T-tests and ANOVA Statistical analysis of group differences.
Lecture 5 Correlation and Regression
CHAPTER 5 REGRESSION Discovering Statistics Using SPSS.
Leedy and Ormrod Ch. 11 Gray Ch. 14
Regression and Correlation Methods Judy Zhong Ph.D.
SIMPLE LINEAR REGRESSION
Testing Group Difference
PS 225 Lecture 15 Analysis of Variance ANOVA Tables.
Marketing Research Aaker, Kumar, Day and Leone Tenth Edition
Basics of ANOVA Why ANOVA Assumptions used in ANOVA Various forms of ANOVA Simple ANOVA tables Interpretation of values in the table Exercises.
CPE 619 Simple Linear Regression Models Aleksandar Milenković The LaCASA Laboratory Electrical and Computer Engineering Department The University of Alabama.
Last time: One-way Analysis of Variance. Example List of 50 spoken words 3 x 10 Subjects (split among I=3 groups) Group 1: (Fast sound) Person in movie.
Review of Statistics Group Results. Which type of statistics? When comparing two group scores-Use the t-test. When comparing more than two scores: Use.
Simple Linear Regression Models
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 15 Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple.
Chapter 14 – 1 Chapter 14: Analysis of Variance Understanding Analysis of Variance The Structure of Hypothesis Testing with ANOVA Decomposition of SST.
1 Chapter 12 Simple Linear Regression. 2 Chapter Outline  Simple Linear Regression Model  Least Squares Method  Coefficient of Determination  Model.
Inferential Statistics
An alternative approach to testing for a linear association The Analysis of Variance (ANOVA) Table.
I. Statistical Tests: A Repetive Review A.Why do we use them? Namely: we need to make inferences from incomplete information or uncertainty þBut we want.
Multiple Regression and Model Building Chapter 15 Copyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
Inference for Regression Simple Linear Regression IPS Chapter 10.1 © 2009 W.H. Freeman and Company.
Educational Research Chapter 13 Inferential Statistics Gay, Mills, and Airasian 10 th Edition.
Chapter 13 Multiple Regression
Chapter 14 – 1 Chapter 14: Analysis of Variance Understanding Analysis of Variance The Structure of Hypothesis Testing with ANOVA Decomposition of SST.
University of Warwick, Department of Sociology, 2012/13 SO 201: SSAASS (Surveys and Statistics) (Richard Lampard) Week 5 Multiple Regression.
I271B The t distribution and the independent sample t-test.
Simple Linear Regression (OLS). Types of Correlation Positive correlationNegative correlationNo correlation.
Environmental Modeling Basic Testing Methods - Statistics III.
Week 101 ANOVA F Test in Multiple Regression In multiple regression, the ANOVA F test is designed to test the following hypothesis: This test aims to assess.
Introducing Communication Research 2e © 2014 SAGE Publications Chapter Seven Generalizing From Research Results: Inferential Statistics.
Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.
Lesson 14 - R Chapter 14 Review. Objectives Summarize the chapter Define the vocabulary used Complete all objectives Successfully answer any of the review.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Simple Linear Regression Analysis Chapter 13.
Handout Twelve: Design & Analysis of Covariance
1 1 Slide The Simple Linear Regression Model n Simple Linear Regression Model y =  0 +  1 x +  n Simple Linear Regression Equation E( y ) =  0 + 
Significance Tests for Regression Analysis. A. Testing the Significance of Regression Models The first important significance test is for the regression.
Biostatistics Regression and Correlation Methods Class #10 April 4, 2000.
Topics, Summer 2008 Day 1. Introduction Day 2. Samples and populations Day 3. Evaluating relationships Scatterplots and correlation Day 4. Regression and.
Educational Research Inferential Statistics Chapter th Chapter 12- 8th Gay and Airasian.
Lecturer: Ing. Martina Hanová, PhD.. Regression analysis Regression analysis is a tool for analyzing relationships between financial variables:  Identify.
CHAPTER 10: ANALYSIS OF VARIANCE(ANOVA) Leon-Guerrero and Frankfort-Nachmias, Essentials of Statistics for a Diverse Society.
رگرسیون چندگانه Multiple Regression
Analysis of variance approach to regression analysis … an (alternative) approach to testing for a linear association.
T-tests Comparing the means of 2 independent similar populations.
Chapter 13 Created by Bethany Stubbe and Stephan Kogitz.
Multiple Regression A curvilinear relationship between one variable and the values of two or more other independent variables. Y = intercept + (slope1.
Comparing Several Means: ANOVA
Prepared by Lee Revere and John Large
Simple Linear Regression
SIMPLE LINEAR REGRESSION
SIMPLE LINEAR REGRESSION
Nazmus Saquib, PhD Head of Research Sulaiman AlRajhi Colleges
Presentation transcript:

Methods for Dummies Isobel Weinberg & Alexandra Westley

Student’s t-test Are these two data sets significantly different from one another? William Sealy Gossett

Are these two distributions different? Diagrams from

Using the t-test Calculate the t-statistic Compare to known distributions (with degrees of freedom) to get significance level Compare to chosen significance level to accept/reject the null hypothesis

In MATLAB: H = ttest(X,Y) Returns H = 0 for null hypothesis or H = 1 for alternative hypothesis

[H,P,CI,STATS] = ttest(X,Y)

One-tailed vs two-tailed Diagram from

Paired vs unpaired a.k.a. Dependent vs Independent If data in the two groups are paired (same participants; twins) etc -> paired/dependent t-test Otherwise -> independent t-test

Quiz An experiment measures people's lung capacity before and then after an exercise programme to see if their fitness has improved. Paired or unpaired t-test? One or two tails? A different experiment measures the lung capacity of one group who took one exercise programme and another group who took a different exercise programme to see if there was a difference. Dependent or independent t-test? One or two tails?

In MATLAB: One-tailed vs two-tailed: value ttest(A, B, ‘tail’, ‘value’) value ‘value’ = ‘left’, ‘right’, or ‘both’ Paired vs unpaired: ttest(A,B) ~ paired ttest2(A,B) ~ unpaired

Assumptions Normally distributed Shapiro-Wilk Kolmogorov- Smirnov Test for normality using Shapiro-Wilk or Kolmogorov- Smirnov Same variance (independent t-test) Welch’s t-test If different: use Welch’s t-test Sampling should be independent (independent t-test)

ANalysis of VAriance (ANOVA) Example from SS Error = Within-group variability = = 4 SS Effect = Between-group variability = 28 – 4 = 24

ANalysis of VAriance (ANOVA) Example from

One-way ANOVA vs Two-way ANOVA Weight loss effect of 5 different types of exercise Recruit 20 men and assign each to an exercise i.e. 4 per group one-way ANOVA This needs a one-way ANOVA – one independent variable with >2 conditions Weight loss effect of 5 different types of exercise, with and without calorie-controlled diet Recruit 40 men and assign each to an exercise Half the men follow a calorie-controlled diet; half don’t – 4 per group two-way ANOVA – This needs a two-way ANOVA – two independent variables Can also have three-way ANOVA, etc.

One-way ANOVA in MATLAB:

Two-way ANOVA in MATLAB:

Correlations Variance The amount a single variable deviated from it’s mean. Covariance Are changes in one variable associated with changes in another? When 1 variable deviates from it’s mean, does another variable deviate from it’s mean in a similar way? For suspected linear relationships.

Covariance Multiply the deviations in one variable by the deviations in the other This is dependent on the unit/measurement scale Therefore we need to standardise it.

Regression Prediction Simple regression predicts an outcome variable using a single predictor variable (i.e. predict weight using height) Multiple regression predicts an outcome variable using multiple predictor variables (i.e. predict weight using height, gender, and waist measurements)

Regression Model The regression model is linear The line is defined by two factors: 1) The gradient 2) The intercept These fit into this equation, from which values can be predicted:

Assessing the fit of the model Method of least squares Compare the reductions in the variance between the simplest model, and our new regression model SST SSR

Method of Least Squares SST SSR

Assessing the fit of the model F-Test T-Statistic

Multiple Regression Multiple regression follows the same principle, and simply adds in more predictors

Assumptions for Multiple Regression Variable types Predictors quantitative/categorical Outcome quantitative/continuous Non-zero Variance Predictors cannot have a variance of 0 No perfect multicollinearity Predictor variables should not correlate too highly Predictors uncorrelated with external variables If there are external variables correlating with our model and not included, our analysis becomes unreliable Homoscedasticity Residuals at each level of the predictors should be equal  similar variance across all levels of any one predictor Independent errors Normally distributed errors Independence Linearity