What is an independent samples-t test?

431
Independent Samples T- Tests

description

What is an independent samples-t test?

Transcript of What is an independent samples-t test?

Page 1: What is an independent samples-t test?

Independent Samples T-Tests

Page 2: What is an independent samples-t test?

Another application of the t-tests is the independent samples t-test.

Page 3: What is an independent samples-t test?

An independent samples t-test evaluates whether two means from two samples of the same dependent variable are significantly different from one another.

Example: Same dependent variable - Baby birth weight

Independent Variable: - Two groups of expectant mothers:

Those who consumeless than 2 gallons of ice cream per monthmore than 2 gallons of ice cream per month

Page 4: What is an independent samples-t test?

An independent samples t-test evaluates whether two means from two samples of the same dependent variable are significantly different from one another.

Example: Same dependent variable - Baby birth weight

Independent Variable: - Two groups of expectant mothers:

Those who consumeless than 2 gallons of ice cream per monthmore than 2 gallons of ice cream per month

mean 1 mean 2

Page 5: What is an independent samples-t test?

An independent samples t-test evaluates whether two means from two samples of the same dependent variable are significantly different from one another.

Example: Same dependent variable - Baby birth weight

Independent Variable: - Two groups of expectant mothers:

Those who consumeless than 2 gallons of ice cream per monthmore than 2 gallons of ice cream per month

Page 6: What is an independent samples-t test?

An independent samples t-test evaluates whether two means from two samples of the same dependent variable are significantly different from one another.

Example: Same dependent variable - Baby birth weight

Independent Variable: - Two groups of expectant mothers:

Those who consumeless than 2 gallons of ice cream per monthmore than 2 gallons of ice cream per month

mean 1mean 2

Page 7: What is an independent samples-t test?

An independent samples t-test evaluates whether two means from two samples of the same dependent variable are significantly different from one another.

Example: Same dependent variable - Baby birth weight

Independent Variable: - Two groups of expectant mothers:

Those who consumeless than 2 gallons of ice cream per monthmore than 2 gallons of ice cream per month

mean 1 mean 2

Page 8: What is an independent samples-t test?

An independent samples t-test evaluates whether two means from two samples of the same dependent variable are significantly different from one another.

Example: Same dependent variable - Baby birth weight

Independent Variable: - Two groups of expectant mothers:

Those who consumeless than 2 gallons of ice cream per monthmore than 2 gallons of ice cream per month

mean 1 mean 2

Page 9: What is an independent samples-t test?

An independent samples t-test evaluates whether two means from two samples of the same dependent variable are significantly different from one another.

Example: Same dependent variable - Baby birth weight

Independent Variable: - Two groups of expectant mothers:

Those who consumeless than 2 gallons of ice cream per monthmore than 2 gallons of ice cream per month

Page 10: What is an independent samples-t test?

An independent samples t-test evaluates whether two means from two samples of the same dependent variable are significantly different from one another.

Example: Same dependent variable - Baby birth weight

Independent Variable: - Two groups of expectant mothers:

Those who consumeless than 2 gallons of ice cream per monthmore than 2 gallons of ice cream per month

Page 11: What is an independent samples-t test?

An independent samples t-test evaluates whether two means from two samples of the same dependent variable are significantly different from one another.

Example: Same dependent variable - Baby birth weight

Independent Variable: - Two groups of expectant mothers:

Those who consumeless than 2 gallons of ice cream per monthmore than 2 gallons of ice cream per month

Page 12: What is an independent samples-t test?

An independent samples t-test evaluates whether two means from two samples of the same dependent variable are significantly different from one another.

Example: Same dependent variable - Baby birth weight

Independent Variable: - Two groups of expectant mothers:

Those who consumeless than 2 gallons of ice cream per monthmore than 2 gallons of ice cream per month Dependent Variable

Page 13: What is an independent samples-t test?

An independent samples t-test evaluates whether two means from two samples of the same dependent variable are significantly different from one another.

Example: Same dependent variable - Baby birth weight

Independent Variable: - Two groups of expectant mothers:

Those who consumeless than 2 gallons of ice cream per monthmore than 2 gallons of ice cream per month

Page 14: What is an independent samples-t test?

An independent samples t-test evaluates whether two means from two samples of the same dependent variable are significantly different from one another.

Example: Same dependent variable - Baby birth weight

Independent Variable: - Two groups of expectant mothers:

Those who consumeless than 2 gallons of ice cream per monthmore than 2 gallons of ice cream per month

Page 15: What is an independent samples-t test?

An independent samples t-test evaluates whether two means from two samples of the same dependent variable are significantly different from one another.

Example: Same dependent variable - Baby birth weight

Independent Variable: - Two groups of expectant mothers:

Those who consumeless than 2 gallons of ice cream per monthmore than 2 gallons of ice cream per month

Independent Variable

Page 16: What is an independent samples-t test?

An independent samples t-test evaluates whether two means from two samples of the same dependent variable are significantly different from one another.

Example: Same dependent variable - Baby birth weight

Independent Variable: - Two groups of expectant mothers:

Those who drinkless than 2 gallons of ice cream per monthmore than 2 gallons of ice cream per month

Page 17: What is an independent samples-t test?

An independent samples t-test evaluates whether two means from two samples of the same dependent variable are significantly different from one another.

Example: Same dependent variable - Baby birth weight

Independent Variable: - Two groups of expectant mothers:

Those who drink• less than 2 bottles of water per daymore than 2 gallons of ice cream per month <

Page 18: What is an independent samples-t test?

An independent samples t-test evaluates whether two means from two samples of the same dependent variable are significantly different from one another.

Example: Same dependent variable - Baby birth weight

Independent Variable: - Two groups of expectant mothers:

Those who drink• less than 2 bottles of water per day• more than 2 bottles of water per day >

Page 19: What is an independent samples-t test?

Note – anytime you run an independent samples t-test you will have two levels of something – in this case expectant mothers who consume less than 2 bottles (1 group) or more than 2 bottles (2nd group) of water per day

Page 20: What is an independent samples-t test?

Note – anytime you run an independent samples t-test you will have two levels of something – in this case expectant mothers who consume less than 2 bottles (1 group) or more than 2 bottles (2nd group) of water per day

level one

Page 21: What is an independent samples-t test?

Note – anytime you run an independent samples t-test you will have two levels of something – in this case expectant mothers who consume less than 2 bottles (1 group) or more than 2 bottles (2nd group) of water per day

level one

Page 22: What is an independent samples-t test?

Note – anytime you run an independent samples t-test you will have two levels of something – in this case expectant mothers who consume less than 2 bottles (1 group) or more than 2 bottles (2nd group) of water per day

level one level two

<  > 

Page 23: What is an independent samples-t test?

These levels can either be: naturally occurring as 2 categorical groups (females/males) or arbitrarily divided into 2 groups from a continuous measure (baby birthweight);

Page 24: What is an independent samples-t test?

These levels can either be: naturally occurring as 2 categorical groups (females/males) or arbitrarily divided into 2 groups from a continuous measure (baby birthweight);

Page 25: What is an independent samples-t test?

These levels can either be: naturally occurring as 2 categorical groups (females/males) or arbitrarily divided into 2 groups from a continuous measure (baby birthweight);

Page 26: What is an independent samples-t test?

These levels can either be: naturally occurring as 2 categorical groups (females/males) or arbitrarily divided into 2 groups from a continuous measure (baby birthweight);

Page 27: What is an independent samples-t test?

These levels can either be: naturally occurring as 2 categorical groups (females/males) or arbitrarily divided into 2 groups from a continuous measure (baby birthweight);

level one 6 lbs.

7 lbs.

level two 8 lbs.

9 lbs.

Page 28: What is an independent samples-t test?

These levels can either be: naturally occurring as 2 categorical groups (females/males) or arbitrarily divided into 2 groups from a continuous measure (baby birthweight); Note that our research question will be about group differences;

Page 29: What is an independent samples-t test?

These levels can either be: naturally occurring as 2 categorical groups (females/males) or arbitrarily divided into 2 groups from a continuous measure (baby birthweight); Note that our research question will be about group differences;For example:

Who is more likely to engage in religious practices?(1) females (2) males(1) Mormons (2) Jews(1) urban dwellers (2) inner city residentsThose who high jump (1) over five feet or (2) under five feet… etc.

Page 30: What is an independent samples-t test?

You also run an independent samples t-test when there is only 1 dependent variable.

Page 31: What is an independent samples-t test?

You also run an independent samples t-test when there is only 1 dependent variable.

In this example: Baby birth weight is the dependent variable we are measuring across both groups

Page 32: What is an independent samples-t test?

You also run an independent samples t-test when there is only 1 dependent variable.

In this example: Baby birth weight is the dependent variable we are measuring across both groups

Page 33: What is an independent samples-t test?

An independent samples t-test is used only with interval or ratio data . . .

Page 34: What is an independent samples-t test?

An independent samples t-test is used only with interval or ratio data . . . Interval scales

• assume quantity of the attribute• have equal intervals• may have an arbitrary zero or starting point

Page 35: What is an independent samples-t test?

An independent samples t-test is used only with interval or ratio data . . . Interval scales

• assume quantity of the attribute• have equal intervals• may have an arbitrary zero or starting point

Ratio scales

• assume quantity of the attribute• have equal intervals• have a zero or starting point

5’6”6’1”

6’3”5’9”

Page 36: What is an independent samples-t test?

An independent samples t-test is used only with interval or ratio data . . . not nominal nor ordinal,

Page 37: What is an independent samples-t test?

An independent samples t-test is used only with interval or ratio data . . . not nominal nor ordinal,Nominal scales

• assume no quantity of the attribute• have no particular interval

Page 38: What is an independent samples-t test?

An independent samples t-test is used only with interval or ratio data . . . not nominal nor ordinal,Nominal scales

• assume no quantity of the attribute• have no particular interval

Ordinal scales

• assume quantity of the attribute• do not have equal intervals

time = 16.1 time = 17.8

Page 39: What is an independent samples-t test?

An independent samples t-test is used only with interval or ratio data . . . not nominal nor ordinal,Nominal scales

• assume no quantity of the attribute• have no particular interval

Ordinal scales

• assume quantity of the attribute• do not have equal intervals

time = 16.1 time = 17.8

Page 40: What is an independent samples-t test?

Finally, an independent samples t-test should be used when the data is reasonably normally distributed;

Page 41: What is an independent samples-t test?

Finally, an independent samples t-test should be used when the data is reasonably normally distributed;

Page 42: What is an independent samples-t test?

Finally, an independent samples t-test should be used when the data is reasonably normally distributed;

NOT

Page 43: What is an independent samples-t test?

Finally, an independent samples t-test should be used when the data is reasonably normally distributed;

OR ORNOT

Page 44: What is an independent samples-t test?

So, in summary, an independent samples t-test is appropriate to run when –

1. working with interval / ratio data

2. the distribution is reasonably normal

3. there is one independent variable (gender) with two levels (female / male)

4. with the same dependent level (ice cream consumption)

Page 45: What is an independent samples-t test?

So, in summary, an independent samples t-test is appropriate to run when –

1. the research question deals with the differences between two sample means.

2. the distribution is reasonably normal

3. there is one independent variable (gender) with two levels (female / male)

4. with the same dependent level (ice cream consumption)

mean 1 mean 2

Page 46: What is an independent samples-t test?

So, in summary, an independent samples t-test is appropriate to run when –

1. the research question deals with the differences between two sample means. 2. working with interval / ratio data

2. the distribution is reasonably normal

3. there is one independent variable (gender) with two levels (female / male)

4. with the same dependent level (ice cream consumption)

Page 47: What is an independent samples-t test?

So, in summary, an independent samples t-test is appropriate to run when –

1. the research question deals with the differences between two sample means. 2. working with interval / ratio data3. the distribution is reasonably normal

Page 48: What is an independent samples-t test?

So, in summary, an independent samples t-test is appropriate to run when –

1. the research question deals with the differences between two sample means. 2. working with interval / ratio data3. the distribution is reasonably normal4. there is one independent variable (gender) with two levels (female / male)

