Lecture Notes - Probability for Continuous Variables
PSYC 210: Introduction to Data Analysis - Lecture 5: Probability for Continuous Variables
Table of Contents
- Continuous vs. Discrete Variables
- Probability Density Function (PDF)
- Properties of Normal Distribution
- Z-scores and their Usage
- Continuous Probability Practice Problems
1. Continuous vs. Discrete Variables
- Definition: Continuous variables can take on any value within a given range, in contrast to discrete variables which are limited to specific values (e.g., integers).
- Example: A continuous variable might be a temperature reading (e.g., 1.80, 3.56).
- Probability Assessment:
- Continuous probabilities are typically assessed in terms of ranges rather than specific values.
- For example, instead of calculating ), we assess probabilities as or .
2. Probability Density Function (PDF)
Definition
- PDF: Unlike discrete variables that are defined by probability mass functions (PMFs), continuous variables use probability density functions (PDFs).
- Visual Distinction:
- PMFs resemble histograms (bars representing probabilities).
- PDFs are represented as curves.
Equation
- The general form of a PDF is given by:
- Note: While this equation represents Gaussian distributions, it is not crucial for students in this course to memorize it.
Purpose of PDF
- PDFs help to estimate the probability of the value of a continuous random variable falling within a certain range—a geometric shape representing areas (like a pie chart), where the area is equivalent to probability.
- Total Probability: , indicating that the total area under the PDF should equal 1.
3. Properties of Normal Distribution
- The normal distribution, a commonly used PDF, possesses several key properties:
- Symmetry: It is symmetrical around the mean.
- Mesokurtic: The kurtosis (g2) is 0, indicating a standard peak.
- Unimodal: It has one peak.
- Mean, Median, Mode: All are equal ().
- Inflection Points: Occur at , indicating where the curve bends.
- 68-95-99.7 Rule:
- Approximately 68% of data falls within one standard deviation: .
- Approximately 95% falls within two standard deviations: .
- Notation: The normal distribution is denoted as .
4. Z-scores and their Usage
- Definition: Z-scores are standardized scores indicating how many standard deviations a specific data point is from the mean.
- Transformation:
- A raw observed score () can be transformed into a z-score using the equation:
- Conversely, can be retrieved from :
Application Scenario
- For example, researchers from different regions might measure temperatures in various units (Celsius, Fahrenheit, Kelvin). Using z-scores allows for the normalization of these measurements into a common metric.
Z-distribution
- The z-distribution is the normal distribution of z-scores and is used for calculating probabilities associated with z-scores, represented in a z-table.
- The z-table provides the area under the curve for specific z-scores, which can be used to find probabilities for various scenarios.
5. Continuous Probability Practice Problems
Assume mean () = 35 and standard deviation () = 5 for the following problems:
- Probability of scoring 31 or greater.
- Probability of scoring 41.25 or greater.
- Probability of scoring 35 or less.
- Probability of scoring 24.5 or less.
- Probability of scoring ≤ 24.5 or ≥ 40.
- Probability of scoring between 30 and 40.
- Probability of scoring between 32 and 36.5.
Note:
- For practice problems, utilize the properties of the normal distribution and refer to the appropriate z-scores to compute the probabilities. Always visualize the distribution to aid in understanding and solving the problems.