Statistical Inference: Section 1&2 Flashcards
Define a random sample.(2)
all members of the population have the same chance of being included in the sample
all combinations of, say,nmembers have the same chance of being included in the sample.
What does i.i.d stand for?(1)
Independent and identically distributed.
Name common continuous distributions.(4)
Normal distribution
Standard normal distribution (special type of normal where mean=0,var=1)
Exponential
Uniform distribution.
Name common discrete distributions. Difference between these?(3)
Binomial
Poisson (main difference to binomial is there is no upper limit on this eg “out of” like in binomial)
What is a Bernoulli trial?(1)
Only 2 outcomes to the experiment, has binomial distribution if n fixed (no of experiments), constant of p probability and independent trials.
How would you generate a random sample of 10 from N(100, 15^2) on R?(1)
*note N=normally distributed,
The mean?
Variance?(3)
1)normal_sample_1 = rnorm(10,100,15)
generates the sample and places it under “normal_sample_1”.
2)mean_1 = mean(normal_sample_1), storing it as “mean_1”
3)var_1 = var(normal_sample_1), storing as “var_1”.
What is simulation?(1)
Using samples of a known population to test the means of the estimates, hence when it comes to unknown populations we have greater confidence in these estimates.
How would you generate a poisson sample of 20 from Po(4) on R?(1)
The mean?
Variance?(3)
> poisson_sample = rpois(20,4)
poisson_mean = mean(poisson_sample)
poisson_var = var(poisson_sample).
Binomial distribution where the number of trials is equal to 100, and the success probability is equal to 0.5. Sample mean? (2)
Note this is equivalent to tossing a fair coin 100 times and counting the number of heads.
> binomial_sample = rbinom(1,100,0.5)
> binomial_sample[1] 46
What is exploratory data analysis?(1)
If we want to try and assess how well a particular probability distribution might work as a model for some data, we need to have a look at the data.
What is a 5 number summary?How do you find this in R?What about if you wanted the mean too?(3)
Min, LQ, Median, UQ, Max
quantile(x) gives five number summary
summary(x) gives this and the mean.
Define the sample mean.(1)
For a sample consisting of n observations x1,x2,…,xn, the sample mean ̄x is defined as the arithmetic mean of the observations, i.e. ̄x=1/n*∑Xi–>n i=1
What does W denote?(1)
Theθj, j= 1,…,pwill belong to a set of valuesW, called the parameter space, and soXis a member of a family of distributions.
Define sample variance.(1)
For a sample consisting of n observations x1,x2,…,xn, the sample variance s^2 is defined as s^2=1/(n−1)∑i=1 to n for (xi− ̄x)^2.
Difference between estimator and estimate?(1)
This process, which we can repeat, is our estimator, and any particular sample gives us an estimate.
Estimators are conclusions drawn about the population from a sample ie a sample mean would be an estimator for the population mean.
What is a sample statistic?What is special about these?(2)
Any particular function defined on the random sample,
note that a sample statistic is a function of random variables, and so itself is a random variable with its own distribution, an expectation and a variance.