Provides movies to help students to understand statistical concepts. The 'rpanel' package < https://cran.r-project.org/package=rpanel> is used to create interactive plots that move to illustrate key statistical ideas and methods. There are movies to: visualise probability distributions (including user-supplied ones); illustrate sampling distributions of the sample mean (central limit theorem), the median, the sample maximum (extremal types theorem) and (the Fisher transformation of the) product moment correlation coefficient; examine the influence of an individual observation in simple linear regression; illustrate key concepts in statistical hypothesis testing. Also provided are dpqr functions for the distribution of the Fisher transformation of the correlation coefficient under sampling from a bivariate normal distribution.
The smovie package provides movies to help students to understand
statistical concepts. The rpanel
package is used to create
interactive plots that move to illustrate key statistical ideas and
methods. The movies cover the topics of probability distributions;
sampling distributions of the mean (central limit theorem), the median,
the maximum (extremal types theorem) and the (Fisher transformation of
the) correlation coefficient; simple linear regression; hypothesis
testing.
The function wws produces a movie to visualise the Wald, Wilks and
score likelihood-based test statistics, for a model with a scalar
unknown parameter. The user can change the value of the parameter under
a simple null hypothesis and observe the effect on the test statistics.
The following code uses the log-likelihood from a binomial experiment
and considers the null hypothesis that the success probability $\theta$
is equal to $\theta_0$. The user may specify their own log-likelihood.
wws(theta0 = 0.5)
To get the current released version from CRAN:
install.packages("smovie")
See vignette("smovie-vignette", package = "smovie") for an overview of
the package.