Page 49: What is an independent samples-t test?

So, in summary, an independent samples t-test is appropriate to run when –

1. the research question deals with the differences between two sample means. 2. working with interval / ratio data3. the distribution is reasonably normal4. there is one independent variable (gender) with two levels (female / male) 5. with the same dependent level (baby birthweight)

Page 50: What is an independent samples-t test?

As is the case when using inferential statistics to answer a research question we start with a decision rule. This means stating the null as well as the alternative hypothesis:

Page 51: What is an independent samples-t test?

As is the case when using inferential statistics to answer a research question we start with a decision rule. This means stating the null as well as the alternative hypothesis:The null hypothesis would be, “There is no significant difference between the two groups in terms of the dependent variable.”

Page 52: What is an independent samples-t test?

As is the case when using inferential statistics to answer a research question we start with a decision rule. This means stating the null as well as the alternative hypothesis:The null hypothesis would be, “There will be no significant difference between the two groups in terms of the dependent variable.”The alternative hypothesis would be, “There is a significant difference between the two groups in terms of the dependent variable.”

Page 53: What is an independent samples-t test?

As is the case when using inferential statistics to answer a research question we start with a decision rule. This means stating the null as well as the alternative hypothesis:The null hypothesis would be, “There will be no significant difference between the two groups in terms of the dependent variable.”The alternative hypothesis would be, “There is a significant difference between the two groups in terms of the dependent variable.”So what would the null-hypothesis be for the expectant mothers consumption of water and baby birth weight?

Page 54: What is an independent samples-t test?

So what would the null-hypothesis be for the expectant mothers’ consumption of water and baby birth weight?

“There is no significant difference between expectant mothers who drink more than 2 bottles of water per day and those who drink less than 2 bottles of water per day (the two groups) in terms of baby birth weight (the dependent variable).”

Page 55: What is an independent samples-t test?

So what would the null-hypothesis be for the expectant mothers’ consumption of water and baby birth weight?

“There is no significant difference between expectant mothers who drink more than 2 bottles of water per day and those who drink less than 2 bottles of water per day (the two groups) in terms terms of baby birth weight (the dependent variable).”

<  > 

Page 56: What is an independent samples-t test?

So what would the null-hypothesis be for the expectant mothers’ consumption of water and baby birth weight?

“There is no significant difference between expectant mothers who drink more than 2 bottles of water per day and those who drink less than 2 bottles of water per day (the two groups) in terms of baby birth weight (the dependent variable).”

<  > 

Page 57: What is an independent samples-t test?

So what would the null-hypothesis be for the expectant mothers’ consumption of water and baby birth weight?

“There is no significant difference between expectant mothers who drink more than 2 bottles of water per day and those who drink less than 2 bottles of water per day (the two groups) in terms of baby birth weight (the dependent variable).”

<  > 

Page 58: What is an independent samples-t test?

So what would the null-hypothesis be for the amount of water consumed by each gender?

“There will be no significant difference between expectant mothers who eat more than 2 gallons of ice cream per month and those who eat less than 2 gallons of ice cream per month (the two groups) in terms of baby birth weight (the dependent variable).”

Page 59: What is an independent samples-t test?

So what would the null-hypothesis be for the amount of water consumed by each gender?

“There is no significant difference between males and females (the two groups) in terms of ice cream consumption (the dependent variable).”

Page 60: What is an independent samples-t test?

So what would the null-hypothesis be for the amount of water consumed by each gender?

“There is no significant difference between males and females (the two groups) in terms of ice cream consumption (the dependent variable).”

Page 61: What is an independent samples-t test?

So what would the null-hypothesis be for the amount of water consumed by each gender?

“There is no significant difference between males and females (the two groups) in terms of water consumption (the dependent variable).”

Page 62: What is an independent samples-t test?

So what would the null-hypothesis be for the amount of water consumed by each gender?

“There is no significant difference between males and females (the two groups) in terms of water consumption (the dependent variable).”

Page 63: What is an independent samples-t test?

And the alternative hypothesis:

Page 64: What is an independent samples-t test?

And the alternative hypothesis:

“There is a significant difference between males and females (the two groups) in terms of water consumption (the dependent variable).”

Page 65: What is an independent samples-t test?

The formula for the independent samples t-test is as follows:

Page 66: What is an independent samples-t test?

The formula for the independent samples t-test is as follows:

x1 – x2

SEdifferences

Page 67: What is an independent samples-t test?

The formula for the independent samples t-test is as follows:

x1 – x2

SEdifferences

Mean birth weight of babies born to

mothers who drink >2 bottles of water

per day.

Page 68: What is an independent samples-t test?

The formula for the independent samples t-test is as follows:

x1 – x2

SEdifferences

Mean birth weight of babies born to

mothers who drink >2 bottles of water

per day.

Mean birth weight of babies born to

mothers who drink < 2 bottles of water

per day.

Page 69: What is an independent samples-t test?

The formula for the independent samples t-test is as follows:

x1 – x2

SEdifferences

Mean birth weight of babies born to

mothers who drink >2 bottles of water

per day.

Mean birth weight of babies born to

mothers who drink < 2 bottles of water

per day.

Difference between X1 & X2 measured in standard error

units

Page 70: What is an independent samples-t test?

It follows the same general form as the single-sample t-test.

x1 – x2

SEdifferences

Page 71: What is an independent samples-t test?

It follows the same general form as the single-sample t-test.

x1 – x2

SEdifferences

MEAN birth weight of babies born to

mothers who drink >2 bottles of water

per day.

Independent samples t-test

Page 72: What is an independent samples-t test?

It follows the same general form as the single-sample t-test.

μ – x2

SEdifferences

The POPULATION mean birth weight of babies born to

mothers who drink >2 bottles of water

per day.

Single sample t-test

Page 73: What is an independent samples-t test?

The independent samples t-test represents the difference between the means in standard error units.

Page 74: What is an independent samples-t test?

The independent samples t-test represents the difference between the means in standard error units.

x1 – x2

SEdifferences

Page 75: What is an independent samples-t test?

So for example, if

Page 76: What is an independent samples-t test?

So for example, if

• the average birth weight for babies whose mothers consumed < 2 bottles of water per day was 10 pounds

Page 77: What is an independent samples-t test?

So for example, if

• the average birth weight for babies whose mothers consumed < 2 bottles of water per day was 10 pounds

• and for babies whose mothers consumed >2 bottles of water per day was 6 pounds

Page 78: What is an independent samples-t test?

So for example, if

• the average birth weight for babies whose mothers consumed < 2 bottles of water per day was 10 pounds

• and for babies whose mothers consumed >2 bottles of water per day was 6 pounds

• and the standard error difference was 2,

Page 79: What is an independent samples-t test?

So for example, if

• the average birth weight for babies whose mothers consumed < 2 bottles of water per day was 10 pounds

• and for babies whose mothers consumed >2 bottles of water per day was 6 pounds

• and the standard error difference was 2, • then the t value would be:

Page 80: What is an independent samples-t test?

So for example, if

• the average birth weight for babies whose mothers consumed < 2 bottles of water per day was 10 pounds

• and for babies whose mothers consumed >2 bottles of water per day was 6 pounds

• and the standard error difference was 2, • then the t value would be:

10 lb – 6 lb2

Page 81: What is an independent samples-t test?

So for example, if

• the average birth weight for babies whose mothers consumed < 2 bottles of water per day was 10 pounds

• and for babies whose mothers consumed >2 bottles of water per day was 6 pounds

• and the standard error difference was 2, • then the t value would be: 4

2=10 lb – 6 lb

2

Page 82: What is an independent samples-t test?

So for example, if

• the average birth weight for babies whose mothers consumed < 2 bottles of water per day was 10 pounds

• and for babies whose mothers consumed >2 bottles of water per day was 6 pounds

• and the standard error difference was 2, • then the t value would be:

= 242

=10 lb – 6 lb2

Page 83: What is an independent samples-t test?

This means that

• the average birth weight for babies whose mothers consumed < 2 gallons of ice cream were 10 pounds

Page 84: What is an independent samples-t test?

This means that

• the mean weight for babies whose mothers consume < 2 bottles of water is 2 standard error units greater than babies whose mothers consume > 2 bottles of water per day.

Page 85: What is an independent samples-t test?

This means that

• the mean weight for babies whose mothers consume < 2 bottles of water is 2 standard error units greater than babies whose mothers consume > 2 bottles of water per day.

At this point we do not know if there is a statistically significant difference between the two. Later this t-value will be compared against a standard to determine if such a difference exists.

Page 86: What is an independent samples-t test?

How did we come up with standard error?

First, there is a theoretical answer and then a practical answer.

THEORETICAL ANSWER

This standard error of the differences represents the standard deviation of the sampling distribution of differences between means from samples of sample sizes n1 and n2.

Page 87: What is an independent samples-t test?

How did we come up with standard error?

First, there is a theoretical answer and then a practical answer.

THEORETICAL ANSWER

This standard error of the differences represents the standard deviation of the sampling distribution of differences between means from samples of sample sizes n1 and n2.

Page 88: What is an independent samples-t test?

How did we come up with standard error?

First, there is a theoretical answer and then a practical answer.

THEORETICAL ANSWER

This standard error of the differences represents the standard deviation of the sampling distribution of differences between means from samples of sample sizes n1 and n2.

Page 89: What is an independent samples-t test?

How did we come up with standard error?

First, there is a theoretical answer and then a practical answer.

THEORETICAL ANSWER

This standard error of the differences represents the standard deviation of the sampling distribution of differences between means from samples of sample sizes n1 and n2.

Page 90: What is an independent samples-t test?

So here is a way to visually depict this.

Let’s imagine that n1 = 20 or in other words the SAMPLE OR NUMBER of baby birth weights recorded from expectant mothers consuming less than 2 gallons per month is 20.

Here is the distribution.

Now imagine that we selected one hundred samples of 20 of baby birth weight of expectant mothers consuming less than 2 gallons.

Page 91: What is an independent samples-t test?

So here is a way to visually depict this.

Let’s imagine that the first sample n1 = 20 or, in other words, the SAMPLE or NUMBER of baby birth weights recorded from expectant mothers consuming less than 2 water bottles per day is 20.

Here is the distribution.

Now imagine that we selected one hundred samples of 20 of baby birth weight of expectant mothers consuming less than 2 gallons.

Page 92: What is an independent samples-t test?

So here is a way to visually depict this.

Let’s imagine that the first sample n1 = 20 or, in other words, the SAMPLE or NUMBER of baby birth weights recorded from expectant mothers consuming less than 2 water bottles per day is 20.

Here is the distribution.

Now imagine that we selected one hundred samples of 20 of baby birth weight of expectant mothers consuming less than 2 gallons.

Page 93: What is an independent samples-t test?

So here is a way to visually depict this.

Let’s imagine that the first sample n1 = 20 or, in other words, the SAMPLE or NUMBER of baby birth weights recorded from expectant mothers consuming less than 2 water bottles per day is 20.

Here is the distribution.

Now imagine that we selected one hundred samples of 20 of baby birth weight of expectant mothers consuming less than 2 gallons.

Page 94: What is an independent samples-t test?

So here is a way to visually depict this.

Let’s imagine that the first sample n1 = 20 or, in other words, the SAMPLE or NUMBER of baby birth weights recorded from expectant mothers consuming less than 2 water bottles per day is 20.

Here is the distribution.

Now imagine that we selected one hundred samples of 20 of baby birth weights of expectant mothers consuming less than 2 bottles of water per day.

Page 95: What is an independent samples-t test?

So here is a way to visually depict this.

Let’s imagine that n1 = 20 or, in other words, the SAMPLE or NUMBER of baby birth weights recorded from expectant mothers consuming less than 2 gallons per month is 20.

Here is the distribution.

Now imagine that we selected one hundred samples of 20 of baby birth weights of expectant mothers consuming less than 2 bottles of water per day.

10 128

Page 96: What is an independent samples-t test?

So here is a way to visually depict this.

