Statistics

89 flashcardsby 2steve2E
Study these flashcardsFree · spaced repetition · iPhone, Android, Mac & web

All cards

1
What is the PDF of a Binomial(n,p) distribution?
$P(X=x)=\binom{n}{x} p^{x}(1-p)^{n-x},\quad x=0,\dots,n$
2
What is the mean of a Binomial(n,p)?
$\mathbb{E}[X]=np$
3
What is the variance of a Binomial(n,p)?
$\operatorname{Var}(X)=np(1-p)$
4
What is the PDF of a Poisson(λ) distribution?
$P(X=k)=\frac{\lambda^{k} e^{-\lambda}}{k!},\quad k=0,1,2,\dots$
5
What is the mean of a Poisson?
$\mathbb{E}[X]=\lambda$
6
What is the variance of a Poisson(λ)?
$\operatorname{Var}(X)=\lambda$
7
What is the PDF of a Normal(μ,σ²) distribution?
$f(x)=\frac{1}{\sqrt{2\pi}\sigma} \exp\!\left[-\frac{(x-\mu)^2}{2\sigma^2}\right]$
8
What is the mean of a Normaldistributuin?
$\mathbb{E}[X]=\mu$
9
What is the variance of a Normaldistribution?
$\operatorname{Var}(X)=\sigma^2$
10
What is the PDF of a Lognormal(μ,σ²) distribution?
$f(x)=\frac{1}{x\sigma\sqrt{2\pi}} \exp\!\left[-\frac{(\ln x - \mu)^{2}}{2\sigma^{2}}\right],\quad x>0$
11
What is the mean of a Lognormal(μ,σ²)?
$\mathbb{E}[X]=e^{\mu+\sigma^{2}/2}$
12
What is the variance of a Lognormal(μ,σ²)?
$\operatorname{Var}(X)= \left(e^{\sigma^{2}}-1\right)e^{2\mu+\sigma^{2}}$
13
What is the PDF of a Chi-square distribution with ν degrees of freedom?
$f(x;\nu)=\frac{x^{\nu/2-1} e^{-x/2}} {2^{\nu/2}\Gamma(\nu/2)},\quad x>0$
14
What is the mean of a Chi-square(ν)?
$\mathbb{E}[X]=\nu$
15
What is the variance of a Chi-square(ν)?
$\operatorname{Var}(X)=2\nu$
16
What is the PDF of a Pareto(α,b) distribution?
$f(x;\alpha,b)=\frac{\alpha b^{\alpha}}{x^{\alpha+1}},\quad x\ge b$
17
What is the mean of a Pareto(α,b)?
$\mathbb{E}[X]=\frac{\alpha b}{\alpha-1}\quad(\alpha>1)$
18
What is the variance of a Pareto(α,b)?
$\operatorname{Var}(X)= \frac{\alpha b^{2}}{(\alpha-1)^{2}(\alpha-2)}\quad(\alpha>2)$
19
$ \text{For any two events } A \text{ and } B,\; P(A \cup B)= $
$P(A\cup B)=P(A)+P(B)-P(A\cap B)$
20
What is the multiplicative law of conditional probability?
$P(A \mid B) = \frac{P(A \cap B)}{P(B)}$
21
What is Bayes’ Theorem?
$P(B_i \mid A) = \frac{P(A \mid B_i)\, P(B_i)}{P(A)}$
22
What is the mean of a discrete random variable X?
$\mu = E(X) = \sum_{i=1}^{n} x_i\, P(X = x_i)$
23
How is the variance of a random variable X defined?
$\sigma^{2} = \operatorname{Var}(X) = E\!\left[(X - \mu)^{2}\right]$
24
What is the mean of a continuous random variable X with PDF f(x)?
$\mu = E(X) = \int_{-\infty}^{\infty} x\, f(x)\, dx$
25
How is the variance of a continuous random variable defined?
$\sigma^{2} = \operatorname{Var}(X) = E[(X - \mu)^{2}] = \int_{-\infty}^{\infty} (x - \mu)^{2} f(x)\, dx = \int_{-\infty}^{\infty} x^{2} f(x)\, dx - \mu^{2}$
26
What is the quantile function of a random variable X?
$Q(u) = \inf\{y : F(y) \ge u\},\quad 0<u<1$
27
What does a Q–Q plot compare?
Sample quantiles vs. theoretical quantiles.
28
What does a straight line in a Q–Q plot indicate?
The sample distribution matches the reference distribution.
29
What is a random vector?
$\text{A random vector is a vector of random variables } (X_1, \dots, X_k) \text{ considered jointly.}$
30
How is the joint CDF of a random vector defined?
$F(x_1,\dots,x_k) = P(X_1\le x_1,\dots,X_k\le x_k)$
31
What is homoscedasticity?
All observations have the same variance.
32
What is heteroscedasticity?
Observations have different variances, violating i.i.d. (Independent and identically distributed.) assumptions.
33
What does the Law of Large Numbers state?
$\text{The sample mean } \bar{X}_n \text{ converges to the population mean } \mu \text{ as } n \to \infty.$
34
What is required for Law of Large Numbers?
Variables must be i.i.d. (Independent and identically distributed.) with finite expectation.
35
What does the Central Limit Theorem state?
$\text{The standardized sample mean approaches a normal distribution as } n \to \infty.$
36
From the lecture notes: Define the following statistical terms—
1. Population
2. Sample
3. Statistic
Population: The entire group of objects about which inferences are made.
Sample: A subset of the population on which data are actually collected.
Statistic: A numerical summary of sample data (e.g., mean, variance, median).
(Page 6)
37
What is the key conceptual difference between the Frequentist and Bayesian treatment of a parameter θ?
Frequentists treat θ as a fixed but unknown constant; randomness comes only from sampling.
Bayesians treat θ as a random variable with a prior distribution that is updated to a posterior using data.
(Page 8)
38
List three commonly used point estimation methods in parametric models.
1. Method of moments
2. Least squares estimation (LSE)
3. Maximum likelihood estimation (MLE)
39
Define the bias and the mean squared error (MSE) of an estimator $θ̂$.
$B(θ̂) = E[θ̂] − θ $
$MSE(θ̂) = Var(θ̂) + (E[θ̂] − θ)² $
Biased: $B(θ̂)$ is not zero, but approaches zero as the dataset approaches
infinity.
Smaller MSE is preferred. (Page 13)
40
What is the basic idea behind the method of moments estimator?
The method of moments matches theoretical moments of a distribution to sample moments, solving these equations for the unknown parameters.
(Page 15)
It basically looks at the mean and variance etc. of you data and tries to figure out the parameters of the distribution behind those numbers.
41
What does least squares estimation aim to minimize? (minimum chi-squared method)
Least squares estimation minimizes the sum of squared errors (or weighted squared errors for heteroscedastic data).
(Page 17)
Basiacally if you have a lot of dots (data points) and you try to fit a line on them but they don't fit perfectly the least squares estimation chooses the line that makes all those errors as small as possible so the line is as accurate as possible.
42
Define the likelihood function L(θ) for i.i.d. data X₁,…,Xₙ with density f(x;θ).
$L(\theta) = \prod_{i=1}^{n} f(X_i \,;\, \theta)$
$\ell(\theta) = \sum_{i=1}^{n} \ln\big( f(X_i \,;\, \theta) \big)$
(Page 19)
43
What is the basic idea behind Maximum Likelihood Estimation (MLE)?
MLE finds the parameter values that make the observed data most likely.
It does this by multiplying the probabilities of each data point (the likelihood)
and choosing the parameter values that maximize this product.
(Page 19)
44
Define the sample mean and explain what it estimates.
The sample mean is defined as
$ \bar{X} = \frac{1}{n}\sum_{i=1}^{n} X_i, $
and it is a point estimator of the population mean μ.
(Page 26)
45
What is a 100(1−α)% confidence interval for a parameter θ?
$\text{A }100(1-\alpha)\%\text{ confidence interval for }\theta\text{ is an interval }(l,u)\text{ such that }P(l<\theta<u)=1-\alpha.$
(Page 24)
46
What does the value α represent in a confidence interval?
$\alpha\text{ is a small value (e.g., 0.05 or 0.01) representing the probability that the }$
$\text{interval does not contain the true parameter }\theta.$
(Page 24)
47
What does a 95% confidence interval mean when α = 0.05?
$\text{For }\alpha=0.05,\text{ a 95\% confidence interval }(l,u)\text{ satisfies }P(l<\theta<u)=0.95.$
48
What is the probability distribution of the sample mean when Xi are Gaussian with known σ?
$\text{The sample mean is normally distributed: } \bar{X} \sim N\!\left(\mu,\; \frac{\sigma^{2}}{n}\right).$
(Page 26)
49
How do you standardize the sample mean, and what distribution does it follow?
$\text{The standardized sample mean is } Z = \frac{\bar{X} - \mu}{\sigma/\sqrt{n}}, \text{ and it follows } Z \sim N(0,1).$
=(Standard normal distr.)
(Page 26)
50
What does a z-score represent?
A z-score indicates how many standard deviations a value is above or below the mean.
(Page 28)
51
Give the formula for a 100(1−α)% confidence interval for μ when σ is known.
$\text{A 100(1-α)\% confidence interval for μ is } \bar{x} \pm z_{\alpha/2} \frac{\sigma}{\sqrt{n}}. $
(Page 29)
52
Why do we use the t-distribution instead of the normal distribution when σ is unknown?
Because σ must be estimated from the data using the sample standard deviation S, which adds uncertainty. The resulting standardized statistic follows a t-distribution with n−1 degrees of freedom.
(Page 31)
53
Give the formula for a 100(1−α)% confidence interval for μ when σ is unknown.
$\text{A 100(1-α)\% confidence interval for μ is } \bar{x} \pm t_{\alpha/2,\,n-1} \frac{S}{\sqrt{n}}. $
(Page 32)
54
How does the confidence interval for μ change when the sample size becomes large (n > 30)?
(Page 33)
As n becomes large, the t-distribution approaches the standard normal distribution, so the CI becomes approximately:
$ \bar{x} \pm z_{\alpha/2} \frac{S}{\sqrt{n}}. $

