ThreshTest procedure
Posted: Sun Nov 09, 2014 11:59 pm
I am trying to estimate ERPT initially with the following variables: dlcpi, dlexrate, dlpm, and ygap
where:
dlcpi = first log-difference of consumer price index * 100
dlexrate = first log-difference of nominal exchange rate * 100
dlpm = first log-difference of price of imports * 100
ygap = output gap expressed as percentage deviation of real GDP from trend (from cyclical component of HP-filtered real GDP)
@ThreshTest( options ) depvar start end
# list of explanatory variables
I want to know if I can use the lag of dlexrate as the threshold variable and at the same time use it as one of the explanatory variables as specified below:
set dygap = ygap - ygap {1}
set dlexratelag1 = dlexrate {1}
set thresh = dlexratelag1
@ThreshTest (trim=.15, thresh=thresh, nreps=500) dlcpi 1981:01 2014:03
# constant dlcpi {1 to 4} dlexrate {0 to 4} dlpm {0 to 4} dygap {0 to 4}
I'm using quarterly data.
I'm a bit confused on whether or not I can use dlexratelag1 as the threshold variable since it also used as one of the explanatory variables.
Assistance and guidance is much appreciated. Thank you.
where:
dlcpi = first log-difference of consumer price index * 100
dlexrate = first log-difference of nominal exchange rate * 100
dlpm = first log-difference of price of imports * 100
ygap = output gap expressed as percentage deviation of real GDP from trend (from cyclical component of HP-filtered real GDP)
@ThreshTest( options ) depvar start end
# list of explanatory variables
I want to know if I can use the lag of dlexrate as the threshold variable and at the same time use it as one of the explanatory variables as specified below:
set dygap = ygap - ygap {1}
set dlexratelag1 = dlexrate {1}
set thresh = dlexratelag1
@ThreshTest (trim=.15, thresh=thresh, nreps=500) dlcpi 1981:01 2014:03
# constant dlcpi {1 to 4} dlexrate {0 to 4} dlpm {0 to 4} dygap {0 to 4}
I'm using quarterly data.
I'm a bit confused on whether or not I can use dlexratelag1 as the threshold variable since it also used as one of the explanatory variables.
Assistance and guidance is much appreciated. Thank you.