continuous random variables Flashcards
What is a continuous random variable?
A continuous random variable is one where the possible outcomes or sample space are infinite and uncountable. It can take any value within a range or interval.
What is a statistical distribution?
A statistical distribution shows how the values of a variable are arranged, indicating their observed or theoretical frequency of occurrence.
What is the probability density function (PDF) of a continuous random variable π?
The PDF, denoted as f(x), is a function such that for any two numbers π and π, where aβ€b, the probability that π lies between π and π is given by:
P(aβ€Xβ€b)=β«f(x)dx (with limits a & b)
What are the two conditions that the PDF f(x) must satisfy?
f(x)β₯0 for all π₯ (the PDF cannot be negative).
The total area under the curve of f(x) from ββ to +β must equal 1
what do the two conditions mean in practice
Values of π(π₯) cannot be negative
Area under the curve between all possible values of π₯ equals , indicating that the probability distribution covers the entire sample space.
What is the cumulative distribution function (CDF) for a continuous random variable π?
The CDF, denoted as F(x), is the probability that π takes a value less than or equal to π₯:
F(x)=P(Xβ€x)
It represents the area under the PDF curve up to π₯.
How do you calculate P(4β€Xβ€8) using the CDF?
Use the difference of CDF values:
P(4β€Xβ€8)=P(Xβ€8)βP(Xβ€4)
What is the formula for the expectation (mean) E(X) of a continuous random variable?
E(X)=β«xf(x)dx (with limits β and -β)
It represents the weighted average of all possible values of π.
What is the formula for the variance Var(X) of a continuous random variable?
Var(X)=β«(xβE(X))^2f(x)dx (with limit β and -β)
It measures the spread of the values around the mean.
What are the three key parameters that define a theoretical distribution?
Location β Determines where the distribution is centered on the π₯-axis.
Scale β Determines the spread of the distribution along the π₯-axis.
Shape β Defines the overall form of the distribution (e.g., symmetry, skewness, or tail weight)
How is a normal distribution represented mathematically?
XβΌN(ΞΌ,Ο^2)
ΞΌ=E(X) (mean, center of the distribution)
Ο^2=Var(X) (variance, measures spread)
What are three important properties of the normal distribution?
Symmetric about the mean π, meaning mean = median = mode.
area under the curve area is known (use R)
Bell-shaped with peak at π.
In a normal distribution, what percentage of data falls within one standard deviation of the mean?
68% of data falls within ΞΌΒ±1Ο
In a normal distribution, what percentage of data falls within two standard deviations of the mean?
95% of data falls within ΞΌΒ±1.96Ο
In a normal distribution, what percentage of data falls within three standard deviations of the mean?
99% of data falls within ΞΌΒ±2.58Ο
What is the standard normal distribution?
A normal distribution where ΞΌ = 0 and ΟΒ² = 1
What formula is used to convert a normal variable π to a standard normal variable
π?
Z= (XβΞΌ) / Ο
If Y=aX+b, how does expectation transform?
E(Y)=aE(X)+b
If Y=aX+b, how does variance transform?
Var(Y)=a^2Var(X)
If height XβΌN(63,25) inches, then in cm (Y=2.54X) find expected value and variance
E(Y)=2.54Γ63=160.02 cm
Var(Y)=2.54^2Γ25=161.29, so SD(Y)=12.7 cm
Suppose that the amounts of money in Β£, π, changed at a currency exchange follow a π(100,π ^2=25)
distribution and a flat fee of Β£2 is charged per transaction. What is expected value and SD of π returned in Euros? Assume Β£1=1.12 Euros
E(Y)=1.12(100)β2.24=112β2.24=109.76
Var(Y)=1.2544Γ25=31.36
What happens when adding or subtracting two independent random variables π and π?
E(X+Y)=E(X)+E(Y)
E(XβY)=E(X)βE(Y)
Var(X+Y)=Var(X)+Var(Y)
Var(XβY)=Var(X)+Var(Y)
How does covariance affect variance calculations?
If π and π are not independent, include covariance:
Var(X+Y)=Var(X)+Var(Y)+2Cov(X,Y)
Var(XβY)=Var(X)+Var(Y)β2Cov(X,Y)
What is covariance?
A measure of the joint variability between two random variables π and π
πΆππ£(π,π)=(βππ(π₯πβπ₯Β―)(π¦πβπ¦Β―)) / πβ1
What happens to the sum π+π when π and π are small or large?
Small π and π β Sum is small
Large π and π β Sum is large
More variability than uncorrelated variables
What happens to the difference π+π when π and π are small or large?
Small: π and π β Sum is small
large: π and π β Sum is large
More variability than uncorrelated variables
What happens to the difference πβπ when π and π are small or large?
Small π and π β Difference is small
Large π and π β Difference is small
Less variability than uncorrelated variables
What does the correlation coefficient π measure?
The strength of the linear relationship between two variables.
What is the formula for the correlation coefficient π?
Ο= Cov(X,Y) / sqrt(Var(X)Var(Y))
What are the possible values of π and what do they mean?
Ο=β1 β Perfect negative linear relationship
Ο=0 β No relationship
Ο=1 β Perfect positive linear relationship
What is the expected value of a linear transformation
Z=a+bX+cY?
E(Z)=a+bE(X)+cE(Y)
What is the variance of Z=a+bX+cY if π and π are independent?
Var(Z)=b^2 Var(X)+c^2Var(Y)