英文:
How does the ‘doubleb’ command in Stata estimate WTP?
问题
我正在寻求关于Stata中doubleb
命令如何估计WTP的清晰信息。根据Lopez-Feldman(2012)的说法,该命令“直接”计算系数以实现这一目标(请参阅附带的文档中的图片)。然而,这段文字没有明确解释“直接”是什么意思,因此我不确定发生了什么以及如何手动计算。
如果有人能够解释一下这里的内部操作,我将不胜感激!
参考文献:Lopez-Feldman,A. 2012,“使用Stata进行有条件估价的简介”,经济研究和教学中心,论文编号41018。
英文:
I am seeking clarity on how the doubleb
command in Stata estimates WTP. According to Lopez-Feldman (2012), the command ‘directly’ calculates the coefficients to do so (see attached picture from the documentation). However, this text does not clarify what ‘directly’ means, so I am unsure what is happening and how to calculate this manually.
If anyone can shed any light on what’s going on under the hood here, I would really appreciate it!
Reference: Lopez-Feldman, A. 2012, ‘Introduction to contingent valuation using Stata’, Economic Research and Teaching Centre, Paper No. 41018.
答案1
得分: 1
doubleb
的源代码非常简短,所以我将尝试一下:
该命令的ado文件(doubleb.ado)进行了简单的检查,然后调用了一个最大似然求解器,用于似然函数doubleb_ll
,该函数在doubleb_ll.ado中定义。我会说这是您提供的论文第12页上方程(8)的实现。
英文:
The source code of doubleb
is rather short so I'll give it a try:
The ado-file for the command (doubleb.ado) does a simple check then calls a maximum-likelihood solver for the likelihood function doubleb_ll
which is defined in doubleb_ll.ado. I would say that this is the implementation of equation (8) on page 12 on the paper you linked.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论