sim.stat3.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, parameters to be estimated (case 3)

Usage

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

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).

estim

function parameters for distribution, apparently same for simulation and calculation

...

parameter values from data


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