FP <- fareprim(data = afpf, id.var = "by.id", time.var = "by.year",
x.vars = c(7:9), y.vars = c(6), w.vars = c(11:13),
p.vars = c(10), orientation = "in", shadow = TRUE)
FP.shadowprices <- Shadowp(FP)
Fixed.Assets Material Labour Sales
0.09271665 0.84940215 0.20534300 0.87663577
Dear all,
I am using the "productivity" package to measure shadow prices. There are 26 observations in my sample and I use 3 inputs and 1 output. Unfortunately, when I am running R with the command above, I am only getting 1 set of shadow prices instead of 26 sets of shadow prices. How can I fix this problem?
Help or tips will be strongly appreciated!