Description Usage Arguments Details Value Author(s) References Examples
Computing and plotting the technical efficiency.
1 |
theta |
The estimated parameters form the model |
Y |
Vector of dependent variable |
X |
Matrix of independent variable |
family |
Copula function eg. Gaussain=1, Student-t=2 (see, Vinecopula package) |
tau |
The qauntile level range between 0-1 |
Computing and plotting the technical efficiency.
itemOutput Technical efficiency series itemplot Plot of Technical efficiency
Woraphon Yamaka
Pipitpojanakarn, V., Maneejuk, P., Yamaka, W., & Sriboonchitta, S. (2016, November). Analysis of agricultural production in Asia and measurement of technical efficiency using copula-based stochastic frontier quantile model. In International Symposium on Integrated Uncertainty in Knowledge Modelling and Decision Making (pp. 701-714). Springer, Cham.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | library(truncnorm)
library(mvtnorm)
library("VineCopula")
library("frontier")
library(ald)
# example included in FRONTIER 4.1 (cross-section data)
data(front41Data)
attach(front41Data)
# Cobb-Douglas production frontier
cobbDouglas <- sfa( log(output)~log(capital)+log(labour),data=front41Data)
summary(cobbDouglas)
# Select familty copula upper and lower bouubd ( look at Vinecopula package)
# family=1 # 1 is Gaussian, 2 is Student-t, 3 is Clayton and so on....
#Gaussian (-.99, .99)
#Student t (-.99, .99)
#Clayton (0.1, Inf)
Y=log(output)
X=cbind(log(capital),log(labour))
model=copSQM(Y=Y,X=X,family=1,tau=0.5,RHO=0.5,LB=-0.99,UB=0.99)
#EX: Plot the technical efficiency
tau=0.5
te1=TE(model$result[,1],Y=Y,X=X,family=1,tau)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.