Session 2 Introduction to compare mean

Slides:



Advertisements
Similar presentations
Comparing Two Means: One-sample & Paired-sample t-tests Lesson 12.
Advertisements

Lecture (11,12) Parameter Estimation of PDF and Fitting a Distribution Function.
The Independent- Samples t Test Chapter 11. Independent Samples t-Test >Used to compare two means in a between-groups design (i.e., each participant is.
Analysis and Interpretation Inferential Statistics ANOVA
Comparing Two Population Means The Two-Sample T-Test and T-Interval.
Mean for sample of n=10 n = 10: t = 1.361df = 9Critical value = Conclusion: accept the null hypothesis; no difference between this sample.
Chapter Goals After completing this chapter, you should be able to:
Independent t-Test CJ 526 Statistical Analysis in Criminal Justice.
Test statistic: Group Comparison Jobayer Hossain Larry Holmes, Jr Research Statistics, Lecture 5 October 30,2008.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 9-1 Introduction to Statistics Chapter 10 Estimation and Hypothesis.
A Decision-Making Approach
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 10-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
Independent Sample T-test Often used with experimental designs N subjects are randomly assigned to two groups (Control * Treatment). After treatment, the.
Chapter 10, sections 1 and 4 Two-sample Hypothesis Testing Test hypotheses for the difference between two independent population means ( standard deviations.
Independent Sample T-test Classical design used in psychology/medicine N subjects are randomly assigned to two groups (Control * Treatment). After treatment,
The Chi-square Statistic. Goodness of fit 0 This test is used to decide whether there is any difference between the observed (experimental) value and.
Estimation and Hypothesis Testing Faculty of Information Technology King Mongkut’s University of Technology North Bangkok 1.
Inferential Statistics: SPSS
Introduction to Linear Regression and Correlation Analysis
Two Sample Tests Ho Ho Ha Ha TEST FOR EQUAL VARIANCES
8 - 1 © 2003 Pearson Prentice Hall Chi-Square (  2 ) Test of Variance.
Two Sample Tests Nutan S. Mishra Department of Mathematics and Statistics University of South Alabama.
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
Pengujian Hipotesis Dua Populasi By. Nurvita Arumsari, Ssi, MSi.
A Course In Business Statistics 4th © 2006 Prentice-Hall, Inc. Chap 9-1 A Course In Business Statistics 4 th Edition Chapter 9 Estimation and Hypothesis.
Independent t-Test CJ 526 Statistical Analysis in Criminal Justice.
Analysis of Variance (One Factor). ANOVA Analysis of Variance Tests whether differences exist among population means categorized by only one factor or.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-1 Chapter 11 Chi-Square Tests and Nonparametric Tests Statistics for.
1 ANALYSIS OF VARIANCE (ANOVA) Heibatollah Baghi, and Mastee Badii.
Principles of Biostatistics ANOVA. DietWeight Gain (grams) Standard910 8 Junk Food Organic Table shows weight gains for mice on 3 diets.
The Single-Sample t Test Chapter 9. t distributions >Sometimes, we do not have the population standard deviation. (that’s actually really common). >So.
Chapter 10 The t Test for Two Independent Samples
Inferences Concerning Variances
Econ 3790: Business and Economic Statistics Instructor: Yogesh Uppal
© The McGraw-Hill Companies, Inc., Chapter 12 Analysis of Variance (ANOVA)
Module 25: Confidence Intervals and Hypothesis Tests for Variances for One Sample This module discusses confidence intervals and hypothesis tests.
Lecture 8 Estimation and Hypothesis Testing for Two Population Parameters.
SUMMARY EQT 271 MADAM SITI AISYAH ZAKARIA SEMESTER /2015.
Analysis of Variance ANOVA - method used to test the equality of three or more population means Null Hypothesis - H 0 : μ 1 = μ 2 = μ 3 = μ k Alternative.
 List the characteristics of the F distribution.  Conduct a test of hypothesis to determine whether the variances of two populations are equal.  Discuss.
Statistical Inferences for Population Variances
Inference concerning two population variances
Inferential Statistics
Statistical Significance
Introduction For inference on the difference between the means of two populations, we need samples from both populations. The basic assumptions.
Chapter 12 Chi-Square Tests and Nonparametric Tests
Introduction to Hypothesis Test – Part 2
Chapter 10 Two-Sample Tests and One-Way ANOVA.
Chapter 10 Two Sample Tests
Unit 8 Section 7.5.
Factorial Experiments
ANOVA Econ201 HSTS212.
Statistical Quality Control, 7th Edition by Douglas C. Montgomery.
Math 4030 – 10b Inferences Concerning Variances: Hypothesis Testing
Estimation & Hypothesis Testing for Two Population Parameters
Confidence Intervals and Hypothesis Tests for Variances for One Sample
Math 4030 – 10a Tests for Population Mean(s)
Chapter 11 Hypothesis Testing II
Hypothesis testing March 20, 2000.
Meead Saberi K., Portland State University
Data Analysis and Interpretation
Hypothesis Testing: Two Sample Test for Means and Proportions
Section 11.2: Carrying Out Significance Tests
T-test for 2 Independent Sample Means
Statistics in SPSS Lecture 8
Reasoning in Psychology Using Statistics
One way ANALYSIS OF VARIANCE (ANOVA)
Parametric versus Nonparametric (Chi-square)
InferentIal StatIstIcs
Statistical Inference for the Mean: t-test
Presentation transcript:

Session 2 Introduction to compare mean Dr. Tu Van Binh

Compare means and test Compare means Independent samples T test: two independent groups Paired samples T test: Paired variables Comparing more than two independent groups: Analysis of Variance (ANOVA) or Kruskal Wallis test https://statistics.laerd.com/statistical-guides/independent-t-test-statistical-guide.php https://statistics.laerd.com/spss-tutorials/independent-t-test-using-spss-statistics.php

Compare means and test Calculate means of values, percent Show different between two groups Test significant differences Significant level Value of Sig. < 0.01  Significant at 1% 0.01 ≤ Value of Sig. < 0.05  Significant at 5% 0.05 ≤ Value of Sig. < 0.1  Significant at 10%

Compare means - SPSS File: dataspss2.2-Electronic Compare two groups of male and female with satisfaction on Electronic Supermarkets (Q9) (Q9.1) Discussion on empirical result Conclusion how different between two groups

Manual Guide

Empirical result Where to check significant

Samples of hypothesis H0: The income of male is equal to that of female; H1: Reject H0 Prob.1 H0: The energy (working hours) of female is equal to that of male H1: Reject H0 Prob.2 H0: Sleeping hours of male and female are the same H1: Reject H0 Prob.3

Level of Significance: and the Rejection Region 1-= non-rejection region H0: Ha: /2 = Rejection region /2 = Rejection region Two-tail test H0: 1-= non-rejection region H0: Ha:  = Rejection region Upper-tail test H0: H0: Ha: 1-= non-rejection region  = Rejection region Lower-tail test  = level of significance = Critical Value

Large sample test of hypothesis One-tailed test Two tailed test H0: H0: Ha: Ha: Where D0 = Hypothesized difference between the means (this is often 0) Test statistic: Test statistic: Where is the standard deviation of sample 1, is of the SD of sample 2 Rejection region: Table value Rejection region: Table value Assumption: or Zα table value: df. = n1+ n2 – 1 (file table enclosed) Confident interval = (1- α)

Formula for sample standard deviation Note: Square of sample standard deviation is sample variance

Conclusion There is an evident difference in revenue between service and industry Or there is a significant difference at 5 percent level in revenue between service and industry Of which the revenue of service is significantly higher than that of industry.

Practice File: CFVG MMSS9 student sample Compare means of “sleeping hours” between married student and single student Apply t-test to test a difference in mean values of sleeping hours between married and single students Discussion

Practice File: dataspss2.1 Compare means of export values of small size company and large size company (Q208 by Q2group). Apply t-test to test a difference in mean values of exporting companies between those two groups above Discussion and conclusion

Group Assignment File: MCCdata.xls (raw data) MCC-questionnaire.xls (questionnaire) Questions concerned: Q3, Q4, Q8, Q11, Q12, Q14, Q15, Q16, Q17, Q18, Agegroup. Assignment: Groups select at least 4 variables (4 variable) to present results of “descriptive analysis), and discuss output Think Frequency and Crosstab; compare mean

Paired-Samples T-Test of Population Mean Differences The same observation Two variables compared are seemly the same kind of things that we want to compare Compare between two periods, or between two characteristics, etc File: dataspss2.2-Electronic

Practice :file: QUESTIONNAIRE-Electronic ; File: data-Electronic Paired sample t-test Nguyen Kim (Q9.5) vs. IDEAS (Q9.1) Nguyen Kim (Q9.5) vs. Phan Khang (Q9.2) Nguyen Kim (Q9.5) vs. Thien Hoa (Q9.3) Nguyen Kim (Q9.5) vs Cho Lon (Q9.4) Conclusion

Solving the problem with SPSS: The paired-samples t-test - 1 Having satisfied the level of measurement and assumption of normality, we now request the statistical test. Select Compare Means > Paired-Samples T Test… from the Analyze menu.

Analysis of Variance (ANOVA) Comparing more than two independent groups: Analysis of Variance (ANOVA) or Kruskal Wallis test

Test three groups by ANOVA H1: At least two treatment means differ Assumptions: All p population probability distribution are normal The p population variances equal Samples are selected randomly and independently from respective populations

Application to test satisfaction on supermarkets (Q9) regarding to income (Q19) Identify groups available ANOVA test

Manual Guide

Group practice Each group checks its owned database Select two categorical variables Compare some variables Interpreting output