Skip to content

Commit

Permalink
Update inf_for_categorical_data.Rmd (OpenIntroStat#98)
Browse files Browse the repository at this point in the history
the app wasn't showing on the website without the results=TRUE argument
  • Loading branch information
Matt Thomas authored Aug 9, 2021
1 parent bcf184e commit ca84a96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 06_inf_for_categorical_data/inf_for_categorical_data.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ However, when $np$ and $n(1-p)$ reaches 10 the sampling distribution is sufficie
You can investigate the interplay between $n$ and $p$ and the shape of the sampling distribution by using simulations.
Play around with the following app to investigate how the shape, center, and spread of the distribution of $\hat{p}$ changes as $n$ and $p$ changes.

```{r sf-app, echo=FALSE, eval=TRUE}
```{r sf-app, echo=FALSE, eval=TRUE, results=TRUE}
inputPanel(
numericInput("n", label = "Sample size:", value = 300),
Expand Down

0 comments on commit ca84a96

Please sign in to comment.