=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== r-cran-pwr-1.3-0+dfsg/vignettes/pwr-vignette.Rmd-52- r-cran-pwr-1.3-0+dfsg/vignettes/pwr-vignette.Rmd:53:Notice that since we wanted to determine sample size (`n`), we left it out of the function. Our _effect size_ is entered in the `h` argument. The label `h` is due to Cohen (1988). The function `ES.h` is used to calculate a unitless effect size using the arcsine transformation. (More on effect size below.) `sig.level` is the argument for our desired significance level. This is also sometimes referred to as our tolerance for a Type I error ($\alpha$). `power` is our desired power. It is sometimes referred to as 1 - $\beta$, where $\beta$ is Type II error. The `alternative` argument says we think the alternative is "greater" than the null, not just different. r-cran-pwr-1.3-0+dfsg/vignettes/pwr-vignette.Rmd-54- ############################################## r-cran-pwr-1.3-0+dfsg/vignettes/pwr-vignette.Rmd-291- r-cran-pwr-1.3-0+dfsg/vignettes/pwr-vignette.Rmd:292:Performing the same analysis with the base R function `power.t.test` is a little easier. The difference $m_{1} - m_{2} =$ 0.75 is entered in the `delta` argument and the estimated $\sigma$ = 2.25 is entered in the `sd` argument: r-cran-pwr-1.3-0+dfsg/vignettes/pwr-vignette.Rmd-293- ############################################## r-cran-pwr-1.3-0+dfsg/inst/doc/pwr-vignette.Rmd-52- r-cran-pwr-1.3-0+dfsg/inst/doc/pwr-vignette.Rmd:53:Notice that since we wanted to determine sample size (`n`), we left it out of the function. Our _effect size_ is entered in the `h` argument. The label `h` is due to Cohen (1988). The function `ES.h` is used to calculate a unitless effect size using the arcsine transformation. (More on effect size below.) `sig.level` is the argument for our desired significance level. This is also sometimes referred to as our tolerance for a Type I error ($\alpha$). `power` is our desired power. It is sometimes referred to as 1 - $\beta$, where $\beta$ is Type II error. The `alternative` argument says we think the alternative is "greater" than the null, not just different. r-cran-pwr-1.3-0+dfsg/inst/doc/pwr-vignette.Rmd-54- ############################################## r-cran-pwr-1.3-0+dfsg/inst/doc/pwr-vignette.Rmd-291- r-cran-pwr-1.3-0+dfsg/inst/doc/pwr-vignette.Rmd:292:Performing the same analysis with the base R function `power.t.test` is a little easier. The difference $m_{1} - m_{2} =$ 0.75 is entered in the `delta` argument and the estimated $\sigma$ = 2.25 is entered in the `sd` argument: r-cran-pwr-1.3-0+dfsg/inst/doc/pwr-vignette.Rmd-293-