【问题标题】:How to calculate standard error for clogit output coefficients如何计算clogit输出系数的标准误差
【发布时间】:2015-03-14 09:51:15
【问题描述】:

我有 R 中一个 clogit 函数的输出(见下文),我希望通过除以系数来找出不同属性的支付意愿(WTP)和 WTP 的标准误差。在 stata 中很容易实现,使用一行 >nlcom 但是你如何在 R 中做到这一点?

【问题讨论】:

  • 看看svycontrast() 来自survey

标签: r standard-error


【解决方案1】:

我们使用 support.CEs 包找到了答案。本例中计算 WTP 的示例代码为:

mwtp(out.interactions, monetary.variables = c("PRICE"), nonmonetary.variables = c("GreenStatement", "Certification"),
 nreplications = 1000,
 confidence.level = 0.95,
 method = "delta")

输出将为您提供平均 wtp 和置信区间

【讨论】:

    猜你喜欢
    • 2018-07-07
    • 2020-03-03
    • 2015-05-26
    • 2015-11-20
    • 1970-01-01
    • 2017-06-29
    • 1970-01-01
    • 2022-01-21
    • 2019-09-22
    相关资源
    最近更新 更多