Generating Random Numbers And Estimation Flashcards
What is the inverse CDF method
The inverse CDF method is:
If G(x) is a strictly increasing function from [a,b] to [0,1] (a,,b can be +- infinity)
Let U ~unif(0,1) and X = G^-1(U)
Then X is an RV with CDF G(x)
What are true random numbers
True random numbers are all independent where each digit is equally likely
What are pseudo random numbers
Pseudo random numbers follow a pre-specified pattern unknown
What is method of moments estimation method
Method of moments estimation method is:
E(Xi) = mu = h(theta) where mu = 1/n sum(xi) where xi are observed values and h is a function of how to f8nd mean, e.g exponential h(theta) = 1/lambda = 1/n sum(xi)
What is an estimate and what can they be based on
An estimate is a real number computed from data, an estimate of parameter theta based on x1,…,xn can be written as theta hat = h(x1,…,xn)
What is an estimator
An estimator is an RV, function of RVs X1,…,Xn that comprise data, estimator is RV h(X1,…,Xn)
What is definition of likelihood function (discrete)
Definition of likelihood function is:
L(theta, x) = i = 1 to n PI px(theta ,xi) where px(theta,xi) = P(Xi =xi) and X1,,..,Xn are i.i.d discrete RVs and theta denotes a parameter of a vector of parameters
likelihood is Joint PMF
What is likelihood function (continuous)
Likelihood function continuous is:
L(theta, x) = i=1 to n PI fx(theta, xi)
Likelihood is joint PDF
What is the log likelihood
Log likelihood (for both discrete and continuous) is L(theta, x) = ln{L(theta, x)}
What is maximum likelihood estimate of a (vector of) parameter
Maximum likelihood estimate (MLE) of a (vector of) parameters is:
Value of theta that maximises (log) likelihood function/for observed data
What is Q-Q plot and when is it accurate
Q-Q plot is a graph of xi against F^-1x(i/n+1) where there are n observed values and Fx is CDF of a distribution proposed for RVs Xi
Accurate when points lie close to line y=x