diff --git a/R/rnblight/.example_images/fisher_example.png b/R/rnblight/.example_images/fisher_example.png new file mode 100644 index 0000000000000000000000000000000000000000..9beb5bb10cc2a1224c7f08af842d750327586d7e Binary files /dev/null and b/R/rnblight/.example_images/fisher_example.png differ diff --git a/R/rnblight/README.md b/R/rnblight/README.md new file mode 100644 index 0000000000000000000000000000000000000000..c4cde0061425dfbf6e2bfe8b55373fb66da2e30d --- /dev/null +++ b/R/rnblight/README.md @@ -0,0 +1,25 @@ +# rnblight + +Update markdown result chunks in markdown documents + +```bash +cd /Users/brandl/Dropbox/projects/datautils/R/rnblight +#cp /Users/brandl/Dropbox/documents/datascience/chi2.md rerender/ +#cp -r /Users/brandl/Dropbox/documents/datascience/.chi2_images rerender/ +# +#git init +#git add chi2.md +#git commit -m "initial commit" + +mdInput=chi2.md +mdBase=$(basename $mdInput .md) + +mv $mdInput ${mdBase}.Rmd + +Rscript - < + +Nice math introhttps://onlinecourses.science.psu.edu/statprogram/node/164 with t-statistc + + + +Confidence around proportions +----------------------------- + +Formula: + > If the samples size n and population proportion p satisfy the condition that np ≥ 5 and n(1 − p) ≥ 5, than the end points of the interval estimate at (1 − α) confidence level is defined in terms of the sample proportion as follows. + ![](.example_images/prop_ci.png) + +CI math is detailed out under http://www.statisticslectures.com/topics/ciproportions/ + +```{r} +prop.test(x=333, n=1022, conf.level=0.98) +plot(1:10) +plot(1:10) +prop.test(x=333, n=1022) +plot(1:10) +``` +