summary | R Documentation |
Create and print summary results for classic or latent class stochastic
models returned by sfacross
and lcmcross
.
## S3 method for class 'sfacross' summary(object, grad = FALSE, ci = FALSE, ...) ## S3 method for class 'summary.sfacross' print(x, digits = max(3, getOption("digits") - 2), ...) ## S3 method for class 'lcmcross' summary(object, grad = FALSE, ci = FALSE, ...) ## S3 method for class 'summary.lcmcross' print(x, digits = max(3, getOption("digits") - 2), ...)
object |
An object of either class |
grad |
Logical. Default = |
ci |
Logical. Default = |
... |
Currently ignored. |
x |
An object of either class |
digits |
Numeric. Number of digits displayed in values. |
The summary
method returns a list of class 'summary.sfacross'
or 'summary.lcmcross'
that contains the same elements as an object returned by
sfacross
or lcmcross
with the following additional elements:
AIC |
Akaike information criterion. |
BIC |
Bayesian information criterion. |
HQIC |
Hannan-Quinn information criterion. |
sigmavSq |
For |
sigmauSq |
For |
Varu |
For |
THETA |
For |
Eu |
For |
Expu |
For |
olsRes |
For |
mlRes |
Matrix of ML estimates, their standard errors, z-values,
asymptotic P-values, and when |
chisq |
For |
df |
Degree of freedom for the inefficiency model. |
sfacross
, for the stochastic frontier analysis model fitting function.
lcmcross
, for the latent class stochastic frontier analysis model fitting function.
coef
for extracting coefficients of the estimation.
efficiencies
for computing (in-)efficiency estimates.
fitted
for extracting the fitted frontier values.
ic
for extracting information criteria.
logLik
for extracting log-likelihood value(s) of the estimation.
marginal
for computing marginal effects of inefficiency drivers.
residuals
for extracting residuals of the estimation.
vcov
for computing the variance-covariance matrix of the coefficients.
skewnessTest
for implementing skewness test.
## Using data on fossil fuel fired steam electric power generation plants in the U.S. # Translog SFA (cost function) truncated normal with scaling property tl_u_ts <- sfacross(formula = log(tc/wf) ~ log(y) + I(1/2 * (log(y))^2) + log(wl/wf) + log(wk/wf) + I(1/2 * (log(wl/wf))^2) + I(1/2 * (log(wk/wf))^2) + I(log(wl/wf) * log(wk/wf)) + I(log(y) * log(wl/wf)) + I(log(y) * log(wk/wf)), udist = "tnormal", muhet = ~ regu, uhet = ~ regu, data = utility, S = -1, scaling = TRUE, method = "mla") summary(tl_u_ts, grad = TRUE, ci = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.