In-Depth Notes on Percentiles and Quantiles

Measurement of Data Positions

Introduction to Percentiles

  • Percentiles are measures that divide a data set into 100 equal parts.
  • Each percentile indicates the relative position of a data value within the dataset.

Understanding Percentiles with an Example

  • Example Context: Exam scores in a statistics class.
  • 90th Percentile Explanation:
    • Scoring in the 90th percentile implies you scored better than 90% of your peers, not that you scored 90 out of 100.
    • Misconception Clarification: Percentile rankings do not directly reflect the actual score achieved.

Visualizing Percentiles

  • Score Distribution:
    • Lowest score (minimum value) represented on one end of a number line.
    • Highest score (maximum value) on the opposite end.
    • Points on the line represent different percentiles; e.g., the 90th percentile is where 90% of scores fall below it.
  • Implications:
    • If you are in the 90th percentile, it signifies that 10% of the class scored higher than you.
    • Percentiles can be high (e.g., 95) or low (e.g., 72) depending on class performance as a whole.

Calculating Percentiles

  • While calculations can be done manually, it is often easier to use calculators or software (like R).
  • Percentile vs. Quantile:
    • Percentiles are a specific case of quantiles that divide data into 100 parts.
    • Quantiles can divide data into any number of parts (e.g., quartiles divide into 4, deciles into 10).

Using R to Calculate Percentiles

  • Function Used: quantile() allows users to calculate percentiles in R.
    • Arguments:
    • X: List of data (e.g., exam scores, ages).
    • probs: Represents the desired percentile in decimal format (e.g., for 90th percentile, use probs = 0.90).
  • Example Application:
    • Given a list of ages for Academy Award-winning best actors (29 ages), we could find the 73rd percentile by entering the data into R and using the quantile function accordingly.

Example Calculation in R

  • Step 1: Combine the ages into a list:
    • Use c() function with ages inside: ages <- c(34, 45, 56,...).
  • Step 2: Use quantile() function:
    • To find the 73rd percentile, input: quantile(ages, probs = 0.73).

Conclusion

  • Understanding percentiles is crucial for interpreting data relative to others.
  • Use statistical software like R to efficiently calculate percentiles from data sets without manual computations, making it easier to analyze the relative standings of data points.