Let’s imagine that n1 = 20 or, in other words, the SAMPLE or NUMBER of baby birth weights recorded from expectant mothers consuming less than 2 gallons per month is 20.

Here is the distribution.

Now imagine that we selected one hundred samples of 20 of baby birth weights of expectant mothers consuming less than 2 bottles of water per day.

10 128

Let’s imagine that there are 100 distributions below

Page 97: What is an independent samples-t test?

So here is a way to visually depict this.

Let’s imagine that n1 = 20 or, in other words, the SAMPLE or NUMBER of baby birth weights recorded from expectant mothers consuming less than 2 gallons per month is 20.

Here is the distribution.

Now imagine that we selected one hundred samples of 20 of baby birth weights of expectant mothers consuming less than 2 bottles of water per day.

10 128

Let’s imagine that there are 100 distributions below Each one of these

distributions represents a sample of 20 from the < 2

group

Page 98: What is an independent samples-t test?

So here is a way to visually depict this.

Let’s imagine that n1 = 20 or, in other words, the SAMPLE or NUMBER of baby birth weights recorded from expectant mothers consuming less than 2 gallons per month is 20.

Here is the distribution.

And we do the same for samples of baby birth weight from mothers drinking more than 2 bottles of water per day.

Page 99: What is an independent samples-t test?

So here is a way to visually depict this.

Let’s imagine that n1 = 20 or, in other words, the SAMPLE or NUMBER of baby birth weights recorded from expectant mothers consuming less than 2 gallons per month is 20.

Here is the distribution.

And we do the same for samples of baby birth weight from mothers drinking more than 2 bottles of water per day.

10 128

Page 100: What is an independent samples-t test?

So here is a way to visually depict this.

Let’s imagine that n1 = 20 or, in other words, the SAMPLE or NUMBER of baby birth weights recorded from expectant mothers consuming less than 2 gallons per month is 20.

Here is the distribution.

And we do the same for samples of baby birth weight from mothers drinking more than 2 bottles of water per day.

10 128

Each one of these distributions

represents a sample of 20 from the > 2

group

Page 101: What is an independent samples-t test?

Then we do something very interesting.

Page 102: What is an independent samples-t test?

Then we do something very interesting. We imagine subtracting each distribution’s sample mean from the < 2 group from another randomly selected sample mean from the > 2 group.

Page 103: What is an independent samples-t test?

Then we do something very interesting. We imagine subtracting each distribution’s sample mean from the < 2 group from another randomly selected sample mean from the > 2 group.

Sampling distribution of baby birth weight of mothers

consuming >2 bottles of H2O

Page 104: What is an independent samples-t test?

Then we do something very interesting. We imagine subtracting each distribution’s sample mean from the < 2 group from another randomly selected sample mean from the > 2 group.

Sampling distribution of baby birth weight of mothers

consuming >2 bottles of H2O

Page 105: What is an independent samples-t test?

Then we do something very interesting. We imagine subtracting each distribution’s sample mean from the < 2 group from another randomly selected sample mean from the > 2 group.

Sampling distribution of baby birth weight of mothers

consuming >2 bottles of H2O

One sample randomly pulled out

Page 106: What is an independent samples-t test?

Then we do something very interesting. We imagine subtracting each distribution’s sample mean from the < 2 group from another randomly selected sample mean from the > 2 group.

Sampling distribution of baby birth weight of mothers

consuming >2 bottles of H2O

Mean = 10

One sample randomly pulled out

Page 107: What is an independent samples-t test?

Then we do something very interesting. We imagine subtracting each distribution’s sample mean from the < 2 group from another randomly selected sample mean from the > 2 group.

Sampling distribution of baby birth weight of mothers

consuming >2 bottles of H2O

Mean = 10

Sampling distribution of baby birth weight of mothers

consuming <2 bottles of H2O

One sample randomly pulled out

Page 108: What is an independent samples-t test?

Then we do something very interesting. We imagine subtracting each distribution’s sample mean from the < 2 group from another randomly selected sample mean from the > 2 group.

Sampling distribution of baby birth weight of mothers

consuming >2 bottles of H2O

Mean = 10

Sampling distribution of baby birth weight of mothers

consuming <2 bottles of H2O

One sample randomly pulled out

One sample randomly pulled out

Page 109: What is an independent samples-t test?

Then we do something very interesting. We imagine subtracting each distribution’s sample mean from the < 2 group from another randomly selected sample mean from the > 2 group.

Sampling distribution of baby birth weight of mothers

consuming >2 bottles of H2O

Mean = 10

Sampling distribution of baby birth weight of mothers

consuming <2 bottles of H2O

Mean = 7

One sample randomly pulled out

One sample randomly pulled out

Page 110: What is an independent samples-t test?

Then we do something very interesting. We imagine subtracting each distribution’s sample mean from the < 2 group from another randomly selected sample mean from the > 2 group.

Sampling distribution of baby birth weight of mothers

consuming >2 bottles of H2O

Mean = 10

Sampling distribution of baby birth weight of mothers

consuming <2 bottles of H2O

Mean = 7 =−One sample randomly

pulled outOne sample randomly

pulled out

Page 111: What is an independent samples-t test?

Then we do something very interesting. We imagine subtracting each distribution’s sample mean from the < 2 group from another randomly selected sample mean from the > 2 group.

Sampling distribution of baby birth weight of mothers

consuming >2 bottles of H2O

Mean = 10

Sampling distribution of baby birth weight of mothers

consuming <2 bottles of H2O

Mean = 7 =− Mean = 3

One sample randomly pulled out

One sample randomly pulled out

Page 112: What is an independent samples-t test?

Then we do something very interesting. We imagine subtracting each distribution’s sample mean from the < 2 group from another randomly selected sample mean from the > 2 group.

Sampling distribution of baby birth weight of mothers

consuming >2 bottles of H2O

Mean = 10

One sample randomly pulled out

Sampling distribution of baby birth weight of mothers

consuming <2 bottles of H2O

Mean = 7

One sample randomly pulled out

=− Mean = 3

Page 113: What is an independent samples-t test?

Then we do something very interesting. We imagine subtracting each distribution’s sample mean from the < 2 group from another randomly selected sample mean from the > 2 group.

Sampling distribution of baby birth weight of mothers

consuming >2 bottles of H2O

Mean = 10

Sampling distribution of baby birth weight of mothers

consuming <2 bottles of H2O

Mean = 7 =− Mean = 3

One sample randomly pulled out

One sample randomly pulled out

Page 114: What is an independent samples-t test?

Then we do something very interesting. We imagine subtracting each distribution’s sample mean from the < 2 group from another randomly selected sample mean from the > 2 group.

Sampling distribution of baby birth weight of mothers

consuming >2 bottles of H2O

Sampling distribution of baby birth weight of mothers

consuming <2 bottles of H2O

=−

Page 115: What is an independent samples-t test?

Then we do something very interesting. We imagine subtracting each distribution’s sample mean from the < 2 group from another randomly selected sample mean from the > 2 group.

=−SECOND sample

randomly pulled out

Sampling distribution of baby birth weight of mothers

consuming >2 bottles of H2O

Sampling distribution of baby birth weight of mothers

consuming <2 bottles of H2O

Page 116: What is an independent samples-t test?

Then we do something very interesting. We imagine subtracting each distribution’s sample mean from the < 2 group from another randomly selected sample mean from the > 2 group.

=−Mean = 11

SECOND sample randomly pulled out

Sampling distribution of baby birth weight of mothers

consuming >2 bottles of H2O

Sampling distribution of baby birth weight of mothers

consuming <2 bottles of H2O

Page 117: What is an independent samples-t test?

Then we do something very interesting. We imagine subtracting each distribution’s sample mean from the < 2 group from another randomly selected sample mean from the > 2 group.

=−Mean = 11

SECOND sample randomly pulled out

SECOND sample randomly pulled out

Sampling distribution of baby birth weight of mothers

consuming >2 bottles of H2O

Sampling distribution of baby birth weight of mothers

consuming <2 bottles of H2O

Page 118: What is an independent samples-t test?

Then we do something very interesting. We imagine subtracting each distribution’s sample mean from the < 2 group from another randomly selected sample mean from the > 2 group.

=−Mean = 11

SECOND sample randomly pulled out

SECOND sample randomly pulled out

Sampling distribution of baby birth weight of mothers

consuming >2 bottles of H2O

Sampling distribution of baby birth weight of mothers

consuming <2 bottles of H2O

Page 119: What is an independent samples-t test?

Then we do something very interesting. We imagine subtracting each distribution’s sample mean from the < 2 group from another randomly selected sample mean from the > 2 group.

=−Mean = 11 Mean = 7

SECOND sample randomly pulled out

SECOND sample randomly pulled out

Sampling distribution of baby birth weight of mothers

consuming >2 bottles of H2O

Sampling distribution of baby birth weight of mothers

consuming <2 bottles of H2O

Page 120: What is an independent samples-t test?

Then we do something very interesting. We imagine subtracting each distribution’s sample mean from the < 2 group from another randomly selected sample mean from the > 2 group.

=−Mean = 11 Mean = 7

SECOND sample randomly pulled out

Mean = 4

SECOND sample randomly pulled out

Sampling distribution of baby birth weight of mothers

consuming >2 bottles of H2O

Sampling distribution of baby birth weight of mothers

consuming <2 bottles of H2O

Page 121: What is an independent samples-t test?

Then we do something very interesting. We imagine subtracting each distribution’s sample mean from the < 2 group from another randomly selected sample mean from the > 2 group.

=−Mean = 11 Mean = 7

SECOND sample randomly pulled out

Mean = 4

SECOND sample randomly pulled out

Sampling distribution of baby birth weight of mothers

consuming >2 bottles of H2O

Sampling distribution of baby birth weight of mothers

consuming <2 bottles of H2O

Page 122: What is an independent samples-t test?

Then we do something very interesting. We imagine subtracting each distribution’s sample mean from the < 2 group from another randomly selected sample mean from the > 2 group.

=−Mean = 11 Mean = 7

SECOND sample randomly pulled out

Mean = 4

SECOND sample randomly pulled out

Sampling distribution of baby birth weight of mothers

consuming >2 bottles of H2O

Sampling distribution of baby birth weight of mothers

consuming <2 bottles of H2O

Page 123: What is an independent samples-t test?

Then we do something very interesting. We imagine subtracting each distribution’s sample mean from the < 2 group from another randomly selected sample mean from the > 2 group.

=−This is done hundreds of times until a subtracted

sampling distribution emerges.

Sampling distribution of baby birth weight of mothers

consuming >2 bottles of H2O

Sampling distribution of baby birth weight of mothers

consuming <2 bottles of H2O

Page 124: What is an independent samples-t test?

Then we do something very interesting. We imagine subtracting each distribution’s sample mean from the < 2 group from another randomly selected sample mean from the > 2 group.

=−This is done hundreds of times until a subtracted

sampling distribution emerges.

Sampling distribution of baby birth weight of mothers

consuming >2 bottles of H2O

Sampling distribution of baby birth weight of mothers

consuming <2 bottles of H2O

Page 125: What is an independent samples-t test?

Then we do something very interesting. We imagine subtracting each distribution’s sample mean from the < 2 group from another randomly selected sample mean from the > 2 group.

=−

Sampling distribution of subtracting the birth weights

from the two groups.

This is done hundreds of times until a subtracted sampling distribution emerges.

Sampling distribution of baby birth weight of mothers

consuming >2 bottles of H2O

Sampling distribution of baby birth weight of mothers

consuming <2 bottles of H2O

Page 126: What is an independent samples-t test?

Then we do something very interesting. We imagine subtracting each distribution’s sample mean from the < 2 group from another randomly selected sample mean from the > 2 group.

=−

Sampling distribution of subtracting the birth weights

from the two groups.

Sampling distribution of baby birth weight of mothers

consuming >2 bottles of H2O

Sampling distribution of baby birth weight of mothers

consuming <2 bottles of H2O

Page 127: What is an independent samples-t test?

The standard deviation of this last distribution is called the STANDARD ERROR

+4 +6+2

