Skip to content
madajz edited this page Sep 13, 2022 · 12 revisions

Welcome to the bifurcatoR wiki! Here you will find the expanded methods section for the functions utilized in the bifurcatoR Shiny app (insert server link).

Function

Calc Power

Deprecated.

est_pow

This function is the workhorse for Module II of the Shiny app, which aims to estimate the power and false positive rate of detecting significant evidence against unimodality in a sample of size n. The inputs are, in order: n,alpha,nsim,dist,params,tests.

  • n: the total sample size to sampled from the parent distribution
  • alpha: the desired significance level/ type-I error rate. Note that any multiple testing corrections must be performed outside of this function
  • nsim: the number of simulated samples of size n to be drawn. The higher this number, the more accurate the the power calculation, but the longer run time.
  • dist: the distribution the simulated data is to be sample from. Currently the options are Gaussian and beta (soon Weibull). ** If dist = beta, the expected parameter list should contain the two shape parameters ((U+1D6C2))
Clone this wiki locally