nonpar: Indicator for non-parametric method used to estimate nuisance scale in the presence of heteroskedasticity (only relevant if h=1).Set nonpar=1 to estimate regressions using a quadratic.Set nonpar=2 to estimate regressions using an Epanechnikov kernel with automatic bandwidth.
Returns
threshold: values of threshold estimates.
est0: coefficient estimates of global data.
est.low: coefficient estimates of low regime.
est.high: coefficient estimates of high regime.
est0.info: additional information of global data.
est.joint.info: additional information of joint threshods.
est.low.info: additional information of est.low.
est.high.info: additional information of est.high.
Details
This code estimates the parameters of sub-sampled data. It generalizes the simple code of Dr. Hansen, allowing White Corrected Heteroskedastic Errors.