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 XX being between two values, e.g., 80<X<10580 < X < 105.
    • Cumulative Probability Formula: Use the cumulative distribution function (CDF).
    • Formula for computing the area under the curve from - to a point xx: P(X ext{ up to } x) = Pnorm(x, , ).
    • For continuous random variables, the equal condition is not required.
Example Computation in R
  1. Given Parameters:

    • Mean () = 100
    • Standard Deviation () = 15
    • Interval: 80<X<10580 < X < 105
  2. 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%.
  1. Formula: P(X<extx)=0.9P(X < ext{x}) = 0.9
  2. 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
  1. Proportion of Runners: Determine the likelihood of a single runner finishing in over 90 minutes.

    • Formula for upper tail probability: P(X>90)=1−Pnorm(90,84,18)P(X > 90) = 1 - Pnorm(90, 84, 18)
    • Result: Approximately 0.369.
  2. Expected Number of Runners: If 50,000 runners participate:

    • Expected number = Proportion * Total Runners = 0.369imes50000o18472.0650.369 imes 50000 o 18472.065 (keep decimal)
  3. 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

  1. Scenario Setup: The success rate (e.g., two interviewed runners taking longer than 90 minutes out of 6).
  2. Formula: P(Y=2)=nextchoosekpk(1−p)n−kP(Y = 2) = {n ext{ choose } k} p^k (1-p)^{n-k}
    • Where n = sample size, k = successful outcomes, and p = individual likelihood.
  3. Efficient Calculation in R: Use dbinom(2,6,0.3694413) to verify results based on specified conditions.