Measuring shadow prices

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!

Hi,

In order for us to help you with your question, please provide us a minimal reproducible example where you provide a minimal (dummy) dataset and code that can recreate the issue. Once we have that, we can go from there. For help on creating a Reprex, see this guide:

Good luck!
PJ

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.