generate simulated panel data for testing purposes
1 2 3 4 | sim_data_panel(k = 20, t = 10, x_mean = 10, x_sd = 1, z_mean = 0.5,
z_sd = 1, frontier_coef = c(10, 6, 3), z_intercept = 1,
ineff_covar_coef = c(0.1, -0.4), ineff_sigma = 2, frontier_sigma = 3,
ineff_sign = -1, aslist = FALSE)
|
k |
number of individuals - cross section |
t |
number of observations per individual |
frontier_coef |
coefficients for explanatory variables |
ineff_covar_coef |
coefficients for exogeneous varaibles |
ineff_sigma |
variance of the inefficiency term |
frontier_sigma |
variance of the random noise |
ineff_sign |
production (-1) or cost inefficiency form (1), |
aslist |
TRUE/FALSE to return list or array |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.