ARE OBSERVATIONS OBTAINED DIFFERENT?. ARE OBSERVATIONS OBTAINED DIFFERENT? You use different statistical tests for different problems. We will examine.

Slides:



Advertisements
Similar presentations
Hypothesis Testing Steps in Hypothesis Testing:
Advertisements

Chi-Squared Hypothesis Testing Using One-Way and Two-Way Frequency Tables of Categorical Variables.
INTRODUCTION TO NON-PARAMETRIC ANALYSES CHI SQUARE ANALYSIS.
Statistical Tests Karen H. Hagglund, M.S.
BHS Methods in Behavioral Sciences I April 25, 2003 Chapter 6 (Ray) The Logic of Hypothesis Testing.
Chapter 13 Multiple Regression
Chapter 12 Multiple Regression
Final Review Session.
MARE 250 Dr. Jason Turner Hypothesis Testing III.
Chapter 26: Comparing Counts. To analyze categorical data, we construct two-way tables and examine the counts of percents of the explanatory and response.
Ch. 14: The Multiple Regression Model building
PSY 307 – Statistics for the Behavioral Sciences Chapter 19 – Chi-Square Test for Qualitative Data Chapter 21 – Deciding Which Test to Use.
Today Concepts underlying inferential statistics
Summary of Quantitative Analysis Neuman and Robson Ch. 11
Richard M. Jacobs, OSA, Ph.D.
Statistics Idiots Guide! Dr. Hamda Qotba, B.Med.Sc, M.D, ABCM.
1 Nominal Data Greg C Elvers. 2 Parametric Statistics The inferential statistics that we have discussed, such as t and ANOVA, are parametric statistics.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 13-1 Chapter 13 Introduction to Multiple Regression Statistics for Managers.
Chapter 12 Inferential Statistics Gay, Mills, and Airasian
Inferential Statistics
Leedy and Ormrod Ch. 11 Gray Ch. 14
Chapter 12: Analysis of Variance
Analysis of Variance. ANOVA Probably the most popular analysis in psychology Why? Ease of implementation Allows for analysis of several groups at once.
AM Recitation 2/10/11.
Estimation and Hypothesis Testing Faculty of Information Technology King Mongkut’s University of Technology North Bangkok 1.
Inferential Statistics: SPSS
Part IV Significantly Different: Using Inferential Statistics
Statistics for clinical research An introductory course.
Choosing and using statistics to test ecological hypotheses
Statistics Definition Methods of organizing and analyzing quantitative data Types Descriptive statistics –Central tendency, variability, etc. Inferential.
Which Test Do I Use? Statistics for Two Group Experiments The Chi Square Test The t Test Analyzing Multiple Groups and Factorial Experiments Analysis of.
MARE 250 Dr. Jason Turner Hypothesis Testing III.
t(ea) for Two: Test between the Means of Different Groups When you want to know if there is a ‘difference’ between the two groups in the mean Use “t-test”.
Chapter 9: Non-parametric Tests n Parametric vs Non-parametric n Chi-Square –1 way –2 way.
Educational Research: Competencies for Analysis and Application, 9 th edition. Gay, Mills, & Airasian © 2009 Pearson Education, Inc. All rights reserved.
ANOVA (Analysis of Variance) by Aziza Munir
Research Project Statistical Analysis. What type of statistical analysis will I use to analyze my data? SEM (does not tell you level of significance)
Chapter 20 For Explaining Psychological Statistics, 4th ed. by B. Cohen 1 These tests can be used when all of the data from a study has been measured on.
Chapter 10: Analyzing Experimental Data Inferential statistics are used to determine whether the independent variable had an effect on the dependent variance.
PCB 3043L - General Ecology Data Analysis. OUTLINE Organizing an ecological study Basic sampling terminology Statistical analysis of data –Why use statistics?
Education 793 Class Notes Presentation 10 Chi-Square Tests and One-Way ANOVA.
Nonparametric Tests: Chi Square   Lesson 16. Parametric vs. Nonparametric Tests n Parametric hypothesis test about population parameter (  or  2.
Educational Research Chapter 13 Inferential Statistics Gay, Mills, and Airasian 10 th Edition.
Inferential Statistics. The Logic of Inferential Statistics Makes inferences about a population from a sample Makes inferences about a population from.
Introduction to Basic Statistical Tools for Research OCED 5443 Interpreting Research in OCED Dr. Ausburn OCED 5443 Interpreting Research in OCED Dr. Ausburn.
PCB 3043L - General Ecology Data Analysis.
Introducing Communication Research 2e © 2014 SAGE Publications Chapter Seven Generalizing From Research Results: Inferential Statistics.
Analyzing Statistical Inferences July 30, Inferential Statistics? When? When you infer from a sample to a population Generalize sample results to.
Soc 3306a Lecture 7: Inference and Hypothesis Testing T-tests and ANOVA.
Copyright c 2001 The McGraw-Hill Companies, Inc.1 Chapter 11 Testing for Differences Differences betweens groups or categories of the independent variable.
Kin 304 Inferential Statistics Probability Level for Acceptance Type I and II Errors One and Two-Tailed tests Critical value of the test statistic “Statistics.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 14-1 Statistics for Managers Using Microsoft® Excel 5th Edition Chapter.
© 2006 by The McGraw-Hill Companies, Inc. All rights reserved. 1 Chapter 11 Testing for Differences Differences betweens groups or categories of the independent.
Jump to first page Inferring Sample Findings to the Population and Testing for Differences.
Nonparametric Statistics
Objectives (BPS chapter 12) General rules of probability 1. Independence : Two events A and B are independent if the probability that one event occurs.
Quantitative methods and R – (2) LING115 December 2, 2009.
Educational Research Inferential Statistics Chapter th Chapter 12- 8th Gay and Airasian.
Class Seven Turn In: Chapter 18: 32, 34, 36 Chapter 19: 26, 34, 44 Quiz 3 For Class Eight: Chapter 20: 18, 20, 24 Chapter 22: 34, 36 Read Chapters 23 &
Chapter 15 Analyzing Quantitative Data. Levels of Measurement Nominal measurement Involves assigning numbers to classify characteristics into categories.
I. ANOVA revisited & reviewed
Nonparametric Statistics
Lecture Slides Elementary Statistics Twelfth Edition
Qualitative data – tests of association
Part Three. Data Analysis
Analysis of Data Graphics Quantitative data
Nonparametric Statistics
Statistics review Basic concepts: Variability measures Distributions
Statistical Analysis Chi-Square.
Presentation transcript:

ARE OBSERVATIONS OBTAINED DIFFERENT?

ARE OBSERVATIONS OBTAINED DIFFERENT? You use different statistical tests for different problems. We will examine some basic tests ( χ 2, t-test, Regression, ANOVA, ANCOVA, χ 2 ) We expect you to use these basic tests in your research. Your research project should not be so complicated that more advanced tests are required. Always state your hypothesis – what you are testing.

BASIC PREMISE OF STATISTICAL TESTING: You observe 60 heads. Is the coin fair? sd away from mean = (60 – 50)/5 = 2 sd 2 sd is 5% chance, but in one direction so 2.5% chance (5%/2) Proportion of heads Frequency Toss a coin 100 times A fair coin: x = 50 heads sd = 5 heads (√(½ x ½ x 100)) What if you set the probability to claim it to be unfair to be 5%? What if you set the probability to claim it to be unfair to be 25%? NULL HYPOTHESISACCEPTEDREJECTED TRUECORRECTTYPE I ERROR FALSETYPE II ERRORCORRECT NULL HYPOTHESIS Null Hypothesis: The coin is fair

NONPARAMETRIC TESTS: (data does not have to be normally distributed) strata RED 8/10 RED 1/11 RED 1/13 #1#2 #3  2 CONTINGENCY TABLE: STRATA #1 #2#3 SPECIES RED NOT RED Expected for each cell = (R x C)/TOTAL (2.94 ) (3.24) ( 3.82) (7.06) (7.76) ( 9.18) (O – E) 2  2 =  E = = P < 0.001; df = (r-1)(c-1) = 2 Data must be counts and you test proportional distribution of counts. Null hypothesis: no difference in proportion of red among strata

 2 CONTINGENCY TABLE: Make a spreadsheet with table categories and counts in each, and then have MYSTAT use as frequencies (Data … Case weighting … By frequencies) Depending on table, use One-way frequency tables (one category – e.g., tree type) or Tables (more than one category – e.g., tree type and strata) in Analyze in MYSTAT

PARAMETRIC TESTS (data is normally distributed) strata RED RED RED #1#2 #3 t = [(0.71)(1.41)]/.214 = 4.68 P < 0.005, degrees of freedom = 6 T-TEST: (x 1 - x 2 )√n 1 n 2 /(n 1 + n 2 ) √[(n 1 – 1)s (n 2 – 1)s 2 2 ]/(n 1 + n 2 – 2) t = Data do not have to be counts. Easier to see differences (more powerful) than nonparametric statistics. Null hypothesis: no difference in proportion of red between strata #1 and #2. Proportion red Frequency

T-TEST: Use Hypothesis testing in Analyze in MYSTAT for means

PARAMETRIC TESTS (data is normally distributed) EVEN MORE POWERFUL IF A PRIORI BASIS TO PAIR OBSERVATIONS. strata RED RED RED #1#2 #3 P < 0.001, degrees of freedom = n-1 = 3 PAIRED T-TEST: Pairs: 0.5 – 0 = 0.5; 1.0 – 0 = 1.0; = 0.67; 0.67 – 0 = 0.67 mean = 0.71, sd = 0.21 t = 0.71/(0.21/√4) = 6.76 Data do not have to be counts. Easier to see differences (more powerful) than nonparametric statistics. Null hypothesis: no difference in relative abundance of red between strata #1 and #2 for matched plots based on similarity.

PARAMETRIC TESTS (data is normally distributed) strata RED RED RED #1#2 #3 Strata #1: mean = 2.0, sd = 0.82, n = 4 Strata #2: mean = 0.25, sd = 0.5, n =4 t = [(2 – 0.25)(1.41)]/ 0.68 = 3.63 P < 0.01, degrees of freedom = 6 T-TEST: Data do not have to be counts. Easier to see differences (more powerful) than nonparametric statistics. Null hypothesis: no difference in absolute abundance of red between strata #1 and #2. Now use numbers not proportions.

strata RED RED RED #1#2 #3 STATISTICAL TESTS Null hypothesis: there is no relationship between red vs. blue + green in plots. REGRESSION ANALYSIS: 5 RED = 2.33 – 0.75(BLUE or GREEN) r 2 = 0.75, r = Degrees of freedom = 12 – 2 = 10 P < 0.001

REGRESSION ANALYSIS: Use Regression … Linear … Least squares in Analyze in MYSTAT Select dependent (y) and independent (x) variables

WHAT IF MULTIPLE COMPARISONS OF A CATEGORY (ANOVA) strata RED RED RED #1#2 #3 Three possible t-test comparisons: #1 vs. #2 #1 vs. #3 #2 vs. #3 PROBLEM: As number of comparisons increases, the likelihood of finding at least one significant difference by chance increases. ANOVA takes this into account to compare differences in mean values. F = df = 2, 9 (strata -1, samples – strata) p < PARAMETRIC TESTS (data is normally distributed) Null hypothesis: no difference in relative abundance of red among all strata. 1-WAY ANOVA:

ANOVA: Use Analysis of variance … Estimate model in Analyze in MYSTAT Select continuous dependent (y) variable and categorical independent (x) variables

MULTIPLE COMPARISONS (ANOVA): (Which specific differences are significant?) strata RED RED RED #1#2 #3 Post –hoc analysis: Must compensate for number of comparisons and the fact that a difference is already known to be significant. Bonferroni test : (t-test adjusted for # of comparisons) #1 vs. #2 – p < #1 vs. #3 – p < #2 vs. #3 – p < 1.0

ANOVA – POST HOC: (cannot do with MYSTAT, but will with SYSTAT) Use Analysis of variance … Estimate model … Hypothesis test in Analyze in SYSTAT

MULTIPLE COMPARISONS (ANOVA): (several independent categorical variables) strata RED RED RED #1#2 #3 DISTANCE FROM EDGE near far Strata: F = 15.65; df = 2,6; p < Distance: F = 0.12; df = 1,6; p < 0.74 Strata X Distance Interaction: F = 0.51; df = 2,6; p < 0.63 Null hypothesis: no difference in relative abundance of red between strata and with distance into the woods. TWO-WAY ANOVA: COULD HAVE N-WAY ANOVA, YOUR PROJECT SHOULD NOT EXCEED A 2-WAY.

SEASONABCmean I 1232 II 2222 III 3212 mean222 2 LOCATION NO MAIN EFFECTS (SEASON or LOCATION – no differences) INTERACTION IS SIGNIFICANT (greatest at A:III and C:I) THE INTERACTION TERM’S MEANING (no variety)

SEASONABCmean I 1232 II 4565 III 7898 mean456 5 LOCATION MAIN EFFECTS (SEASON or LOCATION -- differences) NO INTERACTION (highest always in C and III) (wider variety) THE INTERACTION TERM’S MEANING

MULTIPLE COMPARISONS (ANCOVA): (several independent variables: one categorical and one continuous ) strata RED RED RED #1#2 #3 DISTANCE FROM EDGE near far ANCOVA: Blue + Green: F = 36.10; df = 1,9; p < Distance: F = 0.78; df = 1,9; p < 0.40 Interaction (slope): F = 0.08; df = 1,8; p < 0.08 Null hypothesis: no difference in relative abundance of red with blue + green and distance into the woods (assume equal slopes). COULD HAVE N-WAY ANCOVA,

ANCOVA: Use Analysis of variance … Estimate model in Analyze in MYSTAT. In SYSTAT use General linear model … Estimate model in Analyze Select continuous dependent (y) variable and categorical independent (x 1 ) variable and covariate (x 2 ). In SYSTAT, create interaction term to test slope.

DATA TRANSFORMATIONS (can normalize data or make it continuous so parametric statistics can be used, or make data linear for regression) Data are not always normally distributed, but a transformation may make it normal (e.g., log). If it cannot be normalized then must use non-parametric statistics (less powerful). Data are not always continuous, percentages or proportions are not continuous because they cannot be less than 0 or greater than 100 or 1. To make them continuous from 0 to infinity or –infinity to +infinity, you can use transforms: arcsine transform = arcsin  proportion; logarithmic transform = log(proportion)* logit transform = log (proportion/1-proportion)*. This stretches both tails and compresses the peak to approximate a continuous normal distribution. * If some proportions = 0 or 1, then add a small constant to all values (e.g, 0.001) Data for regression are not always linear, various transformations, especially log x, log y or both, can transform a curve into a straight line. What do logarithmic transforms imply about the linear function?

DATA TRANSFORMATIONS Use Data … Transform … Let in MYSTAT.

ARE OBSERVATIONS OBTAINED DIFFERENT? Different statistical tests for different problems. You will use these basic tests in your research ( χ 2, t-test, Regression, ANOVA, ANCOVA ) Your research project should not be so complicated that more advanced tests are required. Always graph your data and state your hypothesis.

USE MYSTAT WITH DATA FILES CREATED LAST WEEK (be sure to set 6 decimal places -- Edit … Options … Output in MYSTAT so p values are exact) Meadow vole (Microtus pennsylvanicus) Yellowbellied marmot (Marmota flaviventris) UNDERC-WEST (National Bison Range)

Does snap-trapping lead to a sex bias in Microtus? What is the relationship between length and mass for Microtus? (hint: need to useData … Transform … Let) Do Microtus and Marmota exhibit similar length and mass growth relationships? (hint: think about question above) Does Marmota mass vary with month? Explain ecologically what you see. Does reproductive status of female Microtus differ with mass? Why do you observe this? (hint: need to use Data … Select cases) Does the reproductive status of male and female Microtus with mass differ? Due in two weeks! WITH MYSTAT ANSWER THESE QUESTIONS: (you will use χ 2, regression, t-test, 2-way ANOVA, ANCOVA)