elas.frontierQuad: Elasticities of a Quadratic/Translog Frontier

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/elas.frontierQuad.R

Description

Calculate the elasticities of a quadratic or translog frontier function.

Usage

1
2
3
## S3 method for class 'frontierQuad'
elas( object, data = NULL, dataLogged = TRUE,
   yObs = FALSE, ... )

Arguments

object

object of class frontierQuad (returned by frontierQuad).

data

dataframe containing the data; if it is not specified, the data frame that was used for the frontier estimation is used for calculating elasticities.

dataLogged

logical. Are the variables (specified in arguments yName and xNames and available in argument data) already logged? (If argument dataLogged is TRUE, the frontier function is of the translog form; if argument dataLogged is FALSE, the frontier function is quadratic).

yObs

logical. Use observed values of the endogenous variable. If FALSE (default) predicted values calculated by quadFuncCalc are used (ignored if argument dataLogged is TRUE).

...

currently ignored.

Details

This method internally calls the functions translogEla and quadFuncEla.

Value

See documentation of translogEla and quadFuncEla.

Author(s)

Arne Henningsen

See Also

frontierQuad, translogEla, and quadFuncEla.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
   # example included in FRONTIER 4.1 (cross-section data)
   data( front41Data )
   front41Data$logOutput  <- log( front41Data$output )
   front41Data$logCapital <- log( front41Data$capital )
   front41Data$logLabour  <- log( front41Data$labour )

   translog <- frontierQuad( yName = "logOutput",
      xNames = c( "logCapital", "logLabour" ),
      data = front41Data )
   elas( translog )

Example output

Loading required package: micEcon

If you have questions, suggestions, or comments regarding one of the 'micEcon' packages, please use a forum or 'tracker' at micEcon's R-Forge site:
https://r-forge.r-project.org/projects/micecon/
Loading required package: lmtest
Loading required package: zoo

Attaching package: 'zoo'

The following objects are masked from 'package:base':

    as.Date, as.Date.numeric


Please cite the 'frontier' package as:
Tim Coelli and Arne Henningsen (2013). frontier: Stochastic Frontier Analysis. R package version 1.1. http://CRAN.R-Project.org/package=frontier.

If you have questions, suggestions, or comments regarding the 'frontier' package, please use a forum or 'tracker' at frontier's R-Forge site:
https://r-forge.r-project.org/projects/frontier/
      logCapital logLabour
1  -0.0009680761 0.5806207
2   0.1325936460 0.6225179
3   0.1163316511 0.6316378
4   0.1174966398 0.5782606
5   0.0119921891 0.5668843
6   0.4031156363 0.6252045
7   0.6633867247 0.6214852
8   0.0759893888 0.6275604
9   0.2538823773 0.5794149
10  0.4007963054 0.6183364
11  0.1773200518 0.4999048
12  0.1566847834 0.6022714
13  0.0331883171 0.6220665
14  0.0363362741 0.5583856
15  0.6086224078 0.5996510
16  0.2495128835 0.6082177
17  0.0340596702 0.6098624
18  0.2181370488 0.6165027
19  0.2335321824 0.6130856
20  0.1485895154 0.6048889
21  0.2352451147 0.6270708
22  0.2446890653 0.5661829
23  0.2244859104 0.6311224
24  0.5609040137 0.5664043
25  0.6283706115 0.6202623
26  0.1982004980 0.6330948
27  0.0641659796 0.6265992
28  0.1391833017 0.5970117
29  0.3234066498 0.5447549
30  0.4283129422 0.5743617
31  0.0675361882 0.4695837
32  0.5314347538 0.4135039
33  0.2879402093 0.5823114
34  0.0284439938 0.6183219
35  0.1574232139 0.6220237
36  0.1179936839 0.6233063
37  0.0602719994 0.6387752
38  0.0208395770 0.5913490
39  0.2445050128 0.6045198
40  0.0610522627 0.5405003
41  0.0481008182 0.5632813
42  0.0298205397 0.6007344
43  0.1235399362 0.6303873
44  0.0600624719 0.5706580
45  0.1522775238 0.6344035
46  0.1324811987 0.5794526
47  0.0523511781 0.6330953
48 -0.0047325068 0.5697389
49  0.1216003214 0.5976515
50  0.0018501923 0.5894657
51  0.2181181037 0.6083690
52  0.0297570269 0.6116660
53  0.0194561081 0.6370626
54  0.1848078751 0.5819729
55  0.2946790798 0.6190160
56  0.0793554041 0.6134158
57  0.0308008515 0.3779963
58  0.0053418682 0.6329630
59  0.0354813834 0.6108859
60  0.0947328888 0.5912683

frontier documentation built on July 14, 2020, 3:01 a.m.