Hector L.
Fri Sep 12 21:37:42 2014
This presentation describes my Shiny application; an interactive app that allows the user to simulate a normal curve constructed from means taken from random samples of an exponential distribution.
The application interface looks like this;
An example of the user interface code;
shinyUI(fluidPage(
titlePanel("Inference: Distribution of Means"),
sidebarLayout(
sidebarPanel(
helpText("Move the slider to see how changing the sizeof the population sample changes the shape of the distribution of means."),
sliderInput("n",
label="Size of Populations",
min=5,max=50,step=3,value=25)
),
mainPanel(
plotOutput("plot"),
textOutput("pop")
)
)
))
With the use of a slider widget, the user can select the size ‘n’ of the samples that make the curve. This app primarily functions as an educational aid to help the learner understand inference.