Project Overview
A collection of R functions that make certain calculations simpler. Built on top of pre-existing R functions. Copy + Paste into RStudio or similar. (File on GitHub link Above)
Functions For Calculating:
- Standard Error for Sample Proportions/Means/Independent Groups
- Test Statistic for Sample Proportions/Means (unknown SD)/Independent Groups/Dependent Groups
- Test Statistic for Analysis of Variance
- Confidence intervals for Sample Proportion (with + without SE)
- Confidence intervals for Sample Means (with + without SE, known/unknown population SD)
- Confidence intervals for Independent Groups
- Margin of Error (from Confidence Level)
- Minimum Sample size given margin of error
- Regression Line Model Slope + Intercepts
Development/Implementation
These were developed as I found certain calculations tedious, with no simpler way of calculating them with R, or in-built R calcuations gave excess superfluous information. Since I was already using R as a tool in many of these calcuations, I wrote these functions to automate the entire calcuations.