powered by
Calculates the moments of composed-error distribution based on the provided parameters.
par2mom(mu = 0, sigma_v = 1, sigma_u = 1, s = -1, distr = "normhnorm")
Returns a matrix where the first column corresponds to the mean, the second to the standard deviation and the third to the skewness.
numeric vector of \(\mu\).
numeric vector of \(\sigma_V\). Must be positive.
numeric vector of \(\sigma_U\). Must be positive.
integer; \(s=-1\) for production and \(s=1\) for cost function.
string; determines the distribution: `normhnorm`, Normal-halfnormal distribution `normexp`, Normal-exponential distribution
See dcomper for details of the distribution. For the inverse transformation see mom2par.
dcomper
mom2par
par2mom(mu=0, sigma_v=1, sigma_u=1, s=-1, distr="normhnorm") par2mom(mu=0, sigma_v=1, sigma_u=1, s=-1, distr="normexp")
Run the code above in your browser using DataLab