Description Usage Arguments Value Examples
Creates a fixed-effects panel stochastic frontier model. Data sets created by this function can be applied for sfmfep( ) of this package fepsfrontieR. The model specificiation are: alpha_i are fixed-effect parameters drawn from a uniform distribution in [0, 1]. x_it is drawn from a normal distribution N(alpha_i, 1). z_it is drawn from a standard normal distribution. u_i (inefficency) is drawn from a truncated normal distribution with N(mu, sigma_u).
1 | SFM.generate(N, Time, beta, delta, sigma_u, sigma_v, mu = 0)
|
N |
is an integer and specifies the amount of panels |
Time |
is an integer and specifies the amount of observations per panel |
beta |
is a vector of k estimates. K explenatory varibles will be gerenated. |
delta |
is a vector of r estimates. R inefficency determinats will be gerenated. |
sigma_u |
is postivie numeric and is the variation of the stochastic inefficency |
sigma_v |
is postivie numeric and is the variation of the zero-mean random error. |
mu |
is numeric and is the mean of the truncated normal distribution of the stochastic inefficency. |
A data.frame( ) including x, y, z & alpha variables
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.