Page 128: What is an independent samples-t test?

The standard deviation of this last distribution is called the STANDARD ERROR

+4 +6+2

Page 129: What is an independent samples-t test?

The standard deviation of this last distribution is called the STANDARD ERROR

+4 +6+2

SD = 2.0

Page 130: What is an independent samples-t test?

The standard deviation of this last distribution is called the STANDARD ERROR

The STANDARD DEVIATION of this distribution is the Standard Error of the differences between the first and second sample.

+4 +6+2

SD = 2.0

Page 131: What is an independent samples-t test?

Look at the following explanation and as you read consider the images you just saw in the previous slides. Return to these slides if necessary until the concepts are clear.

In summary: The standard error of the differences represents the standard deviation of the sampling distribution of differences between means from samples of sample sizes n1 and n2.

Page 132: What is an independent samples-t test?

Look at the following explanation and as you read consider the images you just saw in the previous slides. Return to these slides if necessary until the concepts are clear.

In summary: The standard error of the differences represents the standard deviation of the sampling distribution of differences between means from samples of sample sizes n1 and n2.

Page 133: What is an independent samples-t test?

We are now leaving the Theoretical or Conceptual Explanation of standard error and on to what we end up doing in real life:

Because we generally do not have the resources or the ability to get hundreds of samples from one group and then hundreds of samples from another group and compute the difference and then standard deviation of it all, we simply estimate the standard error using information from just the two samples (of 20 each in this case).

Page 134: What is an independent samples-t test?

We are now leaving the Theoretical or Conceptual Explanation of standard error and on to what we end up doing in real life:

Because we generally do not have the resources or the ability to get hundreds of samples from one group and then hundreds of samples from another group and compute the difference and then standard deviation of it all, we simply estimate the standard error using information from just the two samples (of 20 each in this case).

Page 135: What is an independent samples-t test?

Amazingly, statisticians who have actually taken the hundreds of samples and run the calculations have found that this estimator is very accurate!

Page 136: What is an independent samples-t test?

Amazingly, statisticians who have actually taken the hundreds of samples and run the calculations have found that this estimator is very accurate!

Page 137: What is an independent samples-t test?

There are three computations that are involved in determining if two samples means are statistically significantly different from one another.

Page 138: What is an independent samples-t test?

Computation #1 – this computation is used when the two samples are similar in two ways:1. variances2. sample size

Page 139: What is an independent samples-t test?

Computation #1 – this computation is used when the two samples are similar in two ways:1. variances2. sample size

Mean = 6 Var = 2Sample size = 20

Mean = 10 Var = 2Sample size = 20

Page 140: What is an independent samples-t test?

Computation #1 – this computation is used when the two samples are similar in two ways:1. variances2. sample size

When this is the case, use this formula to compute t:

Mean = 6 Var = 2Sample size = 20

Mean = 10 Var = 2Sample size = 20

Page 141: What is an independent samples-t test?

Computation #1 – this computation is used when the two samples are similar in two ways:1. variances2. sample size

When this is the case, use this formula to compute t:

Mean = 6 Var = 2Sample size = 20

Mean = 10 Var = 2Sample size = 20

Page 142: What is an independent samples-t test?

Computation #1 – this computation is used when the two samples are similar in two ways:1. variances2. sample size

When this is the case, use this formula to compute t:

Note – statistical software will run this for you. If you were to put the numbers in by hand and compute it you would get an identical result.

Mean = 6 Var = 2Sample size = 20

Mean = 10 Var = 2Sample size = 20

Page 143: What is an independent samples-t test?

Computation #2 – this computation is used to calculate standard error when the two samples are different in terms of their sample size.

When this is the case, use this formula to compute t:

Page 144: What is an independent samples-t test?

Computation #2 – this computation is used to calculate standard error when the two samples are different in terms of their sample size.

When this is the case, use this formula to compute t: Mean = 6 Var = 10

Sample size = 20Mean = 10 Var = 10

Sample size = 5

Page 145: What is an independent samples-t test?

Computation #2 – this computation is used to calculate standard error when the two samples are different in terms of their sample size.

This complicated looking formula is used in this case to compute t:

Mean = 6 Var = 10Sample size = 20

Mean = 10 Var = 10Sample size = 5

Page 146: What is an independent samples-t test?

Computation #3 – this computation is used to calculate the degrees of freedom when the variances are unequal.

Page 147: What is an independent samples-t test?

Computation #3 – this computation is used to calculate the degrees of freedom when the variances are unequal.

Mean = 6 Var = 2Sample size = 20

Mean = 10 Var = 10Sample size = 20

Page 148: What is an independent samples-t test?

Computation #3 – this computation is used to calculate the degrees of freedom when the variances are unequal. • After using the first or second computations to calculate t (depending on the

similarity of the sample sizes), the formula below is used to determine degrees of freedom:

Page 149: What is an independent samples-t test?

Computation #3 – this computation is used to calculate the degrees of freedom when the variances are unequal. • After using the first or second computations to calculate t (depending on the

similarity of the sample sizes), the formula below is used to determine degrees of freedom:

Page 150: What is an independent samples-t test?

Computation #3 – this computation is used to calculate the degrees of freedom when the variances are unequal. • After using the first or second computations to calculate t (depending on the

similarity of the sample sizes), the formula below is used to determine degrees of freedom:

• As will be visually depicted shortly the degrees of freedom determine the t critical value which in turn is the standard by which you determine if the two means are statistically significant or not.

Page 151: What is an independent samples-t test?

Computation #3 – this computation is used to calculate the degrees of freedom when the variances are unequal. • After using the first or second computations to calculate t (depending on the

similarity of the sample sizes), the formula below is used to determine degrees of freedom:

• As will be visually depicted shortly the degrees of freedom determine the t critical value which in turn is the standard by which you determine if the two means are statistically significant or not.

• The bottom line here is that the critical t value is much larger when the variances are different requiring a greater t value for there to be a statistically significant difference between the two sample means.

Page 152: What is an independent samples-t test?

Once again, the statistical software will run this calculation.

Page 153: What is an independent samples-t test?

Once again, the statistical software will run this calculation.

• So why do we show you the formula?

Page 154: What is an independent samples-t test?

Once again, the statistical software will run this calculation.

• So why do we show you the formula?

• We show you the formula in preparation for what you will see in upcoming slides.

Page 155: What is an independent samples-t test?

Once again, the statistical software will run this calculation.

• So why do we show you the formula?

• We show you the formula in preparation for what you will see in upcoming slides.

• We want you to see what happens in the formula as different means, variances, and sample sizes are used in the calculation.

Page 156: What is an independent samples-t test?

Let’s begin with Computation #1

Page 157: What is an independent samples-t test?

Example 1Sample 1 (>2 bottles of water) Sample 2 (<2 bottles of water)

Let’s begin with Computation #1

Mean = 6 Var = 1.9

Mean = 10 Var = 2.1

Page 158: What is an independent samples-t test?

Here is a simplified version of the formula to calculate t:

Let’s begin with Computation #1

Page 159: What is an independent samples-t test?

Here is a simplified version of the formula to calculate t:

Let’s begin with Computation #1

SEdifference

Page 160: What is an independent samples-t test?

Here is a simplified version of the formula to calculate t:

Let’s begin with Computation #1

SEdifference

mean of sample 1

Page 161: What is an independent samples-t test?

Here is a simplified version of the formula to calculate t:

Let’s begin with Computation #1

SEdifference

mean of sample 1 mean of sample 2

Page 162: What is an independent samples-t test?

Here is a simplified version of the formula to calculate t:

Here is a more specific version of the formula:

Let’s begin with Computation #1

SEdifference

mean of sample 1 mean of sample 2

Page 163: What is an independent samples-t test?

Here is a simplified version of the formula to calculate t:

Here is a more specific version of the formula:

Let’s begin with Computation #1

SEdifference

mean of sample 1 mean of sample 2

Page 164: What is an independent samples-t test?

Here is a simplified version of the formula to calculate t:

Here is a more specific version of the formula:

Let’s begin with Computation #1

SEdifference

mean of sample 1 mean of sample 2

Page 165: What is an independent samples-t test?

We are going to take this step by step so you will not only know what numbers to plug in but see important patterns that unfold when using this formula with different data.

Here are a couple things to consider:

1. The numerator in this fraction is simply the sample mean of one group minus the sample mean of another group. That’s it!

