Last chance! 50% off unlimited learning
Sale ends in
snqProfitWeights( pNames, qNames, data, method = "DW92", base = 1 )
method
is 'DW92' the method of Diewert and
Wales (1992) is applied. They predetermine the weights by
Defining the scaled netput quantities as $\widetilde{x}_{i}^{t} & = & x_{i}^{t}\cdot p_{i}^{0}$ we get following formula:
The prices are scaled that they are unity in the base period or - if there
is more than one base period - that the
means of the prices over the base periods are unity.
The argument base
can be either
(a) a single number: the row number of the base prices,
(b) a vector indicating several observations: The means of these
observations are used as base prices,
(c) a logical vector with the same length as the data
: The
means of the observations indicated as 'TRUE' are used as base prices, or
(d) NULL
: prices are not scaled.
snqProfitEst
.data( germanFarms )
germanFarms$qOutput <- germanFarms$vOutput / germanFarms$pOutput
germanFarms$qVarInput <- -germanFarms$vVarInput / germanFarms$pVarInput
germanFarms$qLabor <- -germanFarms$qLabor
pNames <- c( "pOutput", "pVarInput", "pLabor" )
qNames <- c( "qOutput", "qVarInput", "qLabor" )
snqProfitWeights( pNames, qNames, germanFarms )
Run the code above in your browser using DataLab