Learn R Programming

Rgof (version 3.3.0)

gof_power_C: find power of gof tests for continuous data

Description

find power of gof tests for continuous data

Usage

gof_power_C(rnull, vals, ralt, param_alt, TS, typeTS, TSextra, B = 1000L)

Value

A matrix of powers

Arguments

rnull

R function (generate data under null hypothesis)

vals

values of discrete random variable

ralt

R function to generate data under alternative

param_alt

parameters of ralt

TS

function to calculate test statistics

typeTS

integer indicating type of test statistic

TSextra

list to pass to TS

B

=1000 Number of simulation runs