2. The only values you need to calculate is the sample size (in this case 20 for both samples) and the variance (in this case 2 for both samples.

Page 166: What is an independent samples-t test?

We are going to take this step by step so you will not only know what numbers to plug in but see important patterns that unfold when using this formula with different data.

Here are a couple things to consider:

1. The numerator in this fraction is simply the sample mean of one group minus the sample mean of another group. That’s it!

2. The only values you need to calculate is the sample size (in this case 20 for both samples) and the variance (in this case 2 for both samples.

Page 167: What is an independent samples-t test?

We are going to take this step by step so you will not only know what numbers to plug in but see important patterns that unfold when using this formula with different data.

Here are a couple things to consider:

1. The numerator in this fraction is simply the sample mean of one group minus the sample mean of another group. That’s it!

2. The only values you need to calculate is the sample size (in this case 20 for both samples) and the variance (in this case 2 for both samples.

Page 168: What is an independent samples-t test?

We are going to take this step by step so you will not only know what numbers to plug in but see important patterns that unfold when using this formula with different data.

Here are a couple things to consider:

1. The numerator in this fraction is simply the sample mean of one group minus the sample mean of another group. That’s it!

2. The only values you need to calculate is the sample size (in this case 20 for both samples) and the variance (in this case 2 for both samples.

Page 169: What is an independent samples-t test?

3. As mentioned before, by some magic of nature the actual formula for standard error

Page 170: What is an independent samples-t test?

3. As mentioned before, by some magic of nature the actual formula for standard error

Page 171: What is an independent samples-t test?

3. As mentioned before, by some magic of nature the actual formula for standard error

Formula for estimating standard error

Page 172: What is an independent samples-t test?

3. As mentioned before, by some magic of nature the actual formula for standard error

has been shown to be a fairly accurate estimator. In other words the results of calculating the estimated standard error is very close to the results gleaned from using the method we showed earlier (selecting 100 or 1000 samples, subtracting them from each other and taking the standard deviation - which is generally not practical to do)

Formula for estimating standard error

Page 173: What is an independent samples-t test?

As seen in previous slides:

Page 174: What is an independent samples-t test?

As seen in previous slides:

Sample Mean Distribution of birth weight of babies from

mothers who drink < 2 bottles of water.

Sample Mean Distribution of birth weight of babies from

mothers who drink > 2 bottles of water.

=−Sample Mean Distribution of

difference between the first and second sample

Page 175: What is an independent samples-t test?

As seen in previous slides:

=−Sample Mean Distribution of

difference between the first and second sample

Take the standard deviation of this distribution and you

have the standard error

Sample Mean Distribution of birth weight of babies from

mothers who drink < 2 bottles of water.

Sample Mean Distribution of birth weight of babies from

mothers who drink > 2 bottles of water.

Page 176: What is an independent samples-t test?

This conceptual method is estimated by a more feasible / practical method:

Page 177: What is an independent samples-t test?

This conceptual method is estimated by a more feasible / practical method:

Page 178: What is an independent samples-t test?

This conceptual method is estimated by a more feasible / practical method:

mean of sample 1

Page 179: What is an independent samples-t test?

This conceptual method is estimated by a more feasible / practical method:

mean of sample 1

mean of sample 2

Page 180: What is an independent samples-t test?

This conceptual method is estimated by a more feasible / practical method:

mean of sample 1

mean of sample 2

Estimate of standard error

Page 181: What is an independent samples-t test?

This conceptual method is estimated by a more feasible / practical method:

Let’s try to understand it conceptually a step at a time

mean of sample 1

mean of sample 2

Estimate of standard error

Page 182: What is an independent samples-t test?

If you have sample sizes (N1 & N2 ) of 30 each and variances (s2

1 & s22) of 2 each, let’s see what happens

Let’s imagine the

• first sample of baby birth weight whose mothers consumed < 2 gallons of ice cream is 10 pounds with a variance of 2 and

• second sample of baby birth weight whose mothers consumed > 2 gallons of ice cream is 6 pounds with a variance of 2.

Page 183: What is an independent samples-t test?

If you have sample sizes (N1 & N2 ) of 30 each and variances (s2

1 & s22) of 2 each, let’s see what happens

Let’s imagine the

• first sample of baby birth weight whose mothers consumed < 2 gallons of ice cream is 10 pounds with a variance of 2 and

• second sample of baby birth weight whose mothers consumed > 2 gallons of ice cream is 6 pounds with a variance of 2.

Page 184: What is an independent samples-t test?

If you have sample sizes (N1 & N2 ) of 30 each and variances (s2

1 & s22) of 2 each, let’s see what happens

Let’s imagine the

• first sample of baby birth weight whose mothers consumed < 2 bottles of water is 10 pounds with a variance of 2 and

• second sample of baby birth weight whose mothers consumed > 2 gallons of ice cream is 6 pounds with a variance of 2.

Page 185: What is an independent samples-t test?

If you have sample sizes (N1 & N2 ) of 30 each and variances (s2

1 & s22) of 2 each, let’s see what happens

Let’s imagine the

• first sample of baby birth weight whose mothers consumed < 2 bottles of water is 10 pounds with a variance of 2 and

• second sample of baby birth weight whose mothers consumed > 2 bottles of water is 6 pounds with a variance of 2.

Page 186: What is an independent samples-t test?

Step 1 – subtract the mean of one sample from the mean of another sample:

Page 187: What is an independent samples-t test?

Step 1 – subtract the mean of one sample from the mean of another sample:

mean of sample 1

mean of sample 2

Page 188: What is an independent samples-t test?

Step 1 – subtract the mean of one sample from the mean of another sample:

mean of sample 1

mean of sample 210

Page 189: What is an independent samples-t test?

Step 1 – subtract the mean of one sample from the mean of another sample:

mean of sample 1

mean of sample 210 6

Page 190: What is an independent samples-t test?

Step 1 – subtract the mean of one sample from the mean of another sample:

4

Page 191: What is an independent samples-t test?

Step 1 – subtract the mean of one sample from the mean of another sample:

4

Raw score difference between sample

means.

Page 192: What is an independent samples-t test?

Step 2 – divide each sample variance from its sample size

4

Raw score difference between sample

means.

Page 193: What is an independent samples-t test?

Step 2 – divide each sample variance from its sample size

4

Page 194: What is an independent samples-t test?

Step 2 – divide each sample variance from its sample size

4

variance of sample 12.0

Page 195: What is an independent samples-t test?

Step 2 – divide each sample variance from its sample size

4

variance of sample 12.0 2.0

variance of sample 2

Page 196: What is an independent samples-t test?

Step 2 – divide each sample variance from its sample size

4

number of observations in

sample 1

2.0 2.0

30

Page 197: What is an independent samples-t test?

Step 2 – divide each sample variance from its sample size

4

number of observations in

sample 1

2.0 2.0

30 30

number of observations in

sample 2

Page 198: What is an independent samples-t test?

Step 2 – divide each sample variance from its sample size

4

.0672.0

30

number of observations in

sample 2

Page 199: What is an independent samples-t test?

Step 2 – divide each sample variance from its sample size

4

.067 .067

Page 200: What is an independent samples-t test?

Step 3 – take the square root of the result in the denominator

4

.067 .067

Page 201: What is an independent samples-t test?

Step 3 – take the square root of the result in the denominator

4

.133

Page 202: What is an independent samples-t test?

Step 3 – take the square root of the result in the denominator

4

.365

Page 203: What is an independent samples-t test?

Step 3 – take the square root of the result in the denominator

4

.365Estimated

standard error

Page 204: What is an independent samples-t test?

Step 4 – Divide the difference between the means by the estimated standard error.

4

.365

Page 205: What is an independent samples-t test?

Step 4 – Divide the difference between the means by the estimated standard error.

10.95

Page 206: What is an independent samples-t test?

Step 4 – Divide the difference between the means by the estimated standard error.

What does that mean?

10.95

Page 207: What is an independent samples-t test?

It means that there are 10.95 units of Standard Error between the sample mean of 6 pound babies and 10 pound babies.

Page 208: What is an independent samples-t test?

It means that there are 10.95 units of Standard Error between the sample mean of 6 pound babies and 10 pound babies.

Sample 1 (>2 bottles of water) Sample 2 (<2 bottles of water)

Mean = 6 Var = 2.0

Mean = 10 Var = 2.0

Page 209: What is an independent samples-t test?

It means that there are 10.95 units of Standard Error between the sample mean of 6 pound babies and 10 pound babies.

Sample 1 (>2 bottles of water) Sample 2 (<2 bottles of water)

Mean = 6 Var = 2.0

Mean = 10 Var = 2.0

6 10

10.95 SE values separate the two means

Page 210: What is an independent samples-t test?

Now we look up in the back of statistics book and find the following table entitled “t-DISTRIBUTION CRITICAL VALUES”

Page 211: What is an independent samples-t test?

Now we look up in the back of statistics book and find the following table entitled “t-DISTRIBUTION CRITICAL VALUES”

Page 212: What is an independent samples-t test?

Now we look up in the back of statistics book and find the following table entitled “t-DISTRIBUTION CRITICAL VALUES”

Why do we do this?

Page 213: What is an independent samples-t test?

Now we look up in the back of statistics book and find the following table entitled “t-DISTRIBUTION CRITICAL VALUES”

Why do we do this?

Well because we want to know the critical t-value. Once we know that value then we can determine if our t-value of 10.95 is less than or greater than the critical t-value.

Page 214: What is an independent samples-t test?

Now we look up in the back of statistics book and find the following table entitled “t-DISTRIBUTION CRITICAL VALUES”

Why do we do this?

Well because we want to know the critical t-value. Once we know that value then we can determine if our t-value of 10.95 is less than or greater than the critical t-value.

If it is greater than the critical t-value then we will reject the null hypothesis.

Page 215: What is an independent samples-t test?

Now we look up in the back of statistics book and find the following table entitled “t-DISTRIBUTION CRITICAL VALUES”

Why do we do this?

Well because we want to know the critical t-value. Once we know that value then we can determine if our t-value of 10.95 is less than or greater than the critical t-value.

If it is greater than the critical t-value then we will reject the null hypothesis.

If it is less than the critical t-value then we will accept or fail to reject the null hypothesis.

Page 216: What is an independent samples-t test?

To determine the critical t-value we do two things.

Page 217: What is an independent samples-t test?

To determine the critical t-value we do two things.

• First, we calculate the degrees of freedom. This is done by summing the sample size of both samples (which in this case is 60 (30+30)) and subtracting them by 2 (which comes to 58).

• Second, we determine the alpha value. Essentially the alpha value is that value that you set that indicates what you are willing to accept as a rare occurrence.

– If you choose an alpha of .05 you are essentially saying “if the chance of that occurring is .05 or less, then I will assume that that is a rare occurrence and reject the null hypothesis.

– If you choose an alpha of .01 you are essentially saying “if the chance of that occurring is .01 or less, then I will assume that that is a rare occurrence and reject the null hypothesis.

Page 218: What is an independent samples-t test?

To determine the critical t-value we do two things.

• First, we calculate the degrees of freedom. his is done by summing the sample size of both samples (which in this case is 60 (30+30)) and subtracting them by 2 (which comes to 58).

• Second, we determine the alpha value. Essentially the alpha value is that value that you set that indicates what you are willing to accept as a rare occurrence.

– If you choose an alpha of .05 you are essentially saying “if the chance of that occurring is .05 or less, then I will assume that that is a rare occurrence and reject the null hypothesis.

– If you choose an alpha of .01 you are essentially saying “if the chance of that occurring is .01 or less, then I will assume that that is a rare occurrence and reject the null hypothesis.

Page 219: What is an independent samples-t test?

To determine the critical t-value we do two things.

• First, we calculate the degrees of freedom. his is done by summing the sample size of both samples (which in this case is 60 (30+30)) and subtracting them by 2 (which comes to 58).

• Second, we determine the alpha value. Essentially the alpha value is that value that you set that indicates what you are willing to accept as a rare occurrence.

– If you choose an alpha of .05 you are essentially saying “if the chance of that occurring is .05 or less, then I will assume that that is a rare occurrence and reject the null hypothesis.”

– If you choose an alpha of .01 you are essentially saying “if the chance of that occurring is .01 or less, then I will assume that that is a rare occurrence and reject the null hypothesis.

Page 220: What is an independent samples-t test?

To determine the critical t-value we do two things.

• First, we calculate the degrees of freedom. his is done by summing the sample size of both samples (which in this case is 60 (30+30)) and subtracting them by 2 (which comes to 58).

• Second, we determine the alpha value. Essentially the alpha value is that value that you set that indicates what you are willing to accept as a rare occurrence.

– If you choose an alpha of .05 you are essentially saying “if the chance of that occurring is .05 or less, then I will assume that that is a rare occurrence and reject the null hypothesis.”

– If you choose an alpha of .01 you are essentially saying “if the chance of that occurring is .01 or less, then I will assume that that is a rare occurrence and reject the null hypothesis.”

Page 221: What is an independent samples-t test?

So let’s say that in this case you choose .05 as your alpha.

Page 222: What is an independent samples-t test?

So let’s say that in this case you choose .05 as your alpha. Using these two pieces of information we can now determine the t-critical value:

Page 223: What is an independent samples-t test?

So let’s say that in this case you choose .05 as your alpha. Using these two pieces of information we can now determine the t-critical value:

Page 224: What is an independent samples-t test?

So let’s say that in this case you choose .05 as your alpha. Using these two pieces of information we can now determine the t-critical value:

Page 225: What is an independent samples-t test?

So let’s say that in this case you choose .05 as your alpha. Using these two pieces of information we can now determine the t-critical value:

First we go to the column to the far left with the heading “df” and trace our finger down to 58 (60 is the closest) We then go over to the .05 heading. Where the df of 58 and a probability of .05 intersect we find the value 1.671.

Page 226: What is an independent samples-t test?

So let’s say that in this case you choose .05 as your alpha. Using these two pieces of information we can now determine the t-critical value:

First we go to the column to the far left with the heading “df” and trace our finger down to 58 (60 is the closest) We then go over to the .05 heading. Where the df of 58 and a probability of .05 intersect we find the value 1.671.

This is our critical t value: 1.671. So, if our calculated “t” exceeds this then we would reject the null hypothesis.

Page 227: What is an independent samples-t test?

So let’s say that in this case you choose .05 as your alpha. Using these two pieces of information we can now determine the t-critical value:

First we go to the column to the far left with the heading “df” and trace our finger down to 58 (60 is the closest) We then go over to the .05 heading. Where the df of 58 and a probability of .05 intersect we find the value 1.671.

This is our critical t value: 1.671. So, if our calculated “t” exceeds this then we would reject the null hypothesis.

If it does not exceed this value that we would fail to reject or accept the null hypothesis.

Page 228: What is an independent samples-t test?

So, with a t value of 10.95,

Page 229: What is an independent samples-t test?

So, with a t value of 10.95, 10.95

Page 230: What is an independent samples-t test?

So, with a t value of 10.95,

which is larger than a critical t of 1.671, we will reject the null hypothesis in favor of the alternative hypothesis which states:

10.95

Page 231: What is an independent samples-t test?

So, with a t value of 10.95,

which is larger than a critical t of 1.671, we will reject the null hypothesis in favor of the alternative hypothesis which states:

“The mean weight of babies whose mothers drink less than 2 bottles of water per month is statistically significantly greater than the mean weight of babies whose mothers drink more than 2 bottles of water per month.”

10.95

Page 232: What is an independent samples-t test?

“The mean weight of babies whose mothers drink less than 2 bottles of water per month is statistically significantly greater than the mean weight of babies whose mothers drink more than 2 bottles of water per month.”

Page 233: What is an independent samples-t test?

“The mean weight of babies whose mothers drink less than 2 bottles of water per month is statistically significantly greater than the mean weight of babies whose mothers drink more than 2 bottles of water per month.”

Sample 1 (>2 bottles of water) Sample 2 (<2 bottles of water)

Mean = 6 Var = 2.0

Mean = 10 Var = 2.0

Page 234: What is an independent samples-t test?

It is important to note that three things could have changed this outcome from a rejection of the null hypothesis to an acceptance (failure to reject) of the null hypothesis:

Page 235: What is an independent samples-t test?

It is important to note that three things could have changed this outcome from a rejection of the null hypothesis to an acceptance (failure to reject) of the null hypothesis:

1. if the means had been closer

Page 236: What is an independent samples-t test?

It is important to note that three things could have changed this outcome from a rejection of the null hypothesis to an acceptance (failure to reject) of the null hypothesis:

1. if the means had been closer BEFORE

Page 237: What is an independent samples-t test?

It is important to note that three things could have changed this outcome from a rejection of the null hypothesis to an acceptance (failure to reject) of the null hypothesis:

1. if the means had been closer

Sample 1 (>2 bottles of water) Sample 2 (<2 bottles of water)

Mean = 6 Var = 2.0

Mean = 10 Var = 2.0

BEFORE

Page 238: What is an independent samples-t test?

It is important to note that three things could have changed this outcome from a rejection of the null hypothesis to an acceptance (failure to reject) of the null hypothesis:

1. if the means had been closer AFTER

Page 239: What is an independent samples-t test?

Mean = 10 Var = 2.0

It is important to note that three things could have changed this outcome from a rejection of the null hypothesis to an acceptance (failure to reject) of the null hypothesis:

1. if the means had been closer

Sample 1 (>2 bottles of water) Sample 2 (<2 bottles of water)

Mean = 9 Var = 2.0

AFTER

Page 240: What is an independent samples-t test?

Mean = 10 Var = 2.0

It is important to note that three things could have changed this outcome from a rejection of the null hypothesis to an acceptance (failure to reject) of the null hypothesis:

1. if the means had been closer

Sample 1 (>2 bottles of water) Sample 2 (<2 bottles of water)

Mean = 9 Var = 2.0

AFTER

mean of sample 1

mean of sample 29

Page 241: What is an independent samples-t test?

Mean = 10 Var = 2.0

It is important to note that three things could have changed this outcome from a rejection of the null hypothesis to an acceptance (failure to reject) of the null hypothesis:

1. if the means had been closer

Sample 1 (>2 bottles of water) Sample 2 (<2 bottles of water)

Mean = 9 Var = 2.0

AFTER

mean of sample 1

mean of sample 210 9

Page 242: What is an independent samples-t test?

Mean = 10 Var = 2.0

It is important to note that three things could have changed this outcome from a rejection of the null hypothesis to an acceptance (failure to reject) of the null hypothesis:

1. if the means had been closer

Sample 1 (>2 bottles of water) Sample 2 (<2 bottles of water)

Mean = 9 Var = 2.0

AFTER

1

Raw score difference between

sample means.

Page 243: What is an independent samples-t test?

Mean = 10 Var = 2.0

It is important to note that three things could have changed this outcome from a rejection of the null hypothesis to an acceptance (failure to reject) of the null hypothesis:

1. if the means had been closer

Sample 1 (>2 bottles of water) Sample 2 (<2 bottles of water)

Mean = 9 Var = 2.0

AFTER

1

Raw score difference between

sample means.

The estimate of standard error is the

same as before

Page 244: What is an independent samples-t test?

Mean = 10 Var = 2.0

It is important to note that three things could have changed this outcome from a rejection of the null hypothesis to an acceptance (failure to reject) of the null hypothesis:

1. if the means had been closer

Sample 1 (>2 bottles of water) Sample 2 (<2 bottles of water)

Mean = 9 Var = 2.0

AFTER

1

Raw score difference between

sample means.

.365 The estimate of standard error is the

same as before

Page 245: What is an independent samples-t test?

Mean = 10 Var = 2.0

It is important to note that three things could have changed this outcome from a rejection of the null hypothesis to an acceptance (failure to reject) of the null hypothesis:

1. if the means had been closer

Sample 1 (>2 bottles of water) Sample 2 (<2 bottles of water)

Mean = 9 Var = 2.0

AFTER

2.74

Page 246: What is an independent samples-t test?

Notice as the difference between the two means narrows the t value decreases as well (In this case from 10.94 to 2.74)

Page 247: What is an independent samples-t test?

Notice as the difference between the two means narrows the t value decreases as well (In this case from 10.94 to 2.74)

There is a second factor that may impact the t value

Page 248: What is an independent samples-t test?

2. When the sample size decreases the t value will decrease as well

Let’s say instead of a sample size of 30, we have samples sizes of 5 We’ll keep the means (10 and 6) and the variances (2) the same Let’s see what happens

Page 249: What is an independent samples-t test?

2. When the sample size decreases the t value will decrease as well

Let’s say instead of a sample size of 30, we have samples sizes of 5 We’ll keep the means (10 and 6) and the variances (2) the same Let’s see what happens

Page 250: What is an independent samples-t test?

2. When the sample size decreases the t value will decrease as well

Let’s say instead of a sample size of 30, we have samples sizes of 5 We’ll keep the means (10 and 6) and the variances (2) the same Let’s see what happens

Page 251: What is an independent samples-t test?

2. When the sample size decreases the t value will decrease as well

Let’s say instead of a sample size of 30, we have samples sizes of 5 We’ll keep the means (10 and 6) and the variances (2) the same Let’s see what happens

Page 252: What is an independent samples-t test?

Let’s see what happens

BEFORE

Page 253: What is an independent samples-t test?

Let’s see what happens

BEFORE

2.0 2.0

30 30

10 6

Page 254: What is an independent samples-t test?

Let’s see what happens

BEFORE

2.0 2.0

30 30

10 6

Page 255: What is an independent samples-t test?

Let’s see what happens

AFTER

Page 256: What is an independent samples-t test?

Let’s see what happens

AFTER

2.0 2.0

5 5

10 6

Page 257: What is an independent samples-t test?

Let’s see what happens

AFTER

2.0 2.0

5 5

10 6

Page 258: What is an independent samples-t test?

Let’s see what happens

AFTER

2.0 2.0

5 5

4

Page 259: What is an independent samples-t test?

Let’s see what happens

AFTER

.42.0

5

4

Page 260: What is an independent samples-t test?

Let’s see what happens

AFTER

.4 .4

4

Page 261: What is an independent samples-t test?

Let’s see what happens

AFTER

.8

4

Page 262: What is an independent samples-t test?

Let’s see what happens

AFTER

.894

4

Page 263: What is an independent samples-t test?

Let’s see what happens

AFTER

4.47

Page 264: What is an independent samples-t test?

Sample 1 (>2 bottles of water) Sample 2 (<2 bottles of water)

AFTER

Mean = 6 Var = 2.0

Mean = 10 Var = 2.0

6 10

4.00 raw score units from each other4.47 SE values from each other

Page 265: What is an independent samples-t test?

Notice as the SAMPLE SIZE decreases the t value decreases (from 10.95 to 4.47).

Sample 1 (>2 bottles of water) Sample 2 (<2 bottles of water)

Mean = 6 Var = 2.0

Mean = 10 Var = 2.0

6 10

4.00 raw score units from each other4.47 SE values from each other

Page 266: What is an independent samples-t test?

Notice as the SAMPLE SIZE decreases the t value decreases (from 10.95 to 4.47).

Page 267: What is an independent samples-t test?

Notice as the SAMPLE SIZE decreases the t value decreases (from 10.95 to 4.47).

Because we have 8 degrees of freedom (combined sample sizes of 10 minus 2) and we are using a .05 alpha (meaning – we are willing to call the difference significant since the occurrence happens less than 5% of the time), we will go to the number 8 in the far left column and scroll over to the column entitled .05. Here we see the value 1.860. Since t value is greater than 1.860 (remember it was 4.47) then we would reject the null hypothesis.

Page 268: What is an independent samples-t test?

Here is the third factor that impacts the size of the t value:

Page 269: What is an independent samples-t test?

Here is the third factor that impacts the size of the t value:3. When the variance increases the t value will decrease

Page 270: What is an independent samples-t test?

Here is the third factor that impacts the size of the t value:3. When the variance increases the t value will decrease Let’s imagine that the variance increases from 2.0 to 20.0

Page 271: What is an independent samples-t test?

BEFORE

Page 272: What is an independent samples-t test?

BEFORE

2 2

30 30

10 6

Page 273: What is an independent samples-t test?

AFTER

Page 274: What is an independent samples-t test?

AFTER

20 20

30 30

10 6

Page 275: What is an independent samples-t test?

AFTER

20 20

30 30

10 6

Page 276: What is an independent samples-t test?

AFTER

20 20

30 30

10 6

Page 277: What is an independent samples-t test?

AFTER

20 20

30 30

4

Page 278: What is an independent samples-t test?

AFTER

.67 .67

4

Page 279: What is an independent samples-t test?

AFTER

1.33

4

Page 280: What is an independent samples-t test?

AFTER

1.15

4

Page 281: What is an independent samples-t test?

AFTER

3.47

Page 282: What is an independent samples-t test?

Sample 1 (>2 bottles of water) Sample 2 (<2 bottles of water)

AFTER

Mean = 6 Var = 20

Mean = 10 Var = 20

6 10

4.00 raw score units from each other3.47 SE values from each other

Page 283: What is an independent samples-t test?

Because we have 58 degrees of freedom again (combined sample size 60 minus 2) and we are using a .05 alpha (meaning – we are willing to call the difference significant since the occurrence happens less than 5% of the time), we will go to the number 60 in the far left column and scroll over to the column entitled .05. Here we see the value 1.671, just like in the first instance. Since t value is less than 1.671 (remember it was 1.15) then we would fail to reject (or accept) the null hypothesis.

Page 284: What is an independent samples-t test?

“The mean weight of babies whose mothers drink less than 2 bottles of water per month is NOT statistically SIGNIFICANTLY GREATER than the mean weight of babies whose mothers drink more than 2 bottles of water per month.”

Page 285: What is an independent samples-t test?

The examples you have just seen show what factors decrease the t value. Conversely, depending on their values these three factors can increase the t value, thus making it more likely that the t value will exceed the t critical value:

Page 286: What is an independent samples-t test?

The examples you have just seen show what factors decrease the t value. Conversely, depending on their values these three factors can increase the t value, thus making it more likely that the t value will exceed the t critical value:

1. Large difference between means

Page 287: What is an independent samples-t test?

The examples you have just seen show what factors decrease the t value. Conversely, depending on their values these three factors can increase the t value, thus making it more likely that the t value will exceed the t critical value:

1. Large difference between means

Mean = 6 Var = 2.0

Mean = 10 Var = 2.0

Mean = 10 Var = 2.0

Mean = 9 Var = 2.0

Page 288: What is an independent samples-t test?

2. Increase sample size

Page 289: What is an independent samples-t test?

2. Increase sample size

sample size = 5

sample size = 30

Page 290: What is an independent samples-t test?

2. Increase sample size

3. Smaller standard deviation

sample size = 5

sample size = 30

Page 291: What is an independent samples-t test?

2. Increase sample size

3. Smaller standard deviation

sample size = 5

sample size = 30

Mean = 10

Var = 5.0

Mean = 6 Var = 5.0

Mean = 10

Var = 2.0

Mean = 6 Var = 2.0

Page 292: What is an independent samples-t test?

In many cases the sample sizes are not the same. As we explained before another formula is used to weight the means so that the calculation is more accurate:

Page 293: What is an independent samples-t test?

In many cases the sample sizes are not the same. As we explained before another formula is used to weight the means so that the calculation is more accurate:

Page 294: What is an independent samples-t test?

In many cases the sample sizes are not the same. As we explained before another formula is used to weight the means so that the calculation is more accurate:

mean of sample 1mean of sample 2

Page 295: What is an independent samples-t test?

In many cases the sample sizes are not the same. As we explained before another formula is used to weight the means so that the calculation is more accurate:

As mentioned before, this formula is fairly complicated.

Let’s try to understand it conceptually a step at a time:

mean of sample 1mean of sample 2

Page 296: What is an independent samples-t test?

In many cases the sample sizes are not the same. As we explained before another formula is used to weight the means so that the calculation is more accurate:

As mentioned before, this formula is fairly complicated.

Let’s try to understand it conceptually a step at a time:

mean of sample 1mean of sample 2

Page 297: What is an independent samples-t test?

Imagine the sample size for babies from mothers who consume >2 bottles of water is 5 and the sample size for babies from mothers who consume < 2 bottles of water is 30 and variances (s1

2 & s22) are 2.

Page 298: What is an independent samples-t test?

Imagine the sample size for babies from mothers who consume >2 bottles of water is 5 and the sample size for babies from mothers who consume < 2 bottles of water is 30 and variances (s1

2 & s22) are 2.

Here is the calculation:

Page 299: What is an independent samples-t test?

Imagine the sample size for babies from mothers who consume >2 bottles of water is 5 and the sample size for babies from mothers who consume < 2 bottles of water is 30 and variances (s1

2 & s22) are 2.

Here is the calculation:

mean of sample 1mean of sample 210 6

30 2 5 2

30 5 30 5

Page 300: What is an independent samples-t test?

Imagine the sample size for babies from mothers who consume >2 bottles of water is 5 and the sample size for babies from mothers who consume < 2 bottles of water is 30 and variances (s1

2 & s22) are 2.

Here is the calculation:

10 6

29 * 2 4 * 2

30 + 5 - 2 30 5

Page 301: What is an independent samples-t test?

Imagine the sample size for babies from mothers who consume >2 bottles of water is 5 and the sample size for babies from mothers who consume < 2 bottles of water is 30 and variances (s1

2 & s22) are 2.

Here is the calculation:

4

58 + 8

33 30

7

Page 302: What is an independent samples-t test?

Imagine the sample size for babies from mothers who consume >2 bottles of water is 5 and the sample size for babies from mothers who consume < 2 bottles of water is 30 and variances (s1

2 & s22) are 2.

Here is the calculation:

4

66

33 30

7

Page 303: What is an independent samples-t test?

Imagine the sample size for babies from mothers who consume >2 bottles of water is 5 and the sample size for babies from mothers who consume < 2 bottles of water is 30 and variances (s1

2 & s22) are 2.

Here is the calculation:

4

66

33.23

Page 304: What is an independent samples-t test?

Imagine the sample size for babies from mothers who consume >2 bottles of water is 5 and the sample size for babies from mothers who consume < 2 bottles of water is 30 and variances (s1

2 & s22) are 2.

Here is the calculation:

4

2 * .23

Page 305: What is an independent samples-t test?

Imagine the sample size for babies from mothers who consume >2 bottles of water is 5 and the sample size for babies from mothers who consume < 2 bottles of water is 30 and variances (s1

2 & s22) are 2.

Here is the calculation:

4

.46

Page 306: What is an independent samples-t test?

Imagine the sample size for babies from mothers who consume >2 bottles of water is 5 and the sample size for babies from mothers who consume < 2 bottles of water is 30 and variances (s1

2 & s22) are 2.

Here is the calculation:

4

.68

Page 307: What is an independent samples-t test?

Imagine the sample size for babies from mothers who consume >2 bottles of water is 5 and the sample size for babies from mothers who consume < 2 bottles of water is 30 and variances (s1

2 & s22) are 2.

Here is the calculation:

5.90

Page 308: What is an independent samples-t test?

Here is the interpretation. Excuse the repetition, but the more you see it the more it is likely to sink in.

Sample 1 (>2 bottles of water) Sample 2 (<2 bottles of water)

Mean = 6 Var = 2.0 N = 30

Mean = 10 Var = 2.0 N = 5

6 10

5.90 SE values from each other

Page 309: What is an independent samples-t test?

Now we look up in the back of statistics book and find the following table entitled “t-DISTRIBUTION CRITICAL

VALUES”

Page 310: What is an independent samples-t test?

Now we look up in the back of statistics book and find the following table entitled “t-DISTRIBUTION CRITICAL

VALUES”The degrees of freedom are calculated by adding the two sample sizes and subtracting the result by 2: 30+5 – 2 = 33

Page 311: What is an independent samples-t test?

Now we look up in the back of statistics book and find the following table entitled “t-DISTRIBUTION CRITICAL

VALUES”The degrees of freedom are calculated by adding the two sample sizes and subtracting the result by 2: 30+5 – 2 = 33 Because we have 33 degrees of freedom and we are using a .05 alpha (meaning – we are willing to call the difference significant since the occurrence happens less than 5% of the time), we will go to the number 33 in the far left column and scroll over to the column entitled .05

Page 312: What is an independent samples-t test?

Now we look up in the back of statistics book and find the following table entitled “t-DISTRIBUTION CRITICAL

VALUES”The degrees of freedom are calculated by adding the two sample sizes and subtracting the result by 2: 30+5 – 2 = 33 Because we have 33 degrees of freedom and we are using a .05 alpha (meaning – we are willing to call the difference significant since the occurrence happens less than 5% of the time), we will go to the number 33 in the far left column and scroll over to the column entitled .05. Here we see the value is between 1.684 and 1.697. This is called the critical value, meaning if our calculated “t” exceeds this then we would reject the null hypothesis.

Page 313: What is an independent samples-t test?

Now we look up in the back of statistics book and find the following table entitled “t-DISTRIBUTION CRITICAL

VALUES”The degrees of freedom are calculated by adding the two sample sizes and subtracting the result by 2: 30+5 – 2 = 33 Because we have 33 degrees of freedom and we are using a .05 alpha (meaning – we are willing to call the difference significant since the occurrence happens less than 5% of the time), we will go to the number 33 in the far left column and scroll over to the column entitled .05. Here we see the value is between 1.684 and 1.697. This is called the critical value, meaning if our calculated “t” exceeds this then we would reject the null hypothesis. If it does not exceed this value that we would fail to reject or accept the null hypothesis.

Page 314: What is an independent samples-t test?

So, with a t value of 5.90,

Page 315: What is an independent samples-t test?

So, with a t value of 5.90,

5.90

Page 316: What is an independent samples-t test?

So, with a t value of 5.90,

which is larger than a critical t of a value between 1.684 and 1.697, we will reject the null hypothesis in favor of the alternative hypothesis which states:

5.90

Page 317: What is an independent samples-t test?

So, with a t value of 5.90,

which is larger than a critical t of a value between 1.684 and 1.697, we will reject the null hypothesis in favor of the alternative hypothesis which states:

“The mean weight of babies whose mothers drink less than 2 bottles of water per month is statistically SIGNIFICANTLY GREATER than the mean weight of babies whose mothers drink more than 2 bottles of water per month.”

5.90

Page 318: What is an independent samples-t test?

One more very important point when running an independent samples t test:

Page 319: What is an independent samples-t test?

One more very important point when running an independent samples t test:

When the variances are significantly dissimilar, we do three things:

Page 320: What is an independent samples-t test?

One more very important point when running an independent samples t test:

When the variances are significantly dissimilar, we do three things:

• First we determine if they are significantly dissimilar using a test called “Levene’s Test of Variance Inequality.”

Page 321: What is an independent samples-t test?

One more very important point when running an independent samples t test:

When the variances are significantly dissimilar, we do three things:

• First we determine if they are significantly dissimilar using a test called “Levene’s Test of Variance Inequality.”

• Second, if the sample sizes are similar, we calculate the t value using the original formula:

Page 322: What is an independent samples-t test?

One more very important point when running an independent samples t test:

When the variances are significantly dissimilar, we do three things:

• First we determine if they are significantly dissimilar using a test called “Levene’s Test of Variance Inequality.”

• Second, if the sample sizes are similar, we calculate the t value using the original formula:

Page 323: What is an independent samples-t test?

• Third, we calculate the degrees of freedom using another complicated looking formula:

Page 324: What is an independent samples-t test?

• Third, we calculate the degrees of freedom using another complicated looking formula:

Page 325: What is an independent samples-t test?

Example 2

Sample 1 (>2 bottles of water) Sample 2 (<2 bottles of water)

Mean = 6 Var = 5.0

Mean = 10 Var = 2.0

Page 326: What is an independent samples-t test?

Example 2

Sample 1 (>2 bottles of water) Sample 2 (<2 bottles of water)

Notice that the means are the same for examples 1 & 2

Mean = 6 Var = 5.0

Mean = 10 Var = 2.0

Page 327: What is an independent samples-t test?

Example 2

Sample 1 (>2 bottles of water) Sample 2 (<2 bottles of water)

Notice that the means are the same for examples 1 & 2Example 1:

Mean = 6 Var = 5.0

Mean = 10 Var = 2.0

Mean = 6 Var = 2.0

Mean = 10 Var = 2.0

Page 328: What is an independent samples-t test?

Example 2

Sample 1 (>2 bottles of water) Sample 2 (<2 bottles of water)

Notice that the means are the same for examples 1 & 2but the variance for the “> 2” group has gotten larger.

Mean = 6 Var = 5.0

Mean = 10 Var = 2.0

Page 329: What is an independent samples-t test?

What impact is there on the t-test when the variances are significantly different?

Page 330: What is an independent samples-t test?

What impact is there on the t-test when the variances are significantly different?

The impact occurs in the denominator of the independent samples t-test equation:

Page 331: What is an independent samples-t test?

What impact is there on the t-test when the variances are significantly different?

The impact occurs in the denominator of the independent samples t-test equation:

x1 – x2

SEdifferences

Page 332: What is an independent samples-t test?

We theoretically calculate the SEdifferences as shown before by calculating the difference between the first group’s sampling distribution and the second group’s sampling distribution,

Page 333: What is an independent samples-t test?

We theoretically calculate the SEdifferences as shown before by calculating the difference between the first group’s sampling distribution and the second group’s sampling distribution, and then taking the standard deviation of this resulting distribution

Page 334: What is an independent samples-t test?

We theoretically calculate the SEdifferences as shown before by calculating the difference between the first group’s sampling distribution and the second group’s sampling distribution, and then taking the standard deviation of this resulting distribution

=−

Page 335: What is an independent samples-t test?

We theoretically calculate the SEdifferences as shown before by calculating the difference between the first group’s sampling distribution and the second group’s sampling distribution, and then taking the standard deviation of this resulting distribution

=−

Page 336: What is an independent samples-t test?

Subtracting distributions with similar variances yield more stable results.

Page 337: What is an independent samples-t test?

Subtracting distributions with similar variances yield more stable results.

=−

Page 338: What is an independent samples-t test?

Subtracting distributions with similar variances yield more stable results.

Subtracting distributions with significantly different variances yield less stable results.

=−

Page 339: What is an independent samples-t test?

Subtracting distributions with similar variances yield more stable results.

Subtracting distributions with significantly different variances yield less stable results.

=−

=− ?

Page 340: What is an independent samples-t test?

Subtracting distributions with similar variances yield more stable results.

Subtracting distributions with significantly different variances yield less stable results.

So, the variances must be tested for similarity.

=−

=− ?

Page 341: What is an independent samples-t test?

How are the variances tested for similarity?

Page 342: What is an independent samples-t test?

How are the variances tested for similarity?

It just so happens there is a test for this: The Levene’s Test for Equality of Variance.

Page 343: What is an independent samples-t test?

How are the variances tested for similarity?

It just so happens there is a test for this: The Levene’s Test for Equality of Variance. When an independent samples t-test is run in SPSS, the Levene’s test is automatically run.

Page 344: What is an independent samples-t test?

As explained in the “Sums of Squares Logic” presentation, this test is computed by putting the larger sample variance in the numerator and the smaller one in the denominator.

Page 345: What is an independent samples-t test?

As explained in the “Sums of Squares Logic” presentation, this test is computed by putting the larger sample variance in the numerator and the smaller one in the denominator.

Var = 2.1

Var = 1.9

=

Page 346: What is an independent samples-t test?

As explained in the “Sums of Squares Logic” presentation, this test is computed by putting the larger sample variance in the numerator and the smaller one in the denominator.

Var = 2.1

Var = 1.9

= 1.1

Page 347: What is an independent samples-t test?

The F-statistic 1.1 falls within the area of acceptance, therefore we would accept (fail to reject) the null-hypothesis that the variances are NOT different.

Page 348: What is an independent samples-t test?

The F-statistic 1.1 falls within the area of acceptance, therefore we would accept (fail to reject) the null-hypothesis that the variances are NOT different.

Page 349: What is an independent samples-t test?

We still use the standard formula for standard error

Page 350: What is an independent samples-t test?

We still use the standard formula for standard error

x1 – x2

SEdifferences

Page 351: What is an independent samples-t test?

Now see what happens when the variances differ

Page 352: What is an independent samples-t test?

Now see what happens when the variances differ

Var = 5.9

Var = 1.9

=

Page 353: What is an independent samples-t test?

Now see what happens when the variances differ

Var = 5.9

Var = 1.9

= 3.1

Page 354: What is an independent samples-t test?

The F-statistic 3.1 falls just outside the area of acceptance, and into the area of rejection therefore we would reject the null-hypothesis that the variances are NOT different.

Page 355: What is an independent samples-t test?

The F-statistic 3.1 falls just outside the area of acceptance, and into the area of rejection therefore we would reject the null-hypothesis that the variances are NOT different.

Page 356: What is an independent samples-t test?

In summary, if Levene’s Test is not significant, we assume reasonable similarity in the dispersion of the two groups.

Page 357: What is an independent samples-t test?

In summary, if Levene’s Test is not significant, we assume reasonable similarity in the dispersion of the two groups.

We would then use the pooled estimate formula for the standard error of differences, because the sample sizes of the two groups are the same.

Page 358: What is an independent samples-t test?

In summary, if Levene’s Test is not significant, we assume reasonable similarity in the dispersion of the two groups.

We would then use the pooled estimate formula for the standard error of differences, because the sample sizes of the two groups are the same.

Page 359: What is an independent samples-t test?

In summary, if Levene’s Test is not significant, we assume reasonable similarity in the dispersion of the two groups.

We would then use the pooled estimate formula for the standard error of differences, because the sample sizes of the two groups are the same.

If Levene’s Test is significant, we do not assume reasonable similarity in the dispersion of the two groups.

Page 360: What is an independent samples-t test?

Furthermore, the formula for the corrected estimate of the standard error operates on different degrees of freedom which alters the actual standard error value, probability density and by probability of Type I error.

Page 361: What is an independent samples-t test?

Furthermore, the formula for the corrected estimate of the standard error operates on different degrees of freedom which alters the actual standard error value, probability density and by probability of Type I error.

Let’s look at an example.

Page 362: What is an independent samples-t test?

This is identical to an example you saw earlier with the exception that the variances are different.

Page 363: What is an independent samples-t test?

This is identical to an example you saw earlier with the exception that the variances are different.

What you will see in the slides that follow are the same standard error calculations as before. However we will use a special formula to calculate degrees of freedom.

Page 364: What is an independent samples-t test?

This is identical to an example you saw earlier with the exception that the variances are different.

What you will see in the slides that follow are the same standard error calculations as before. However we will use a special formula to calculate degrees of freedom.

Page 365: What is an independent samples-t test?

You have sample sizes (N1 & N2 ) of 30 each and variances (s1

2 & s22) of 2 and 30 respectively.

Page 366: What is an independent samples-t test?

You have sample sizes (N1 & N2 ) of 30 each and variances (s1

2 & s22) of 2 and 30 respectively.

Let’s imagine the

Page 367: What is an independent samples-t test?

You have sample sizes (N1 & N2 ) of 30 each and variances (s1

2 & s22) of 2 and 30 respectively.

Let’s imagine the• first sample of baby birth weight whose mothers

consumed < 2 bottles of water is 10 pounds with a variance of 2 and

Page 368: What is an independent samples-t test?

You have sample sizes (N1 & N2 ) of 30 each and variances (s1

2 & s22) of 2 and 30 respectively.

Let’s imagine the• first sample of baby birth weight whose mothers

consumed < 2 bottles of water is 10 pounds with a variance of 2 and

• second sample of baby birth weight whose mothers consumed > 2 bottles of water is 6 pounds with a variance of 30.

Page 369: What is an independent samples-t test?

Step 1 – subtract the mean of one sample from the mean of another sample:

mean of sample 1

mean of sample 2

Page 370: What is an independent samples-t test?

Step 1 – subtract the mean of one sample from the mean of another sample:

mean of sample 1

mean of sample 210 6

Page 371: What is an independent samples-t test?

Step 1 – subtract the mean of one sample from the mean of another sample:

4

Raw score difference

between sample means.

Page 372: What is an independent samples-t test?

Step 2 – divide each sample variance from its sample size:

4

Page 373: What is an independent samples-t test?

Step 2 – divide each sample variance from its sample size:

4

2 30variance of sample 1

variance of sample 2

Page 374: What is an independent samples-t test?

Step 2 – divide each sample variance from its sample size:

4

2 30

number of observations in

sample 1

number of observations in

sample 230 30

Page 375: What is an independent samples-t test?

Step 2 – divide each sample variance from its sample size:

4

.06730

30

Page 376: What is an independent samples-t test?

Step 2 – divide each sample variance from its sample size:

4

.067 1

Page 377: What is an independent samples-t test?

Step 3 – take the square root of the result in the denominator:

4

.067 1

Page 378: What is an independent samples-t test?

Step 3 – take the square root of the result in the denominator:

4

1.067

Page 379: What is an independent samples-t test?

Step 3 – take the square root of the result in the denominator:

4

1.033 estimated standard error

Page 380: What is an independent samples-t test?

Step 4 – Divide the difference between the means by the estimated standard error.

4

1.033

Page 381: What is an independent samples-t test?

Step 4 – Divide the difference between the means by the estimated standard error.

3.872

Page 382: What is an independent samples-t test?

If we used degrees of freedom of 29 this is what the critical t value would be:

Page 383: What is an independent samples-t test?

If we used degrees of freedom of 29 this is what the critical t value would be:

Page 384: What is an independent samples-t test?

If we used degrees of freedom of 29 this is what the critical t value would be:

t - critical value = 1.699

Page 385: What is an independent samples-t test?

However, when the variances are dissimilar, we use the formula previously mentioned:

Page 386: What is an independent samples-t test?

However, when the variances are dissimilar, we use the formula previously mentioned:

Page 387: What is an independent samples-t test?

Let’s plug in the numbers and determine the appropriate degrees of freedom for two samples with such different variances

2

Page 388: What is an independent samples-t test?

Let’s plug in the numbers and determine the appropriate degrees of freedom for two samples with such different variances

2 30

Page 389: What is an independent samples-t test?

Let’s plug in the numbers and determine the appropriate degrees of freedom for two samples with such different variances

2 30

30

Page 390: What is an independent samples-t test?

Let’s plug in the numbers and determine the appropriate degrees of freedom for two samples with such different variances

2 30

30 30

Page 391: What is an independent samples-t test?

Add fractions and then square the result.

2 30

30 30

Page 392: What is an independent samples-t test?

Add fractions and then square the result.

.06730

30

Page 393: What is an independent samples-t test?

Add fractions and then square the result.

.067 1

Page 394: What is an independent samples-t test?

Add fractions and then square the result.

1.067

Page 395: What is an independent samples-t test?

Add fractions and then square the result.

1.033

Page 396: What is an independent samples-t test?

Now for the denominator (lower half of the fraction)

1.033

Page 397: What is an independent samples-t test?

Now for the denominator (lower half of the fraction)

1.033

2 30

30 30

Page 398: What is an independent samples-t test?

Square the fractions

1.033

.06730

30

Page 399: What is an independent samples-t test?

Square the fractions

1.033

.067 1

Page 400: What is an independent samples-t test?

Square each result

1.033

.067 1

Page 401: What is an independent samples-t test?

Square each result

1.033

.004 1

Page 402: What is an independent samples-t test?

Square each result

1.033

.004 1 12 = 1

Page 403: What is an independent samples-t test?

Calculate each sample size plus one.

1.033

.004 1

Page 404: What is an independent samples-t test?

Calculate each sample size plus one.

1.033

.004 1

31 31

Page 405: What is an independent samples-t test?

Simplify each fraction

1.033

.004 1

31 31

Page 406: What is an independent samples-t test?

Simplify each fraction

1.033

.000131

31

Page 407: What is an independent samples-t test?

Simplify each fraction

1.033

.00013 .0323

Page 408: What is an independent samples-t test?

Sum the denominator

1.033

.00013 .0323

Page 409: What is an independent samples-t test?

Sum the denominator

1.033

.0324

Page 410: What is an independent samples-t test?

Sum the denominator

29.90

Page 411: What is an independent samples-t test?

Sum the denominator

27.90

Page 412: What is an independent samples-t test?

Sum the denominator

Degrees of freedom are 28 rather than 58.

27.90

Page 413: What is an independent samples-t test?

Let’s see how the critical value changes with a degree of freedom of 28.

Page 414: What is an independent samples-t test?

Let’s see how the critical value changes with a degree of freedom of 28. From this:

t - critical value = 1.699

Page 415: What is an independent samples-t test?

Let’s see how the critical value changes with a degree of freedom of 28. From this: To this:

Page 416: What is an independent samples-t test?

Let’s see how the critical value changes with a degree of freedom of 28. From this: To this:

t - critical value = 1.671

Page 417: What is an independent samples-t test?

So let’s summarize:

Page 418: What is an independent samples-t test?

So let’s summarize:

An independent samples t-test is an inferential statistical analysis that helps researchers determine if the mean of one sample is statistically significantly greater or lesser than the mean of another sample.

?

Page 419: What is an independent samples-t test?

So let’s summarize:

If we were just looking at the difference between two means then we would subtract them.

Page 420: What is an independent samples-t test?

So let’s summarize:

If we were just looking at the difference between two means then we would subtract them. But since we are drawing conclusions to a larger population we have to set up a null-hypothesis and then run an independent samples t-test to determine if the results are statistically significant and by extension generalizable to other samples.

Page 421: What is an independent samples-t test?

So let’s summarize:

The estimated standard error is the value that determines if the distance between two means are significant or not.

estimated standard error

Page 422: What is an independent samples-t test?

So let’s summarize:

If the estimated standard error is small then a small difference between two means may still be statistically significant;

Page 423: What is an independent samples-t test?

So let’s summarize:

If the estimated standard error is small then a small difference between two means may still be statistically significant; if the estimated standard error is large then a medium to large difference between two means may not be statistically significant.

Page 424: What is an independent samples-t test?

So let’s summarize:

If the estimated standard error is small then a small difference between two means may still be statistically significant; if the estimated standard error is large then a medium to large difference between two means may not be statistically significant.

The estimated standard error is everything!

Page 425: What is an independent samples-t test?

The size of the estimated standard error is determined by five factors:

Page 426: What is an independent samples-t test?

The size of the estimated standard error is determined by five factors:

1. How big the difference is between the two means

Page 427: What is an independent samples-t test?

The size of the estimated standard error is determined by five factors:

1. How big the difference is between the two means2. The size of the samples

Page 428: What is an independent samples-t test?

The size of the estimated standard error is determined by five factors:

1. How big the difference is between the two means2. The size of the samples3. The size of the variance

Page 429: What is an independent samples-t test?

The size of the estimated standard error is determined by five factors:

1. How big the difference is between the two means2. The size of the samples3. The size of the variance4. If the sample sizes are similar or different

Page 430: What is an independent samples-t test?

The size of the estimated standard error is determined by five factors:

1. How big the difference is between the two means2. The size of the samples3. The size of the variance4. If the sample sizes are similar or different5. If the variances are similar or different

Page 431: What is an independent samples-t test?

End of Presentation