test.control {amp}R Documentation

Control function for the adaptive norm test

Description

Control function for the adaptive norm test

Usage

test.control(
  n_peld_mc_samples = 300,
  nrm_type = "lp",
  perf_meas = "est_acc",
  pos_lp_norms = c(1, 2, 3, "max"),
  ld_est_meth = "par_boot",
  ts_ld_bs_samp = 250,
  other_output = c(),
  ...
)

Arguments

n_peld_mc_samples

Number of samples to be used in approximating the estimated limiting distribution of the parameter estimate under the null. Increasing this value reduces the approximation error of the test statistic.

nrm_type

The type of norm to be used for the test. Generally the l_p norm

perf_meas

the preferred measure used to generate the test statistic.

pos_lp_norms

The index of the norms to be considered. For example if we use the l_p norm, norms_indx specifies the different p's to try.

ld_est_meth

String indicating method for estimating the limiting distribution of the test statistic parametric bootstrap or permutation.

ts_ld_bs_samp

The number of test statistic limiting distribution bootstrap samples to be drawn.

other_output

A vector indicating additional data that should be returned. Currently only "var_est" and data is supported.

...

Other arguments needed in other places.

Value

A list that provide controls for mv_pn_test (specified by the arguments passed to test.control).

Examples

test.control()


[Package amp version 1.0.0 Index]