README.md

hypeR

Status: Build Status

Authors

Joe Sastrillo

Siobhan McCarter

Ivan Despot

Project Summary

The goal of this project is to create a user-friendly and intuitive hypothesis testing package as a reimplementation of existing functions in the R stats package.

Hypothesis testing belongs in the statistical inference domain, where an individual is attempting to determine if their results are significant or not. To accomplish this, the individual must generate a null and alternative hypotheses, and perform a series of statistical tests. That individual can use our package to make their life easier when looking for the elusive "significant" result.

Why is this useful? We aimed to create a package in which you could easily take in a data set and determine whether to accept or reject the null. The package does not require two inputs of data sets. Instead, you can compare your data set to a mean that you choose.

This project is part of the DSCI 524 Collaborative Software Development Course for the Masters of Data Science program at the University of British Columbia.

Functions

Vignettes

To see an example of how to use this package run the vignette:

vignette('hypothesis-testing')

Installation / Uninstallation and Execution

To install this package, run the following command in the console for RStudio:

devtools::install_github("UBC-MDS/hypeR")

Installing the package automatically installs the vignette.

To perform a clean removal of the packages, run

remove.packages('hypeR')

Running Tests

To run the tests for this package, download and change directory to the repository. Then, in Rstudio console:

  1. Load the package functions into the environment using devtools::load_all()
  2. Run the tests using: devtools::test()

Current Environment

There are multiple packages in both Python and R that have similar functions and features as this package. For example, Scipy has an entire module that is capable of performing advanced hypothesis testing. Likewise, base R has several similar functions, and there is a wide variety of unique hypothesis testing packages available - such a hypothesestest.



UBC-MDS/hypeR documentation built on May 22, 2019, 2:26 p.m.