dgp_threshold: Generate test dataset to test for threshold effects

dgp_thresholdR Documentation

Generate test dataset to test for threshold effects

Description

Generate test dataset to test for threshold effects

Usage

dgp_threshold(d = 1, n_i = 200, n_t = 17, gamma = 6, b1 = 1, b2 = -0.1)

Arguments

d

Size of the threshold effect

n_i

Number of individuals

n_t

Number of time periods

gamma

Location of threshold

b1

Coefficient on x

b2

Coefficient on x-squared

Value

List with panel data X and Y formatted appropriately for bootstrap_F1

Examples

test_data <- dgp_threshold()

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