1 / 25

Basic Statistics

Basic Statistics. Inferences About Two Population Means. STRUCTURE OF STATISTICS. TABULAR. DESCRIPTIVE. GRAPHICAL. NUMERICAL. STATISTICS. ESTIMATION. INFERENTIAL. TESTS OF HYPOTHESIS. Research situation for independent two-samples t-Test.

osma
Download Presentation

Basic Statistics

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Basic Statistics Inferences About Two Population Means

  2. STRUCTURE OF STATISTICS TABULAR DESCRIPTIVE GRAPHICAL NUMERICAL STATISTICS ESTIMATION INFERENTIAL TESTS OF HYPOTHESIS

  3. Research situation for independent two-samples t-Test A social psychologist wanted to determine if the development of “generosity”was related to the gender of children. As a pilot study the psychologist obtained a random sample of 4-year-old boys and girls. In a group setting, each child was given 16 small pieces of candy and asked to “put some in a sack for your very best friend.” The numbers of pieces of candy set aside for friend by 10 girls and 10 boys are shown below:

  4. The Research Design In a group setting, each child was given 16 small pieces of candy and asked to “put some in a sack for your very best friend.” The numbers of pieces of candy set aside for the friend by 10 girls and 10 boys are shown below: Gender Boy Girl n=10 X=12 n=10 X= 10 DV:Generosity

  5. Step by Step: The Two-Sample Test of Hypothesis Using the t-test. • State Research Problem or Question • Establish the Hypotheses • Establish Level of Significance • Collect Data • Calculate Statistical Test • Interpret the Results

  6. State the Research Hypothesis There is a difference between 4-year-old boys and girls in their levels of generosity. Gender Independent Variable difference Girl Boy Generosity Dependent Variable

  7. Research or Alternative Hypothesis The research question is “Is there is a difference in the development of generosity between boys and girls. Therefore, the research hypothesis is:

  8. Setting the Null Hypothesis The null hypothesis is set by “nullifying” the research hypothesis. Since μboy = μgirl can be written as μboy – μgirl = 0, the null hypothesis can be written:

  9. ? 4-year-old BOYS 4-year-old GIRLS GIRL Population Difference Research Hypothesis n=10 n=10 Random sampling girls boys Random Sample Generosity Generosity Measurement of DV difference Calculation of mean

  10. Identify the Test Statistic We will be using Confidence Intervals to test the hypotheses about the differences in two population means.

  11. We have already seen that we can estimate the individual population means with sample means. We have also seen that the null hypothesis can be written as follows: If we consider μ1 – μ2 the parameter we are estimating, we can estimate it with: While we do not know the sampling distribution of the difference, we do know it for both of the sample means individually. We must find out how to combine them. We will illustrate how it might be done with a simple example.

  12. Consider the following example: We have the following two distributions of X1 and X2: We are going to combine these two distributions into one distribution of (X1 - X2): X1 - X2f 1-2 = -1 -1 1 2 0 1 1-1 = 0 1 1 2-2 = 0 2-1 = 1 Mean of X1- X2 = 0 Range of X1 = 2 – 1 = 1 Range of X2 = 2 – 1 = 1 Range of (X1 – X2) = 1 – (-1) = 2

  13. What do we know for the problem at hand? 1. From the CLT, we know that the sample means from the population of boys and the population of girls (sampling distributions) are distributed approximately normally. 2. We know that the means of the original distributions of boys and girls (μboys and μgirls) have the same population means as the sampling distributions. 3. We also know that the standard deviations of the sampling distributions are the same as those in the original distributions of boys and girls, except they are divided by the square roots of the sample sizes. 4. Finally, we know from the demonstration on the previous slide that the mean of the difference is the difference in the means and variability of the difference is the sum of the variability of the individual distributions.

  14. Deriving a Sampling Distribution of Mean Difference 0 Standard error of difference for independent-samples =

  15. Calculating the “Pooled” Variance This variance is referred to as the “pooled” variance since it contains the appropriate (weighted by the sample sizes) amount of information from each of the two samples.

  16. Testing with Confidence Intervals and t-Test • The formula for the confidence interval for two independent samples is: • The formula for the two-sample t-test is Note that m1-m2 is hypothesized to be 0!

  17. Conducting the Statistical Test: We will use the 95% Confidence Interval From our problem: nboys = 10 ngirls = 10 = 12 = 10 Sboys = 2.5 Sgirls = 3.0 =

  18. The 95% Confidence Interval = 12-10 + 2.262(1.23) = 2 +2.78 = 4.78 and = 2 – 2.78 = -0.78 We are 95% confident that the mean difference between boy’s and girl’s generosity is between –0.78 and 4.78. Since 0 is in the interval, we accept the Null Hypothesis of no difference in generosity.

  19. A Graphical Representation of Results Sampling distribution of mean differences 0 95% Confidence Interval -0.78 +4.78

  20. The “Dependent” Samples t-test The previous example assumed independent random sampling. What if the two samples are dependent on each other?

  21. An Example • Assume that the government plans to evaluate its campaign to conserve gasoline. Twelve families are randomly selected and their gasoline consumption is measured before and after the campaign. The data are presented on the next slide. • This problem is on page 322 of your text using the t-statistic. Compare the answers!

  22. The Data

  23. Confidence Interval for Dependent Samples In essence, we will treat the differences in the two samples as if we were calculating a one-sample confidence interval. We must calculate the mean difference d and the standard deviation of the differences Sd

  24. Calculating the 95% Confidence Interval Thus, we estimate, at a 95% level of confidence, that the real difference is between 4.12 and 19.48 gallons and we reject the Null Hypothesis and conclude the campaign did affect gas consumption. (see page 324)

  25. Summary of Two Sample Tests • We can use confidence intervals to test an hypothesis about the difference in two independent samples. • We can also use confidence intervals to test an hypothesis about the difference in two dependent samples. • The conclusions reached using confidence intervals are exactly the same as using the t-statistic.

More Related