Open l-goehring opened 9 years ago
Dear Eike @eikeluedeling,
I resolved this issue with commit 6d8c8e34489236db7f186fb354d7cacb91d0872f. Please
and let me know here, if you agree. You can use the new examples in the help pages of the functions summary.mcSimulation()
and summary.welfareDecisionAnalysis()
.
I will then tag this state and try to close this issue in the same time ;-)
Cheers, Lutz
Hi Lutz @l-goehring , how do I test this now? I tried a few things (install zip file, clone in git), but I'm not seeing any example for these two functions. I'm probably doing something wrong... Cheers, Eike
Dear Eike @eikeluedeling,
I hope that the following helps you:
decisionSupport-test
decisionSupport-test
with file browserdecisionSupport.Rproj
with RStudionhelp(summary.mcSimulation)
. Then in the Help window, the corresponding help file shall appear. summary.welfareDecisionAnalysis
>detach(package:decisionSupport,unload=TRUE)
>install.packages("decisionSupport")
Hope that that helps!
Cheers, Lutz
The summary of the Monte Carlo simulation shall be integrated into the summary method of the Welfare Decision Analysis. In particular this requires for the methods
summary.mcSimulation()
andsummary.welfareDecisionAnalysis()
:chance_loss
,chance_zero
,chance_gain
summary.mcSimulation()
tosummary.welfareDecisionAnalysis()
because they are semantically part of the economic sphere;plPa
,pZero
,pnbPa
, because this uses the terminology used in the rest of the package (in particularenbPa
andelPa
).summary.welfareDecisionAnalysis()
:probs=c(0, 0.05, 0.1, 0.25, 0.5, 0.75, 0.9, 0.95, 1)
moments=c("mean", "sd", "skewness")
summary.eviSimulation()
decisionSupport()