Introduction to Inferential Statistics: Populations, Samples, and Hypothesis Testing
Fundamental Concepts of Populations and Samples
Population Defined: A population refers to the total set of all possible observations for any matter within a defined limit. It is not restricted to human populations (e.g., the Australian population), but can include any grouped data set.
Environmental Example: All individuals of a particular species tracked and reported within a specific regional area constitute a population for that area.
Practical Constraints: In many cases, populations are too large to measure directly (e.g., massive university courses with thousands of students). Managing such immense data sets is often impractical and unnecessary for making inferences.
Sample Defined: A sample is a subset or subgroup of a population chosen for study and comparison to the larger group.
Study Application: While a course with only 11 students might allow for the study of the whole population, a course with 1,000 students would require a smaller model group (sample) to draw conclusions or make predictions.
Defined Populations vs. Samples Examples:
Population: Maximum daily temperatures recorded in a specific regional area during September 2000.
Sample: Maximum temperatures recorded for only nine days of September 2000.
Population: Lengths of sun crabs in Horton Bay during January 2002.
Sample: The lengths of 50 sun crabs specifically measured in Horton Bay during that year.
Parameters vs. Statistics
Parameters: These are descriptors of the population. They represent the true values we aim to understand. Key parameters include:
Mean: Denoted by the Greek letter Mu ().
Proportion: Denoted by .
Standard Deviation: Denoted by the Greek letter Sigma ().
Statistics: These are measurements or descriptors extracted from a sample. They change depending on the subset of data used. Key statistics include:
Sample Mean: Denoted by with a bar ().
Sample Proportion: Denoted by "p-hat" ().
Sample Standard Deviation: Denoted by .
Sample Size: Represented by a lowercase , whereas population size is sometimes represented by a capital .
Sampling Distributions and the Central Limit Theorem
Infinite Sampling Process: If multiple samples of the same size (e.g., ) are taken repeatedly from a population, the mean of those samples will vary. However, as the number of samples approaches infinity, the distribution of those sample means will mimic a specific behavior.
The Expected Value: It is more likely to obtain a sample mean value close to the expected population mean than one far away from it. The pattern of these sample statistics forms a Probability Density Function (PDF) known as the sampling distribution.
Central Limit Theorem (CLT): The CLT states that regardless of the underlying population's distribution shape, the sampling distribution of the mean will follow a normal distribution (the bell curve) if the sample size is large enough.
Standard Error: This represents the error in the calculated sample mean. As the sample size () increases, the standard error decreases, leading to calculations that are more representative of the true population parameter. The formula for the standard error is:
Student’s t-Distribution and Degrees of Freedom
The t-Distribution: This is a variation of the normal distribution used when the sample size is small or the population standard deviation is unknown.
The 30-Point Rule: If a dataset contains 30 or more data points (), a normal distribution can be assumed. If the sample size is less than 30 (), the Student's t-distribution must be used because full normality cannot be assumed.
Degrees of Freedom (df): This concept refers to the number of data points in a calculation that are free to vary.
Logic: If the mean of 20 data points is already known, then only 19 of those data points are truly "free." The 20th point can be mathematically determined based on the mean and the other 19 values.
Formula:
Inferential Statistics: Parametric vs. Nonparametric
Parametric Testing: These tests assume that the data follows a normal distribution or can be approximated to one. They estimate population parameters based on sample statistics.
Nonparametric Testing: These tests are utilized when an underlying normal distribution cannot be proven or assumed. They do not rely on parameter estimates in the same way parametric tests do.
Confidence Intervals (CI)
Definition: A confidence interval provides an estimated range of values within which the population parameter (such as the mean) is likely to fall, given a specific level of confidence (e.g., 95% or 99%).
Confidence Levels and Interval Width:
Higher Confidence (99%): Results in a wider interval (more conservative). To be 99% confident, you must provide a broader range of possible values.
Lower Confidence (90% or 70%): Results in a narrower, more "accurate-looking" interval, but at the cost of statistical power and certainty.
Sample Size Impact: Increasing the sample size while maintaining the same confidence level makes the interval narrower and more precise.
Significance Level (Alpha, ): This represents the probability that the population parameter lies outside the confidence interval. It is the part of the data "out of our control."
Formula:
Calculating Confidence Intervals: The limits (upper and lower) are calculated by taking the sample mean and adding or subtracting a margin of error based on the t-score and standard error.
Confidence Interval Examples
Example 1: Calculating a 99% CI for a sample size of , sample mean , and standard deviation .
Find Alpha: .
Degrees of Freedom: .
T-Value (Two-Tailed): Consulting a t-table for and yields approximately .
Margin of Error: .
Final Interval: The range is approximately .
Example 2 (Effect of Confidence Level): Reducing the confidence level from 99% to 90% in the same scenario (, , ):
The margin of error decreases, making the interval narrower and more precise but less certain.
Example 3 (Effect of Sample Size): Increasing the sample size while keeping the confidence at 99%:
The standard error decreases, which narrows the gap of the interval and provides a more accurate estimation of the population mean.
The Five Steps of Hypothesis Testing
State the Hypotheses: Define both the Null Hypothesis () and the Alternative Hypothesis ( or ).
Calculate the Statistic: Compute descriptive sample statistics (e.g., sample mean, sample standard deviation).
Decision Rule: Determine the threshold (alpha/critical value) for rejecting the null hypothesis.
Rejection Test: Compare the calculated statistic against the critical value to determine if the result is statistically significant.
Conclusion: Provide a written result in the context of the problem.
Null vs. Alternative Hypotheses
Null Hypothesis (): Represents "no change," "no difference," or "void." It assumes any observed difference is due to chance.
Alternative Hypothesis (): The hypothesis seeking to be tested; it represents a meaningful change or effect.
Directionality:
Two-Tailed (Non-directional): Used when testing if there is any difference between groups, regardless of which is higher or lower. Example: "Is there a difference in growth rate between soil A and soil B?"
One-Tailed (Directional): Used when testing for a specific direction of change (e.g., an increase or a decrease). Example: "Has the nitrogen oxide level in the atmosphere increased compared to last week?"
Examples of Hypothesis Construction
Plant Growth Scenario: Testing the effect of two different soils on growth rate.
: There is no difference in the growth rate of plants using the two different soils ().
: There is a difference in the growth rate of plants using the two different soils ().
Type: Two-tailed (as no specific direction like "better" or "worse" was sought).
Atmospheric Nitrogen Oxide Scenario:
Context: Testing for an increment between a holiday period (low activity) and a work week (high traffic).
: Nitrogen oxide levels stayed the same or decreased ().
: There is an increased level of nitrogen oxide ().
Type: One-tailed (right side, focusing on increment).
Shrimp/Fish Habitat Scenario:
Context: Fish require dissolved oxygen (DO) levels to live. Testing a stream to see if it is unlivable ().
: DO concentration is (no change; fish can live).
: DO concentration is (the stream is unlivable).
Type: One-tailed.
Questions & Discussion
Question: If I sample infinitely, what happens to the mean values of the outputs?
Answer: If you repeat the sampling process enough times, the distribution of those sample means will mimic the population behavior. Specifically, the value you get most often will be the expected value (close to the population mean). This is why researchers use enough samples to minimize error.
Question: Why is alpha () called the significance level?
Answer: It is called the significance level because it defines the boundary of what we consider a "significant" result. It accounts for the 1% or 5% chance (depending on the confidence level) that the value is truly outside our range due to random error rather than the effect we are testing.
Question: In the t-distribution table, do I need to divide the t-value or alpha by two for a two-tailed test?
Answer: Many modern t-distribution tables provide specific columns for "Two-Tail" and "One-Tail" alpha values, so no manual division is needed. One simply selects the column corresponding to the required alpha (e.g., for a two-tailed test).