(Page 33)
55
State the confidence interval for μ when σ² is known.
$ \bar{x} \pm z_{\alpha/2}\frac{\sigma}{\sqrt{n}}. $

(Page 34)
56
State the confidence interval for μ when σ² is unknown.
$ \bar{x} \pm t_{\alpha/2,\,n-1}\frac{S}{\sqrt{n}}. $

(Page 34)
57
What is the 100(1−α)% confidence interval for σ²?
The confidence interval forσ² is
$ \left(\frac{(n-1)S^{2}}{b},\; \frac{(n-1)S^{2}}{a}\right), $

where a and b satisfy
$ P(a < \chi^{2}_{n-1} < b) = 1-\alpha. $

(Page 35)
58
What is the formula for the T-statistic when σ is unknown?
$\text{The T-statistic is defined as } T = \frac{\bar{X} - \mu}{S/\sqrt{n}} \text{ and follows a Student's } t\text{-distribution with } n-1 \text{ degrees of freedom.}$

(Page 31)
59
What are the typical confidence levels associated with 1σ, 2σ, and 3σ regions in a normal distribution?
$\text{In a normal distribution, }1\sigma\text{ corresponds to }68.2\%,\;2\sigma\text{ to }95.4\%,\text{ and }3\sigma\text{ to }99.7\%\text{ confidence.}$
(Page 37)
60
Why can “1σ, 2σ, 3σ uncertainties” be misleading in astronomy?
$\text{In astronomy, the terms }1\sigma,\;2\sigma,\;3\sigma$
$\text{ are sometimes applied to non-normal distributions, leading to asymmetric or misleading uncertainty intervals.}$
(Page 37)
61
Why does maximum likelihood estimation maximize P(X|θ) instead of P(θ|X)?
$\text{In frequentist statistics, }\theta\text{ is treated as a fixed constant, so only }P(X|\theta)$
$\text{ is a valid probability; }P(\theta|X)\text{ would require treating }\theta\text{ as random.}$
(Page 38)
62
What key idea distinguishes MAP estimation from MLE?
$\text{MAP treats }\theta\text{ as a random variable with a prior, so the estimator maximizes the posterior }$
$P(\theta|X)\propto P(X|\theta)P(\theta),\text{ not just the likelihood.}$
(Page 38)
63
What is marginalization in probability theory?
$\text{Marginalization removes a variable by integrating or summing}$$\text{ over it to obtain the PDF of a remaining variable, such as }$
$P(X)=\int P(X,Y)\,dY.$

(Page 39)
64
What is conditioning in probability theory?
$\text{Conditioning expresses the probability of one variable given another, using }$
$P(X|Y)=\frac{P(X,Y)}{P(Y)}\text{ when }P(Y)>0.$

(Page 40)
65
How is conditional probability interpreted conceptually?
$\text{Conditional probability represents updated knowledge of one variable after learning the value of another.}$
(Page 40)
66
What is the probability sum rule?
$\text{The sum rule states that }P(A|B)+P(\bar{A}|B)=1\text{ for any statement A.}$
(Page 44)
67
What is the probability product rule?
$\text{The product rule states that }P(AB|C)=P(A|C)P(B|AC)=P(B|C)P(A|BC).$

(Page 44)
68
What is the formula of Bayes’ theorem obtained from the product rule?
$P(B|AC)=\frac{P(A|BC)P(B|C)}{P(A|C)}.$

(Page 44)
69
What does the posterior distribution P(θ|D,M) represent?
$\text{The posterior }P(\theta|D,M)\text{ is the probability distribution for the parameters }$
$\theta\text{ after accounting for the data }D\text{ and model }M.$

ChatGPT:
Posterior: What we think the answer (θ) is after seeing the data.
Likelihood: How likely the data is if a certain answer (θ) were true.
(Page 45)
70
What is the role of the likelihood in the posterior distribution?
$\text{The likelihood }P(D|\theta,M)\text{ measures how well each parameter value explains the observed data.}$

ChatGPT:
Posterior: What we think the answer (θ) is after seeing the data.
Likelihood: How likely the data is if a certain answer (θ) were true.
(Page 45)
71
What is the role of the prior in the posterior distribution?
$\text{The prior }P(\theta|M)\text{ represents knowledge about the parameters before seeing the data.}$

ChatGPT:
Posterior: What we think the answer (θ) is after seeing the data.
Likelihood: How likely the data is if a certain answer (θ) were true.
(Page 45)
72
How can the posterior probability be expressed in terms of the log-likelihood and log-prior?
$\text{Because }P(X)\text{ is constant with respect to }\theta,\text{ the posterior satisfies } \log P(\theta|X)=\log P(X|\theta)+\log P(\theta).$
log(posterior)=log(likelihood)+log(prior)
(Page 46)
73
What does the MAP (Maximum a-posteriori) estimator represent?
$\text{The MAP estimator is the value of }\theta\text{ that maximizes the posterior probability }P(\theta|X).$
(Page 46)
74
Why does the MAP (Maximum a-posteriori) estimator incorporate prior beliefs?
$\text{MAP includes the term }\log P(\theta),$
$\text{ so the estimator reflects both the data and prior beliefs about plausible parameter values.}$

MAP = likelihood + prior effects.
(Page 46)
75
Why is the posterior distribution more informative than a single point estimate?
$\text{The posterior describes the full range of parameter values supported by the data}, $
$\text{including uncertainty and multiple plausible solutions.}$

(Page 48)
76
What does a broad posterior distribution indicate about a parameter?
$\text{A broad posterior indicates that the parameter is weakly constrained by the data.}$
(Page 48)
77
What is the Bayesian formula for the posterior distribution of parameters given data and a model?
$\text{The posterior is }P(\theta|D,M)=\frac{P(D|\theta,M)P(\theta|M)}{P(D|M)}.$

(Page 48–49)
78
What likelihood is used when modeling a noisy parallax measurement?
$\text{The likelihood is a Gaussian for the measured parallax }\varpi\text{ with mean }1/\theta\text{ and known variance }\sigma^{2}.$

(Page 50)
79
How is Bayes’ theorem applied to distance estimation from parallax?
$\text{The posterior is }P(\theta|\varpi)\propto P(\varpi|\theta)P(\theta),\text{ where }P(\varpi|\theta)\text{ is the Gaussian likelihood and }P(\theta)\text{ is the chosen prior.}$

idk tbh
(Page 51)
80
What is an improper prior?
$\text{An improper prior is a prior distribution that cannot be normalized because its total probability is infinite.}$

(Page 51)
81
Why is an improper posterior unsuitable for inference?
$\text{An improper posterior has no defined mean, variance, or quantiles,}$
$ \text{so it cannot be used to summarize parameter uncertainty.}$

(Page 52)
82
Why introduce a truncated prior for distance?
$\text{A truncated prior limits }\theta\text{ to a finite range, ensuring the posterior is normalizable and yields meaningful summaries.}$

(Page 53)
83
What is the form of a truncated prior for distance θ?
$\text{The truncated prior sets }P(\theta)=\frac{1}{\theta_{\text{lim}}}\text{ for }0<\theta<\theta_{\text{lim}}\text{ and }0\text{ otherwise.}$

(Page 53)
84
Why is the truncated prior’s posterior guaranteed to be normalizable?
$\text{Because the truncated prior restricts }\theta\text{ to a finite interval, the posterior integrates to a finite value.}$

(Page 54)
85
When does the prior dominate the posterior in Bayesian inference?
$\text{The prior dominates when the data are weak or uninformative,}$
$ \text{causing the likelihood to be broad relative to the prior.}$

(Page 55)
86
How does the choice of prior influence the shape of the posterior?
$\text{The prior influences the posterior by shaping how plausibility is distributed before considering the data,} $
$ \text{affecting the posterior especially when the data are weak.}$

(Page 56)
87
How do different priors affect the posterior when the data are strong?
$\text{When the data are strong, the posterior distributions from different} $
$ \text{priors tend to converge because the likelihood dominates.}$

(Page 56)
88
Why can the MAP (Maximum a-posteriori) estimate differ from the posterior mean?
$\text{MAP maximizes the posterior, while the posterior mean averages over the full posterior distribution,} $
$ \text{ so skewed or multimodal posteriors cause the values to differ.}$

(Page 57)
89
Why is the posterior mean often preferred over the MAP estimate?
$\text{The posterior mean reflects the entire shape of the posterior and}$
$ \text{incorporates uncertainty more fully than a single maximizing value.}$

(Page 57)
Study all 89 cards for free