T-tests and ANOVA Statistical analysis of group differences.

Slides:



Advertisements
Similar presentations
Lesson 10: Linear Regression and Correlation
Advertisements

13- 1 Chapter Thirteen McGraw-Hill/Irwin © 2005 The McGraw-Hill Companies, Inc., All Rights Reserved.
Inference for Regression
Review ? ? ? I am examining differences in the mean between groups
Correlation and regression Dr. Ghada Abo-Zaid
Learning Objectives Copyright © 2002 South-Western/Thomson Learning Data Analysis: Bivariate Correlation and Regression CHAPTER sixteen.
Learning Objectives Copyright © 2004 John Wiley & Sons, Inc. Bivariate Correlation and Regression CHAPTER Thirteen.
Learning Objectives 1 Copyright © 2002 South-Western/Thomson Learning Data Analysis: Bivariate Correlation and Regression CHAPTER sixteen.
Correlation and regression
Education 793 Class Notes Joint Distributions and Correlation 1 October 2003.
LECTURE 3 Introduction to Linear Regression and Correlation Analysis
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.
1-1 Regression Models  Population Deterministic Regression Model Y i =  0 +  1 X i u Y i only depends on the value of X i and no other factor can affect.
Regression Analysis. Unscheduled Maintenance Issue: l 36 flight squadrons l Each experiences unscheduled maintenance actions (UMAs) l UMAs costs $1000.
Lecture 4: Correlation and Regression Laura McAvinue School of Psychology Trinity College Dublin.
Linear Regression and Correlation
Correlation. Two variables: Which test? X Y Contingency analysis t-test Logistic regression Correlation Regression.
1 Review of Correlation A correlation coefficient measures the strength of a linear relation between two measurement variables. The measure is based on.
Topics: Regression Simple Linear Regression: one dependent variable and one independent variable Multiple Regression: one dependent variable and two or.
Correlation 1. Correlation - degree to which variables are associated or covary. (Changes in the value of one tends to be associated with changes in the.
Correlation and Regression Analysis
Simple Linear Regression Analysis
Review Guess the correlation. A.-2.0 B.-0.9 C.-0.1 D.0.1 E.0.9.
Lecture 5 Correlation and Regression
Chapter 4 Two-Variables Analysis 09/19-20/2013. Outline  Issue: How to identify the linear relationship between two variables?  Relationship: Scatter.
Correlation and Regression
Quantitative Business Analysis for Decision Making Multiple Linear RegressionAnalysis.
Lecture 16 Correlation and Coefficient of Correlation
Regression and Correlation Methods Judy Zhong Ph.D.
Introduction to Linear Regression and Correlation Analysis
Correlation and Linear Regression
Simple Linear Regression
STATISTICS: BASICS Aswath Damodaran 1. 2 The role of statistics Aswath Damodaran 2  When you are given lots of data, and especially when that data is.
Psyc 235: Introduction to Statistics DON’T FORGET TO SIGN IN FOR CREDIT!
Correlation.
September In Chapter 14: 14.1 Data 14.2 Scatterplots 14.3 Correlation 14.4 Regression.
Copyright © 2010 Pearson Education, Inc Chapter Seventeen Correlation and Regression.
Business Statistics: A First Course, 5e © 2009 Prentice-Hall, Inc. Chap 12-1 Correlation and Regression.
Applied Quantitative Analysis and Practices LECTURE#23 By Dr. Osman Sadiq Paracha.
1 Chapter 12 Simple Linear Regression. 2 Chapter Outline  Simple Linear Regression Model  Least Squares Method  Coefficient of Determination  Model.
Introduction to Probability and Statistics Thirteenth Edition Chapter 12 Linear Regression and Correlation.
ITEC6310 Research Methods in Information Technology Instructor: Prof. Z. Yang Course Website: c6310.htm Office:
© Copyright McGraw-Hill Correlation and Regression CHAPTER 10.
Yesterday Correlation Regression -Definition
REGRESSION DIAGNOSTICS Fall 2013 Dec 12/13. WHY REGRESSION DIAGNOSTICS? The validity of a regression model is based on a set of assumptions. Violation.
Chapter Twelve The Two-Sample t-Test. Copyright © Houghton Mifflin Company. All rights reserved.Chapter is the mean of the first sample is the.
Lecture 10: Correlation and Regression Model.
Inferential Statistics. The Logic of Inferential Statistics Makes inferences about a population from a sample Makes inferences about a population from.
Correlation MEASURING ASSOCIATION Establishing a degree of association between two or more variables gets at the central objective of the scientific enterprise.
1 Virtual COMSATS Inferential Statistics Lecture-25 Ossam Chohan Assistant Professor CIIT Abbottabad.
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.
Advanced Statistical Methods: Continuous Variables REVIEW Dr. Irina Tomescu-Dubrow.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Simple Linear Regression Analysis Chapter 13.
CORRELATION ANALYSIS.
Chapter 13 Understanding research results: statistical inference.
Jump to first page Inferring Sample Findings to the Population and Testing for Differences.
Chapter 12: Correlation and Linear Regression 1.
Irwin/McGraw-Hill © Andrew F. Siegel, 1997 and l Chapter 9 l Simple Linear Regression 9.1 Simple Linear Regression 9.2 Scatter Diagram 9.3 Graphical.
Correlation & Simple Linear Regression Chung-Yi Li, PhD Dept. of Public Health, College of Med. NCKU 1.
Chapter 12: Correlation and Linear Regression 1.
Covariance/ Correlation
B&A ; and REGRESSION - ANCOVA B&A ; and
Virtual COMSATS Inferential Statistics Lecture-26
Covariance/ Correlation
Simple Linear Regression
Covariance/ Correlation
Ch 4.1 & 4.2 Two dimensions concept
Presentation transcript:

T-tests and ANOVA Statistical analysis of group differences

Outline  Criteria for t-test  Criteria for ANOVA  Variables in t-tests  Variables in ANOVA  Examples of t-tests  Examples of ANOVA  Summary

Criteria to use a t-test

Criteria to use ANOVA  Main Difference: 3 or more groups

Variables in a t-test

Standard Deviation vs Standard Error  Standard Deviation= relationship of individual values of the sample  Standard Error= relationship of standard deviation with the sample mean  How it relates to the population

One-tailed and Two-tailed

Variables in ANOVA

Example : One Sample t-test An ice cream factory is made aware of a salmonella outbreak near them. They decide to test their product contains Salmonella. Safe levels are 0.3 MPN/g

Example: Two Sample t-test In vitro compound action potential study compared mouse models of demyelination to controls. Conduction velocities were calculated from the sciatic nerve (m/s).

Example of Within Subjects ANOVA A sample of 12 people volunteered to participate in a diet study. Their BMI indices were measured before beginning the study. For one month they were given a exercise and diet regiment. Every two weeks each subject had their BMI index remeasured

Example of Between Subjects ANOVA AM University took part in a study that sampled students from the first three years of college to determine the study patterns of its students. This was assessed by a graded exam based on a 100 point scale.

Summary of MatLab syntax  T-test  [h, p, ci, stats]=ttest1(X, mean of population)  [h, p, ci, stats]=ttest2(X)  ANOVA  [p,stats] = anova1(X,group,displayopt)  p = anova2(X,reps,displayopt) 

Types of Error  Type 1- Significance when there is none  Type 2- No significance when there is

Summary

Correlation and Regression

Correlation Correlation aims to find the degree of relationship between two variables, x and y. Correlation  causality Scatter plot is the best method of visual representation of relationship between two independent variables.

Scatter plots

How to quantify correlation? 1) Covariance 2) Pearson Correlation Coefficient

