Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
我怀疑该错误是在此行中:
通常,
r
中的对象名称不包括结肠,所以我想您不能卑鄙。从总的来说,我会注意到
保证金
软件包在许多情况下都可以很好地发挥作用,但是它并未积极开发。您可以尝试较新的marginaleffects
package )。该软件包允许您以平均值计算边际效应(I suspect that the error is in this line:
Typically, object names in
R
do not include colons, so I imagine that you can’t take the mean.In passing, I’ll note that the
margins
package works great in many cases, but that it is not actively being developed. You could try the newermarginaleffects
package (disclaimer: I am the author). That package allows you to compute marginal effects at the mean (documentation) easily by typing: