Statistical inference
Warm-upHumanA test of : "the new fertiliser has no effect on mean yield" gives . Which statement is correct?
A test of : "the new fertiliser has no effect on mean yield" gives . Which statement is correct?
A health clinic records the number of patients arriving in five consecutive hours: . Modelling the counts as independent Poisson, what is the maximum likelihood estimate of ?
Compute the sample variance of the data .
For an i.i.d. sample from the uniform distribution on , the MLE is , and . Which estimator is unbiased for ?
In the proof that the normal equations give the least-squares solution, we expand with and . Why does the cross term vanish?
A study tests hypotheses and obtains the p-values . Using the Bonferroni correction with family-wise error rate , how many hypotheses are rejected?
A small trial of a new treatment (20 patients) finds a confidence interval of days for the reduction in recovery time, with . What is the best conclusion?
From of households, a confidence interval for the proportion is , and with a uniform prior the Bayesian posterior is Beta with credible interval . Which statements are correct? (Choose all that apply.)
Which Lean statement says that a solution b of the normal equations minimises the residual sum of squares? (Xᵀ is the transpose, *ᵥ multiplies a matrix by a vector, ⬝ᵥ is the dot product.)
Write fit_line(xs, ys) returning the least-squares (intercept, slope) for the model , using and . Use Fraction so the answers are exact. The tests also check that the residuals sum to zero and are orthogonal to — the normal equations.