Week2 part2
Conceptual Interpretation of 95% Confidence Intervals
A confidence interval provides a range of values that potentially contains a population parameter, such as a population proportion ().
The method for computing a confidence interval involves taking a random sample and applying a specific mathematical formula. This formula utilizes a critical value (sometimes referred to loosely as a "magical number") to determine the width of the interval.
The fundamental meaning of a confidence level is rooted in the long-run success rate of the methodology:
If the process of taking a random sample and calculating a confidence interval is repeated many times (e.g., times), approximately of those resulting intervals are expected to capture the true population proportion.
Conversely, approximately of those intervals (or out of ) will fail to capture the true parameter.
The confidence level is a statement about the reliability of the estimation process over time, not a specific probability assigned to a single, already-calculated interval.
For a single specific interval, it is unknown whether the true population parameter is contained within it. The parameter itself is a fixed value, whereas the intervals vary from sample to sample.
Misconceptions and Statistical Parameters
A common misunderstanding in interpreting results is the belief that a confidence interval describes the range where a sample mean will fall.
Correct Interpretation: A confidence interval for the mean is constructed to capture the population mean, not the sample mean. One cannot be sure that the mean of a future sample will fall within a previously calculated confidence interval.
Calculation Example: In a scenario where a confidence interval is calculated over trials, the underlying method is mathematically expected to capture the population parameter times ().
Core Components of Statistical Analysis and Inference
Descriptive Statistics: This involves reporting the measures of center, specifically the mean and median. The choice between reporting the mean or median depends on the nature of the data. These should be accompanied by measures of spread and an analysis of the data's shape.
Parameter Estimation: This involves using sample data to create confidence intervals, which provide an estimate for unknown population parameters.
Hypothesis Testing: This process uses sample data to decide between two competing claims (hypotheses) about a population. It tests the validity of a specific claim rather than just providing an estimate.
Case Study: Joy Milne and the Scent of Parkinson's Disease
Research Question: The investigation centers on whether Parkinson's disease can be detected by sense of smell.
Background: Joy Milne (a Scottish woman) noticed a distinct change in the smell of her husband, Les, prior to his diagnosis with Parkinson's disease. This led to the hypothesis that the disease produces a unique olfactory signature.
Significance of Detection by Smell:
Early Diagnosis: Identifying the disease earlier allows for the commencement of treatment at an earlier stage, which generally results in better patient outcomes.
Cost-Effectiveness: Smell-based detection could potentially be less expensive than existing diagnostic technologies.
Research Impact: Scientific proof of a specific scent would shift the perspective on Parkinson's research and treatment development.
Initial Experimental Test: Researchers provided Joy with T-shirts to smell. Some were worn by Parkinson's patients and some by healthy controls. She was asked to identify which shirts belonged to the patients.
The Framework of Hypothesis Testing
Competing Hypotheses: Hypothesis testing evaluates two opposing claims, known as the null and alternative hypotheses.
Null Hypothesis (): This is the baseline claim that there is no effect or no difference. In the context of Joy Milne's test, states that she cannot smell Parkinson's and is simply guessing.
Mathematically, if she is guessing between two options (Parkinson's or no Parkinson's), the proportion () she would get correct is .
Alternative Hypothesis ( or ): This is the claim the researcher seeks to support with evidence. In this case, states that Joy can detect the disease at a rate better than random chance.
Mathematically, this is expressed as p > 0.5.
Testing Logic: The test determines how unlikely the observed data (the experimental result) would be if the null hypothesis were true.
Simulation Method and the P-Value
Simulation of Random Guessing: To quantify how likely success is by sheer luck, an experiment can be simulated using cards (which have no smell). If a person guesses on cards, they are essentially replicating the behavior of a "guesser" in the T-shirt experiment.
Simulation Results for Trials:
Getting exactly out of correct is highly likely, occurring in nearly of experiments where someone is just guessing.
Getting out of correct is rare; simulation shows this occurs only about of the time by chance.
Defining the P-Value: The P-value is the probability of obtaining a sample statistic that is as extreme or more extreme than the observed sample result, assuming the null hypothesis () is true.
Simulation-Based P-Values:
The P-value for achieving out of correct identifications is ().
The P-value for achieving or more out of correct identifications is (), calculated by adding the probabilities of getting exactly and exactly .
Questions & Discussion
Question: If someone is purely guessing and cannot smell the disease, how many out of shirts would they be expected to identify correctly?
Answer: On average, a person guessing would get correct due to the probability of each choice.
Question: How many correct identifications are required to convince a scientist that the ability is real?
Answer: There is no single correct answer; it depends on the tolerance for error. For high-stakes medical diagnoses (like cancer), a high degree of certainty (e.g., ) is often required. For less critical claims, a scientist might be satisfied with or out of .
Question: What is specifically wrong with the statement "I am sure that the mean of a sample will fall within a confidence interval for the mean"?
Answer: The statement is incorrect because the interval is designed to estimate the population mean, not to predict where the sample mean will land. The sample mean is what was used to build the interval in the first place.