Learn R Programming

sdpdth (version 0.2)

wald_test: Wald test for threshold spatial dynamic panel data model

Description

Wald test for threshold spatial dynamic panel data model

Usage

wald_test(th_res)

Arguments

th_res

msdpdth class, generated by function msdpdth()

Value

A list of p-values for each parameter.

Details

Two sided Wald test for testing whether two estimated parameters for each group are equal

  • "h_0" \(\theta_1 = \theta_2\)

  • "h_1" \(\theta_1 \neq \theta_2\)

Examples

Run this code
# NOT RUN {
data(data_th, data_w)
result <- msdpdth(y = data_th$y, x = data_th$x, w1 = data_w, th = data_th$th)
wald_test(result)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab