gof_power_C: find power of gof tests for continuous data

View source: R/RcppExports.R

gof_power_CR Documentation

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)

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

Value

A matrix of powers


Rgof documentation built on June 8, 2025, 1:09 p.m.