Description Usage Arguments Details Author(s)
finalOPLP
is the function linking the data cleaning part of the routine with the final function to be bootstrapped.
1 |
ind |
Vector of indices to reshuffle the data. |
data |
|
fnum |
Number of free variables. |
snum |
Number of state variables. |
cnum |
Number of control variables. |
opt |
String with the optimizer. |
theta0 |
Vector of starting points. |
boot |
Binary indicator for the estimation routine being the baseline estimation or a bootstrap repetition. |
tol |
Optimization tolerance set. |
att |
Indicator for attrition in the data - i.e., if firms exit the market. |
finalOPLP()
accepts at 9 inputs: a vector of reshuffled indices, the data.frame
with the data, the number of free, state and control variables, the starting points, the optimizer, an indicator for bootstrapped repetitions and the optimization tolerance. It collects the results of gACF()
function - baseline and bootstrapped - calculates the standard errors and stores all in a prod
object.
Gabriele Rovigatti
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.