testare: Check whether powers are the same for sample sizes in the...

View source: R/testare.R

testareR Documentation

Check whether powers are the same for sample sizes in the ratio indicated by asymptotic relative efficiency are similar, for sign and t tests, for Laplace variables.

Description

Check whether powers are the same for sample sizes in the ratio indicated by asymptotic relative efficiency are similar, for sign and t tests, for Laplace variables.

Usage

testare(targetare = 1, nvec = c(20, 100, 1000, 10000), nsamp = 10000)

Arguments

targetare

Putative relative efficiency, taking a value between 0 and 1. Set to .5 for Laplace and t to sign test comparison.

nvec

vector of larger sample sizes to try.

nsamp

number of Monte Carlo samples.

Value

A table of powers.

Examples

testare(.5,nsamp=100)


kolassa-dev/NonparametricHeuristic documentation built on Nov. 14, 2022, 11:25 p.m.