March 2, stats rec
Normal Distribution Overview
- Definition: A normal distribution is a type of continuous probability distribution characterized by its bell-shaped curve.
- Parameters: The distribution is defined by two parameters:
- Mean (): The average of the distribution.
- Standard Deviation (): A measure of the dispersion or spread of the distribution.
Properties of Normal Distribution
- Central Tendency: Most values cluster around the central peak.
- 68-95-99.7 Rule: In a normal distribution:
- Approximately 68% of values lie within one standard deviation () of the mean ().
- Approximately 95% of values lie within two standard deviations of the mean.
- Approximately 99.7% of values lie within three standard deviations of the mean.
Mathematical Representation
- For a set of data represented by a normal distribution, the intervals can be summarized as follows:
- ext{68% of data: } [ - , + ]
- ext{95% of data: } [ - 2, + 2]
- ext{99.7% of data: } [ - 3, + 3]
Cumulative Probability Calculation
- Goal: To find the probability of a random variable being between two values, e.g., .
- Cumulative Probability Formula: Use the cumulative distribution function (CDF).
- Formula for computing the area under the curve from - to a point : P(X ext{ up to } x) = Pnorm(x, , ).
- For continuous random variables, the equal condition is not required.
Example Computation in R
Given Parameters:
- Mean () = 100
- Standard Deviation () = 15
- Interval:
R Code:
- [ P = Pnorm(105, 100, 15) - Pnorm(80, 100, 15) ]
- Result: Approximately 0.539.
Alternative Methods for Probability Calculation
- Online Calculators: Useful for quick probability computations when R is not available.
- Another Example Application: Using the highlights
- Highlight the interval in the probability distribution graph corresponding to the calculated range.
Percentile Calculations in R
- Definition of Percentile: A value below which a given percentage of observations fall.
- For the 90th percentile, the goal is to find the value that separates the lowest 90% of scores from the highest 10%.
- Formula:
- R Code:
- [ X_{90} = qnorm(0.9, 100, 15) ]
- Resulting value: approximately 119.
Contextual Application: Marathon Running Time
Given Parameters
- Average finish time: 84 minutes
- Standard deviation: 18 minutes
Applications
Proportion of Runners: Determine the likelihood of a single runner finishing in over 90 minutes.
- Formula for upper tail probability:
- Result: Approximately 0.369.
Expected Number of Runners: If 50,000 runners participate:
- Expected number = Proportion * Total Runners = (keep decimal)
Top 20% Finishers: Determine the maximum finishing time to qualify for a prize.
- Calculation of the 80th percentile.
- R Code: [ qnorm(0.8, 84, 18) \rightarrow approximately 68.85082 ] minutes.
Binomial Distribution Application
- Scenario Setup: The success rate (e.g., two interviewed runners taking longer than 90 minutes out of 6).
- Formula:
- Where n = sample size, k = successful outcomes, and p = individual likelihood.
- Efficient Calculation in R: Use
dbinom(2,6,0.3694413)to verify results based on specified conditions.