sim.stat.1: One simulation of a test statistic from given distribution...

Description Usage Arguments

View source: R/calcstats.R

Description

One simulation of a test statistic from given distribution with given parameters (case 0)

Usage

1
sim.stat.1(statfun, n, sim_dist = runif, calc_dist = punif, ...)

Arguments

statfun

Name of statistic to be simulated (as in help for calc.stat)

n

Sample size for each simulated test statistic

sim_dist

Name of R function to draw random samples from distribution (eg. rnorm). Defaults to uniform (runif).

calc_dist

Name of R cumulative distribution to calculate test statistic for (eg. pnorm). Defaults to uniform (punif).

...

parameters for distribution, apparently same for simulation and calculation


nxskok/edfr documentation built on May 24, 2019, 11:51 a.m.