This function computes the Maximum Monte Carlo P-value.
MMCLRpval_fun(
theta_h0,
mdl_h0,
k1,
LT_h1,
N,
burnin,
workers,
lambda,
stationary_constraint,
thtol,
Z,
exog,
mdl_h0_control,
mdl_h1_control
)
MMC p-value
vector of parameter values under the null being considered.
List with restricted model properties.
integer determining the number of regimes under the alternative.
double specifying maximum log likelihood under alternative.
integer specifying the number of replications.
integer specifying the number of observations to drop from beginning of simulation.
Integer determining the number of workers to use for parallel computing version of test. Note that parallel pool must already be open.
Double determining penalty on nonlinear constraint.
Boolean determining if only stationary solutions are considered (if TRUE
) or not (if FALSE
).
double determining the convergence criterion used during estimation.
List with controls/options used to estimate restricted model.
List with controls/options used to estimate unrestricted model.