jcmatei/easypwr: Easy power, difference of means, and sample size analysis function.

This package primarily consists of a single function, analyze.inputs. The function is primarily meant to be used for studies in which power, difference in means or sample size is not known and needs to be found or projected based upon a specific indicator variable among the two known variables.The function takes these inputs of a study: Standard deviation of group A at time 0, Standard deviation of group A at time 1, Standard deviation of group B at time 0, Standard deviation of group B at time 1, rho (correlation between standard deviations), Mean of observations for group1 (A), mean of observations for group 2 (B), power ofthe study, and sample size, as well as a specification of the indicator variable in quotes. The function will output both a storable data frame and a plot which can model multiple scenarios at a time.

Getting started

Package details

AuthorJustin Matei
MaintainerJustin Matei <[email protected]>
License
Version0.1.0
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("jcmatei/easypwr")
jcmatei/easypwr documentation built on Aug. 23, 2018, 12:13 a.m.