Estimate Sample Sizes for Group Comparisons with Skewed Distributions

create_lower_extension | Computes the lower boundary value for the empirical CDF |

create_upper_extension | Computes the upper boundary value for the empirical CDF |

demp | Empirical probability density function (EPDF) |

estimate_p | Computes an empirical estimate of 'p' (P(X < X + delta)) |

extend_sample | Extends a vector by adding a lower and upper boundary. |

find_smaller_index | Finds the index of the smaller neighbour of the given value... |

n_binom | Calculate sample size for binomial distribution |

n_gamma | Calculate sample size for gamma distribution |

n_glm | Calculate sample size for a group comparison via generalized... |

n_locshift | Estimate N on the basis of two pilot samples. |

n_locshift_bound | Compute an upper bound the sample size based on two pilot... |

n_locshift_one | Estimate N on the basis of one pilot sample. |

n_negbinom | Calculate sample size for negative binomial distribution |

n_noether | Noether's (1987) formula for obtaining a sample size... |

n_poisson | Calculate sample size for poisson distribution |

pemp | Empirical cumulative density function (ECDF) |

qemp | Empirical quantile function |

remp | Draws random values from the ECDF obtained from 'sample' |

resample_n_locshift | Compute a distribution of estimates of N based on two pilot... |

resample_n_locshift_one | Compute 'n_resamples' estimates of N |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.