gamma_CI: Confidence set for estimated threshold location following...

gamma_CIR Documentation

Confidence set for estimated threshold location following Hansen (1999, JOE)

Description

Confidence set for estimated threshold location following Hansen (1999, JOE)

Usage

gamma_CI(results, alpha = 0.05)

Arguments

results

List of results from bootstrap_F1

alpha

Confidence level. Defaults to 0.05

Value

Vector of values for gamma from results$gamma_seq that do not give a significantly different sum of squared residuals than results$gamma_hat based on a likelihood ratio test with level alpha

Examples

test_data <- dgp_threshold()
results <- bootstrap_F1(test_data$X, test_data$Y)
gamma_CI(results)

fditraglia/forcedMigration documentation built on July 16, 2022, 12:33 p.m.