Calculate p-values based on A, B, CC, CD, DD and other inputs
p_val_null2(
beta0,
A,
B,
CC,
CD,
DD,
clustid,
boot_iter,
small_sample_correction,
impose_null,
point_estimate,
p_val_type
)
Scalar. Shifts the null hypothesis.
A list.
A list.
A list.
A list.
A list.
A data.frame containing the cluster variables.
An integer. Number of bootstrap iterations.
A vector of the dimension of ncol(clustid)
If TRUE, no null hypothesis if imposed on the bootstrap
The point estimate of the test parameter from the regression model.
type Type of p-value. By default "two-tailed". Other options: "equal-tailed", ">", "<"
A list containing the bootstrapped p-value, the bootstrapped t-statistics, and the number of invalid test statistics.