Course Test · University: first two years
Mathematical statistics: test
Maximum likelihood estimates, unbiased variance, two-sample and paired t tests, chi-square intervals for a variance, one-way ANOVA, inference for a regression slope, multiple regression, the Mann–Whitney, sign, Fisher, Kolmogorov–Smirnov, Spearman and Kruskal–Wallis procedures, power and sample size, a conjugate prior, and an interval for a difference of proportions.
Twenty exercises of the kind this course sets. Answers are on the independent answers page; the same exercises done with RatMath are on the RatMath answers page.
- 1.Maximum likelihood: exponentialThe waiting times 2, 3, 1, 4, 5 come from an exponential distribution with rate . Find the maximum likelihood estimate of .
- 2.Maximum likelihood: PoissonCounts 2, 0, 3, 1, 4 come from a Poisson distribution. Find the maximum likelihood estimate of its mean.
- 3.Unbiased varianceFind the sample variance (divisor ) of 3, 5, 7, 9, 11.
- 4.Two-sample t testGroup A: 12, 15, 11, 14, 13. Group B: 16, 18, 15, 17, 19. Test equal means with the pooled two-sample test. Give , the degrees of freedom and the two-sided -value.
- 5.Paired t testBlood pressure before: 200, 210, 190, 220, 205; after: 195, 200, 192, 210, 198. Test for a change with a paired test (two-sided).
- 6.Interval for a varianceA sample of from a normal population has . Give a 95% confidence interval for .
- 7.One-way ANOVAThree groups: , , . Compute the ANOVA statistic and its -value.
- 8.Inference for a slopeFor and , find the least-squares slope, its standard error, the statistic and the two-sided -value for .
- 9.Coefficient of determinationFor the same data, find .
- 10.Multiple regressionFit to , , .
- 11.Mann–Whitney testCompare with by the Mann–Whitney (Wilcoxon rank-sum) test. Give and the exact two-sided -value.
- 12.Sign testOf 10 paired differences, 9 are positive and 1 negative. Find the two-sided sign-test -value.
- 13.Fisher's exact testFind the two-sided Fisher exact -value for the table .
- 14.Power of a z testTest against with , , . What is the power when the true mean is 106?
- 15.Sample sizeHow large a sample gives a margin of error of at most 3 percentage points for a proportion at 95% confidence (use )?
- 16.Conjugate priorWith a uniform Beta(1, 1) prior on a success probability, 7 successes are seen in 10 trials. Give the posterior and its mean.
- 17.Kolmogorov–Smirnov statisticFind the Kolmogorov–Smirnov statistic for the sample 0.1, 0.4, 0.7 against the uniform distribution on .
- 18.Spearman's rank correlationFind Spearman's for and .
- 19.Kruskal–Wallis testFind the Kruskal–Wallis for , , .
- 20.Difference of proportionsIn two samples of 100, 45 and 30 people agree. Give a 95% confidence interval for .