Description Usage Details Value Note Author(s) See Also Examples
View source: R/shiny_dnorm_dt.R
An interactive Shiny app to demonstrate Normal and Student's t distributions.
1 |
The interactive Shiny app demonstrates the properties of Normal and Student's t distributions. The app considers parameters (mean and standard deviation) of the standard Normal distribution along with Student's t distribution given degrees of freedom.
The left panel includes the user inputs for
Parameters of standard Normal distribution (mean = 0, sd = 1) and
Student's t
distribution (degrees of freedom), and
Probability with options to change cumulative probability and tails of probability.
To alter the input values, move the point on the slider for the degrees of freedom
of t
distribution and explore the changes in different tabs (see below).
The outcomes are presented in two tabs.
Probability Density Function |
displays the probability density function of
the standard Normal distribution (red) and |
Distribution & Probability |
contains the plot for the probablity density function of
the standard Normal distribution and Student's |
https://shiny.abdn.ac.uk/Stats/apps/
Mintu Nath
Function in base R for normal distribution, including
dnorm
, pnorm
,
qnorm
, rnorm
dt
, pt
qt
, rt
1 2 3 4 5 6 7 | if(interactive()){
library(ggplot2)
library(shiny)
library(ABACUS)
# Run shiny app
shiny_dnorm_dt()
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.