Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有 R 中 clogit 函数的输出(见下文),我希望通过除以系数来找出不同属性的支付意愿(WTP)和 WTP 的标准误差。在 stata 中很容易实现,使用一行 >nlcom 但是你如何在 R 中做到这一点?
我们使用 support.CEs 包找到了答案。本例中计算 WTP 的示例代码为:
mwtp(out.interactions, monetary.variables = c("PRICE"), nonmonetary.variables = c("GreenStatement", "Certification"), nreplications = 1000, confidence.level = 0.95, method = "delta")
输出将为您提供平均 wtp 和置信区间