Covariance Is the measure of two random variables change together.

How to interpret covariance values?  Sign of covariance  (+)  two variables are moving in same direction  (-)  two variables are moving in opposite directions.  Size of covariance: if the number is large the strength of correlation is strong

Problem?  The covariance is dependent on the variability in the data. So large variance gives large numbers.  Therefore the magnitude cannot be measured. Solution????

Pearson Coefficient correlation  Both give a value between  -1 ≤ r ≤ 1  -1 = negative correlation  0 = no correlation  1 = positive correlation  r² = the degree of variability of variable y which is explained by it’s relationship with x.

Limitations  Sensitive to outliers  Cannot be used to predict one variable to other

Linear Regression Correlation is the premises for regression. Once an association is established  can a dependent variable be predicted when independent variable is changed?

Assumptions  Linear relationship  Observations are independent  Residuals are normally distributed  Residuals have the same variance

Residuals

a = estimated intercept b = estimated regression coefficient, gradient/slope Y = predicted value of y for any given x Every increase in x by one unit leads to b unit of change in y. Linear Regression

Data interpretation  Y 0.571(age)  P value (<0.05)

Multiple Regression  Use to account for the effect of more than one independent variable on a give dependent variable. y = a 1 x 1 + a 2 x 2 +…..+ a n x n + b + ε

Data interpretation

General Linear Model  GLM can also allow you to analyse the effects of several independent x variables on several dependent variables, y 1, y 2, y 3 etc, in a linear combination

Summary  Correlation (positive, no correlation, negative)  No causality  Linear regression – predict one dependent variable y through x  Multiple regression – predict one dependent variable y through more than one indepdent variable.

?? Questions ??