View source: R/SupportFunctions.R
my_results | R Documentation |
Returns summary statistics
my_results(x, sd = 1, digits = 3)
x |
data |
sd |
Optional parameter giving the standard deviation of the normal distribution used for computing the coverage probabilities |
digits |
Optional parameter to how many digits the results should be rounded, the default is three. |
This functions returns the sample mean, sample standard deviation and the coverage probabilities at level 75%, 80%, 85%, 90%, 95%, 99% compared to the standard normal quantiles.
The vector of the sample mean, sample standard deviation and the coverage probabilities at level 75%, 80%, 85%, 90%, 95%, 99% compared to the standard normal quantiles.
#Simulate i.i.d.~standard normal data set.seed(456) data <- rnorm(10000) #Display the sample mean, standard deviation and coverage probabilities: my_results(data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.