ablasso_uv | R Documentation |
Implements the AB-LASSO estimation method for the univariate model Y_{it} = \alpha_{i} + \gamma_{t} + \theta_{1} Y_{i,t-1} + \theta_{2} D_{it} + \varepsilon_{it}
, without sample splitting. Note that D_{it}
is predetermined with respect to \varepsilon_{it}
.
ablasso_uv(Y, D)
Y |
A |
D |
A |
A list with three elements:
theta.hat: Estimated coefficients.
std.hat: Estimated Standard errors.
stat: T-Statistics.
# Generate data
data1 <- generate_data(N = 300, P = 40)
# You can use your own data by providing matrices `Y` and `D`
results <- ablasso_uv(Y = data1$Y, D = data1$D)
print(results)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.