6/4/2016Slide 1 The one sample t-test compares two values for the population mean of a single variable. The two-sample t-test of population means (aka.

Slides:



Advertisements
Similar presentations
Independent t -test Features: One Independent Variable Two Groups, or Levels of the Independent Variable Independent Samples (Between-Groups): the two.
Advertisements

SW388R6 Data Analysis and Computers I Slide 1 Paired-Samples T-Test of Population Mean Differences Key Points about Statistical Test Sample Homework Problem.
One-sample T-Test of a Population Mean
5/15/2015Slide 1 SOLVING THE PROBLEM The one sample t-test compares two values for the population mean of a single variable. The two-sample test of a population.
Assumption of normality
Testing means, part III The two-sample t-test. Sample Null hypothesis The population mean is equal to  o One-sample t-test Test statistic Null distribution.
T-Tests.
t-Tests Overview of t-Tests How a t-Test Works How a t-Test Works Single-Sample t Single-Sample t Independent Samples t Independent Samples t Paired.
T-Tests.
PSY 307 – Statistics for the Behavioral Sciences
Independent t-Test CJ 526 Statistical Analysis in Criminal Justice.
5-3 Inference on the Means of Two Populations, Variances Unknown
Multiple Regression – Basic Relationships
Hypothesis Testing Using The One-Sample t-Test
Hypothesis Testing: Two Sample Test for Means and Proportions
Assumption of Homoscedasticity
SW388R6 Data Analysis and Computers I Slide 1 One-sample T-test of a Population Mean Confidence Intervals for a Population Mean.
SW388R7 Data Analysis & Computers II Slide 1 Assumption of normality Transformations Assumption of normality script Practice problems.
SW388R7 Data Analysis & Computers II Slide 1 Multiple Regression – Basic Relationships Purpose of multiple regression Different types of multiple regression.
SW388R7 Data Analysis & Computers II Slide 1 Multiple Regression – Split Sample Validation General criteria for split sample validation Sample problems.
Week 9 October Four Mini-Lectures QMM 510 Fall 2014.
8/15/2015Slide 1 The only legitimate mathematical operation that we can use with a variable that we treat as categorical is to count the number of cases.
Sampling Distribution of the Mean Problem - 1
SW318 Social Work Statistics Slide 1 Estimation Practice Problem – 1 This question asks about the best estimate of the mean for the population. Recall.
8/20/2015Slide 1 SOLVING THE PROBLEM The two-sample t-test compare the means for two groups on a single variable. the The paired t-test compares the means.
8/23/2015Slide 1 The introductory statement in the question indicates: The data set to use: GSS2000R.SAV The task to accomplish: a one-sample test of a.
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.
Inferential Statistics: SPSS
Chapter 13 – 1 Chapter 12: Testing Hypotheses Overview Research and null hypotheses One and two-tailed tests Errors Testing the difference between two.
Week 9 Chapter 9 - Hypothesis Testing II: The Two-Sample Case.
Copyright © 2012 by Nelson Education Limited. Chapter 8 Hypothesis Testing II: The Two-Sample Case 8-1.
Review of Statistical Inference Prepared by Vera Tabakova, East Carolina University ECON 4550 Econometrics Memorial University of Newfoundland.
Statistical Analysis Statistical Analysis
SW388R7 Data Analysis & Computers II Slide 1 Assumption of Homoscedasticity Homoscedasticity (aka homogeneity or uniformity of variance) Transformations.
Education 793 Class Notes T-tests 29 October 2003.
EDRS 6208: Fundamentals of Educational Research 1
Week 8 Chapter 8 - Hypothesis Testing I: The One-Sample Case.
Copyright © 2012 by Nelson Education Limited. Chapter 7 Hypothesis Testing I: The One-Sample Case 7-1.
Independent Samples t-Test (or 2-Sample t-Test)
110/10/2015Slide 1 The homework problems on comparing central tendency and variability extend our focus on central tendency and variability to a comparison.
T-TEST Statistics The t test is used to compare to groups to answer the differential research questions. Its values determines the difference by comparing.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Section Inference about Two Means: Independent Samples 11.3.
6/2/2016Slide 1 To extend the comparison of population means beyond the two groups tested by the independent samples t-test, we use a one-way analysis.
SW388R6 Data Analysis and Computers I Slide 1 Independent Samples T-Test of Population Means Key Points about Statistical Test Sample Homework Problem.
SW388R6 Data Analysis and Computers I Slide 1 Multiple Regression Key Points about Multiple Regression Sample Homework Problem Solving the Problem with.
11/4/2015Slide 1 SOLVING THE PROBLEM Simple linear regression is an appropriate model of the relationship between two quantitative variables provided the.
Independent t-Test CJ 526 Statistical Analysis in Criminal Justice.
11/16/2015Slide 1 We will use a two-sample test of proportions to test whether or not there are group differences in the proportions of cases that have.
11/19/2015Slide 1 We can test the relationship between a quantitative dependent variable and two categorical independent variables with a two-factor analysis.
Chi-square Test of Independence
SW318 Social Work Statistics Slide 1 One-way Analysis of Variance  1. Satisfy level of measurement requirements  Dependent variable is interval (ordinal)
SW388R6 Data Analysis and Computers I Slide 1 One-way Analysis of Variance and Post Hoc Tests Key Points about Statistical Test Sample Homework Problem.
SW388R6 Data Analysis and Computers I Slide 1 Percentiles and Standard Scores Sample Percentile Homework Problem Solving the Percentile Problem with SPSS.
Introduction to the t Test Part 1: One-sample t test
Chapter 10 The t Test for Two Independent Samples
Smoking Data The investigation was based on examining the effectiveness of smoking cessation programs among heavy smokers who are also recovering alcoholics.
ONE-WAY BETWEEN-GROUPS ANOVA Psyc 301-SPSS Spring 2014.
12/23/2015Slide 1 The chi-square test of independence is one of the most frequently used hypothesis tests in the social sciences because it can be used.
1/5/2016Slide 1 We will use a one-sample test of proportions to test whether or not our sample proportion supports the population proportion from which.
© Copyright McGraw-Hill 2004
1/11/2016Slide 1 Extending the relationships found in linear regression to a population is procedurally similar to what we have done for t-tests and chi-square.
1-Sample t-test Amir Hossein Habibi.
Analysis of Variance STAT E-150 Statistical Methods.
2/24/2016Slide 1 The standard deviation statistic is challenging to present to our audiences. Statisticians often resort to the “empirical rule” to describe.
HYPOTHESIS TESTING FOR DIFFERENCES BETWEEN MEANS AND BETWEEN PROPORTIONS.
CHAPTER 7: TESTING HYPOTHESES Leon-Guerrero and Frankfort-Nachmias, Essentials of Statistics for a Diverse Society.
Chapter 10: The t Test For Two Independent Samples.
When the means of two groups are to be compared (where each group consists of subjects that are not related) then the excel two-sample t-test procedure.
Multiple Regression – Split Sample Validation
Presentation transcript:

6/4/2016Slide 1 The one sample t-test compares two values for the population mean of a single variable. The two-sample t-test of population means (aka independent samples t-test) compares the population means for two groups of subjects on a single variable. The null hypothesis for this test is: there is no difference between the population mean of the variable for one group of subjects and the population mean of the same variable for a second group of subjects. In addition to our concern with the assumption of normality for each group and the number of cases in each group if we are to apply the Central Limit Theorem, this test also requires us to examine the spread or dispersion of both groups so that the measure of standard error used in the t-test fairly represents both group. The equality of the spread across groups is tested with the Levene test of homogeneity of variance. The Levene test of homogeneity of variance tests the null hypothesis that the variances of the two groups are equal versus the alternative hypothesis that the variance of the first group is different from the variance of the second group. Failure to reject the null supports the assumption of homogeneity, and is the desired outcome. However, the failure to satisfy the assumption of homogeneity in the independent samples t-test is easily corrected by using an alternative formula for computing the standard error of the sampling distribution.

6/4/2016Slide 2 The authors of our text suggest we always use the formula that assumes the homogenity of variance assumption is violated. If we use this version of the statistic and the variances are in fact equal, the results of the test are comparable to what we would obtain using the formula for equal variances. We will not take the authors advice, but will instead pay attention to the Levene test as an example of hypothesis tests of diagnostic statistics. In these t-tests and many other tests, we will state the degrees of freedom (df) in our report of the statistical test. Degrees of freedom is generally based on the sample size and the number of statistics that are computed. Degrees of freedom start out equal to the number of cases in our sample, and decrease for each statistic that we compute. For example, in computing the variance or standard deviation, the total sum of squares is divided by the number of cases – 1, where the minus 1 is the 1 degree of freedom that is used when we computed the mean in order to compute the deviations from the mean. After computing the mean, n – 1 of the scores in the distribution are still free do vary, so we say we have n – 1 degrees of freedom left. SPSS generally reports the degrees of freedom in most tests, and we can use the number reported in our presentation of statistical results.

6/4/2016Slide 3 This is the template for independent samples t-test problems with correct answers filled in.

6/4/2016Slide 4 The first two blanks want you to enter the number in each of the groups. The number should be entered as an integer without decimal fractions, but it will not be marked incorrect if decimals are included. To obtain the number in each group, as well as the statistics needed, we run the Independent Samples T Test.

6/4/2016Slide 5 To produce the Independent- Samples T-Test, select the Compare Means > Independent Samples T Test command from the Analyze menu. If you are doing these problems right after doing the one-sample t-test problems, close and re-open the data set to make sure you are including all cases.

6/4/2016Slide 6 Second, click on the right arrow button to move prison to the Test Variable(s) list box. First, highlight the dependent variable prison in the list of variables.

6/4/2016Slide 7 Second, click on the right arrow button to move freeMove to the Grouping Variable text box. First, highlight the independent variable freeMove in the list of variables.

6/4/2016Slide 8 Next, click on the Define Groups button to enter the numeric codes for the groups. When the independent variable is entered, SPSS appends two questions marks that it wants replaced with the code numbers for the groups.

6/4/2016Slide 9 First, enter 0 for restricted as Group 1. Second, enter 1 for generally unrestricted as Group 2. Third, click on the Continue button to close the dialog box. If I did not remember the code numbers for the freedom of movement variable, I would look them up in the Variable View of the SPSS Data Editor.

6/4/2016Slide 10 Third, click on the OK button to produce the output. SPSS replaces the question marks with the codes I entered.

6/4/2016Slide 11 The number of cases in each group is listed in the table of group statistics. Group 1 (restricted) had 64 cases, while group 2 (generally unrestricted) had 107 cases.

6/4/2016Slide 12 The next item is a drop-down menu of choices to summarize our assessment of the normality of the distribution of the dependent variable. The criteria for normality are stated in the notes.

6/4/2016Slide 13 The distribution is not nearly normal for all three criteria: skewness, kurtosis, and number of outliers. To continue with the problem, we will need to rely on the central limit theorem to satisfy the assumption of normality for the sampling distribution. The criteria for the central limit theorem for the independent samples t-test is listed in the notes.

6/4/2016Slide 14 The central limit theorem requires that we have 40 cases in each group. We have 64 and 107, so the distribution of sample differences will be normally distributed even though the sample distribution for the variable is not.

6/4/2016Slide 15 The next blanks expect us to enter the value of the F ratio and p-value for the Levene test of homogeneity of variance. The Levene test of homogeneity of variance tests the null hypothesis that the variance of the two groups is equal versus the alternative hypothesis that the variance of the first group is different from the variance of the second group. Failure to reject the null supports the assumption of homogeneity, and is the desired outcome. However, the failure to satisfy the assumption of homogeneity in the independent samples t-test is easily corrected by using an alternative formula for computing the standard error of the sampling distribution.

6/4/2016Slide 16 We transfer the statistics from the Levene test to the blanks in the problem, and select the “=“ sign for the comparison of the p- value.

6/4/2016Slide 17 Since the p-value for the Levene test (.124) was greater than alpha, we fail to reject the null hypothesis of equal variance and conclude that there is not a significant violation.

6/4/2016Slide 18 Since there was no significant violation, the variances were equal and we use the pooled variance formula (equal variances assumed in SPSS) for the t-test. Had there been a significant violation, the variances were not equal and we use the separate variance formula (equal variances not assumed in SPSS) for the t-test.

6/4/2016Slide 19 The first sentence of the next paragraph compares the means and standard deviations of the groups.

6/4/2016Slide 20 We transfer the mean and standard deviation for the restricted group from the Group Statistics table.

6/4/2016Slide 21 We transfer the mean and standard deviation for the unrestricted group from the Group Statistics table.

6/4/2016Slide 22 Since the mean of the restricted group was lower than the mean of the unrestricted group, we choose lower for the comparison.

6/4/2016Slide 23 The second sentence in this paragraph addresses the statistical significance of the difference in group means. We are testing the null hypothesis that the population mean represented by group 1 is equal to the population mean represented by group 2, which can also be stated as: the population mean for group 2 minus the population mean for group 1 is equal to 0. The alternative hypothesis is that the population means represented by the two sample groups are not the same. This is a two-tailed hypothesis. One-tailed differences can also be tested, but they are not used in these problems.

6/4/2016Slide 24 We transfer the results for the statistical test from the SPSS output to the narrative description in the APA format. We report the results in APA style, i.e. t(degrees of freedom) = t statistic, p = the p-value, followed by an indication that a one-tailed or two-tailed significance was interpreted.

6/4/2016Slide 25 Since the p-value of.035 is less than the alpha of.05, we reject the null hypothesis and assert that the difference in the sample means was statistically different.

6/4/2016Slide 26 Though it is redundant information, we will include the confidence interval in the problem narrative. It is redundant information because it is simply a different strategy for deciding whether or not to reject the null hypothesis.

6/4/2016Slide 27 We enter the lower and upper bound for the 95% confidence interval from the SPSS output. The null hypothesis stated that the difference between the population means represented by the two sample means was 0. We reject the null hypothesis because 0 does not fall within the confidence interval.

6/4/2016Slide 28 Finally, we select a summary statement for the test. If the test was not statistically significant, we would conclude that the groups had a similar prison population. If the test is statistically significant, we choose the conclusion that correctly states whether the first group was higher or lower than the second group.

6/4/2016Slide 29 Since the t-test in this problem was statistically significant, and countries with restricted travel had a lower mean, we conclude that countries with restricted travel had a lower prison population per hundred thousand population.

6/4/2016Slide 30 The green shading of the answers when we submit the problem indicate that our answers are correct.