1 / 22

Chapter VIII: Elements of Inferential Statistics

Chapter VIII: Elements of Inferential Statistics. Hypothesis Testing. Hypothesis testing is a form of statistical inference to reach conclusions about scientific problems.

erv
Download Presentation

Chapter VIII: Elements of Inferential Statistics

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

E N D

Presentation Transcript


  1. Chapter VIII:Elements of Inferential Statistics

  2. Hypothesis Testing • Hypothesis testing is a form of statistical inference to reach conclusions about scientific problems. • Hypothesis testing is the mechanism that updates and tests scientific principles and refines these principles. This in turn is the basis of the advancement of scientific research. • The testing of sample validity is crucial to the application of inferential statistics, thus we must be able to test our samples.

  3. Classical/Traditional Methods • Classical Hypothesis Testing • Formal multi-step process that leads to a conclusive statement regarding the hypothesis: • Step 1: State Null and Alternate Hypothesis • Step 2: Select appropriate statistical test • Step 3: Select level of significance • Step 4: Delineate regions of rejection and non-rejection of null hypothesis • Step 5: Calculate test statistic • Step 6: Make decision regarding null and alternate hypotheses

  4. State Null and Alternate Hypothesis • State null () and alternate () hypothesis. • The null is the established value: • or • This states that the mean value of the null hypothesis is equal to the actual mean. Thus, if you subtract the hypothesized mean from the mean then the value should equal zero. • The alternate hypothesis and the null are mutually exclusive. • comes in three variations, one nondirectional and two directional • thus the alternate is any value but the null value. • or thus the alternate is chosen to establish itself as greater than or less than the null hypothesis depending on the experiment.

  5. Hypothesis Testing • Choosing direction • This graph represents a nondirectional test. The test is only interested if the alternate hypothesis does not equal the null hypothesis. • In the case of a < than or > than scenario, the curve would only be shaded on the side of the alternate hypothesis. Greater than the mean would shade the right tail, less than the left.

  6. Error in Hypothesis Testing • Error in hypothesis testing • In hypothesis testing we are using a sample to either retain or reject a null hypothesis. Due to it being from a sample, there is always going to be a probability of error in rejecting or not rejecting the null hypothesis. • Type I Error • A type I error occurs when the null hypothesis is rejected when it is actually true. The likelihood of this occurring is alpha - • This level is selected prior to the hypothesis test • Type II Error • A type II error occurs when the null hypothesis is not rejected but the null hypothesis is actually false. The likelihood of this error is beta -

  7. Selecting a Statistical Test • An appropriate statistical test must be chosen. In the chosen case a sample difference of means test is chosen. • However, many different tests exist. A list can be found at: • http://www.graphpad.com/www/Book/Choose.htm • A sample difference of means test is: • or • Where Z or t is the test statistic ( Z if n > 30, t if n < 30) • is the sample mean • is the population mean • is the standard error of the mean • is the population standard deviation • n is the sample size

  8. Selecting the Level of Significance • The level of significance or alpha () can be established for a hypothesis test. • The alpha is essentially the probability of error in your hypothesis test, thus you have control over the chance of a type I error. • To reduce the chance of error is often set very low as errors leading to false conclusions can seriously flaw research. • = .05 or .01 are common levels of significance used.

  9. Selecting Level of Significance Continued • Error is very important when setting the of your hypothesis test. • The acceptable error of your test must be established based on the needs of the study. • Common example in type I errors is a jury trial where an innocent person is found guilty. • In this case you would want to establish a very small margin of error if possible. Is 1 in 20 acceptable? Is 1 in 100?

  10. Delineate Regions of Rejection and Non-rejection of the Null Hypothesis • Once has been established we must determine where we want it to be under the curve. • Directional or Non-Directional tests are then revisited to establish where occurs. • A two-tailed format (nondirectional) must divide between the two tails of the curve thus represents .025 of each tail region. If then it represents .005 in each tail. • A one-tailed format (directional) establishes the entire value in one tail depending on whether we want a < or > value for the alternate hypothesis.

  11. Z-Scores in Hypothesis Testing • By converting the into a z-score we can establish the scores which result in the rejection of the null hypothesis. • In a two-tailed test = .025 leaves .95 of the area under the curve. • Using a table or calculator we can determine the range of .95 to be -1.96 to 1.96 as a z-score. • Common to z-scores are: • = .05 = -1.96, 1.96 • = .02 = -2.326, 2.326 • = .01 = -2.576, 2.576 • http://people.richland.edu/james/lecture/m170/ch08-int.html

  12. Calculate the Test Statistic • Use: • or • Use the z-score (or t-score) of the test statistic to establish whether the statistic falls within the selected range of alpha. • If the score is within the range then the null hypothesis is retained. • If the score is not within the range then the null hypothesis is rejected.

  13. P-Value Hypothesis Testing • Most commonly used approach as classical approach has limitations. • In Classical testing: • Selection of alpha can lack theoretical basis • Binary rejection/retention of hypothesis is limited • P-Value Testing: • Establishes exact probability of getting test statisticessentially the probability of a type I error • Establishes a rejection region

  14. P-Value Testing • Four Steps: • Calculate Z-Score of test statistic as in classical approach • Calculate the probability of the value using the area under the normal curve from a table • Shade the rejection area by subtracting the probability from value. • Double the area established if using a nondirectional hypothesis • A step-by-step example can be found here: http://www.youtube.com/watch?v=uVvWcFrrvsI

  15. P-Value Testing Continues • P-Values allow more direct experimental conclusions: • Significance and Type I errors are calculated making the exact measurements available. • Easy to obtain multiple values over time or area and compare the values for analysis. • Still require significant analysis and rigorousness in studies to prevent invalid results or conclusions.

  16. Applications Using Small Samples • Values can be calculated similar to the Z-Test but using the t-test equations. • or • Sample sizes less than 30 have a similar distribution with the exception the there is a higher probability of values falling in the tails due to the increased uncertainty of the small sample size in finding the true value. • Hypothesis rejection is still based on the p-value and if p < .05 then there is most likely high level of certainty.

  17. One Sample Difference of Proportions Test • Z-Tests can be done comparing proportions as well. • This can establish the proportion to be compared to the population. • Example of this methodology: http://www.youtube.com/watch?v=0jeDp03jymQ

  18. Issues in Inferential Testing and Test Selection • Defining Degrees of Freedom • In a sample size of n there are n degrees of freedom • When a parameter is estimated one degree of freedom is lost. • In the t-test sample we are estimating and thus one degree of freedom is lost. This is represented as n - 1 in the equation. • In two sample tests and are calculated so two degrees of freedom are lost (n – 2). • Degrees of Freedom is an important concept for many other distributions.

  19. Sampling Issues and Inferential Testing • Regardless of sampling method all samples must be drawn independently and separately. • Although there are a couple of exceptions not examined here. • Artificial and Natural Sampling • Artificial samples draw unbiased random samples from the population and infers characteristics based on the sample data. • Natural Samples draw from random events and are analyzed under the idea that natural events are random processes in themselves. Inferential processes should be applied with care when applied to natural samples. • The differences between these methods are important and debated in Geography.

  20. Inferential Test Selection • Choosing methods for geographic problems is quite complicated and requires careful analysis of the procedural methods. • Table 8.7 in the text (page 126-127) provides a set to assist in this process. • Parametric and NonParametric tests • Parametric Tests are when inferential tests require knowledge about population parameters and make assumptions about the underlying population distribution. • Non-parametric Tests do not require this underlying knowledge.

  21. Data and Tests • Parametric tests are run for data at: • An ordinal or nominal scale; in the case of these scales a parametric test is required. • At the intervallic/ratio scale different strategies can be used: • Run only a parametric test – when no doubt that assumptions and requirements to run test are met. • Run only a nonparametric test – when there is reason to believe that the assumptions or parameters are violated. The data must be downgraded to a nominal or ordinal scale and then one can run a parametric test. • Run both tests – If there is uncertainty in the amount the statistics are violated. P-tests can be run and the values compared to establish and investigate the analytical questions.

  22. The End • Finally, here is an applet designed to demonstrate classical hypothesis testing for further exploration: • http://www-personal.umd.umich.edu/~pksmith/JavaStat/CriticalRegionsPValues.html

More Related