Differences between revisions 7 and 8
Revision 7 as of 2011-09-03 14:40:19
Size: 1782
Editor: cpe-69-207-82-159
Comment:
Revision 8 as of 2011-09-03 14:46:40
Size: 2257
Editor: cpe-69-207-82-159
Comment:
Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:
 . '''The Problem'''
 . Smokin’ Joe hypothesizes that marijuana can be used to mitigate some of the negative side effects of common AIDS drugs, such as loss of appetite. He wants to test the hypothesis that marijuana increases the appetites of AIDS patients who are taking common AIDS drugs. He measures the difference in calories eaten by patients the day after taking a THC pill and the day before taking the pill. Here are the measurements he obtains for 10 subjects – [101, 75, -82, 32, -50, 203, 165, 145, 303, 23]
 . The Problem
 . {{{
Smokin’ Joe hypothesizes that marijuana can be used to mitigate some of the negative side effects of common AIDS drugs, such as loss of appetite. He wants to test the hypothesis that marijuana increases the appetites of AIDS patients who are taking common AIDS drugs. He measures the difference in calories eaten by patients the day after taking a THC pill and the day before taking the pill. Here are the measurements he obtains for 10 subjects – [101, 75, -82, 32, -50, 203, 165, 145, 303, 23]
}}}
Line 21: Line 23:
In other words, Smokin' Joe wants to test whether the difference in calories eaten by AIDS patients (i.e. the property of a group) is different from 0 (i.e. a hypothetical value). If it is significantly different from 0, we can reject the null hypothesis that marijuana has no effect on appetite. In other words, Smokin' Joe wants to test whether the difference in calories eaten by AIDS patients (i.e. the property of a group) is different from 0 (i.e. a hypothetical value). If it is significantly different from 0, we can reject the null hypothesis which states that marijuana has no effect on appetite.

Note here the only information available is the difference scores of the 10 subjects. We do '''not''' know the true standard deviation of the population of difference scores. Therefore, a z-test is not applicable in this case.

=== Approximate Population SD with Sample SD ===
One possible solution to the problem, which allows us to use the single-sample t-test, is to approximate the population standard deviation with sample standard deviation $s$.

Statistical Tests for Experiments with Single Samples

Sometimes, the research question is as simple as investigating whether the value of a certain property of a group differs from a hypothetical value (specified by the null hypothesis). Depending on what information is available, one can choose between the following types of tests:

In this section, we are going to review these two tests by working through a few toy problems.

Z-test

Single-sample t-test

The single-sample t-test is often more commonly used as we as experimenters rarely know the true standard deviation of the target population. The only available information has to come from the sample data collected in the experiment. For example, Smokin' Joe wants to know whether marijuana can increase appetite and conducted an experiment:

  • The Problem
  • Smokin’ Joe hypothesizes that marijuana can be used to mitigate some of the negative side effects of common AIDS drugs, such as loss of appetite. He wants to test the hypothesis that marijuana increases the appetites of AIDS patients who are taking common AIDS drugs. He measures the difference in calories eaten by patients the day after taking a THC pill and the day before taking the pill. Here are the measurements he obtains for 10 subjects – [101, 75, -82, 32, -50, 203, 165, 145, 303, 23]

In other words, Smokin' Joe wants to test whether the difference in calories eaten by AIDS patients (i.e. the property of a group) is different from 0 (i.e. a hypothetical value). If it is significantly different from 0, we can reject the null hypothesis which states that marijuana has no effect on appetite.

Note here the only information available is the difference scores of the 10 subjects. We do not know the true standard deviation of the population of difference scores. Therefore, a z-test is not applicable in this case.

Approximate Population SD with Sample SD

One possible solution to the problem, which allows us to use the single-sample t-test, is to approximate the population standard deviation with sample standard deviation $s$.

OneSampleOneVariable (last edited 2012-01-23 18:14:22 by cpe-69-207-83-233)

MoinMoin Appliance - Powered by TurnKey Linux