为什么我们的代码在计算beta时会给出地图。
为了计算特定年份中共同基金的β。与(市场利率 - 无风险利率)相比,我们正在尝试对市场超额收益进行回归。我们的代码如下:
Returns_Database <- CRSP_Database %>%
select(Wficn, caldt, Excess_Return, mktrf)%>%
nest(data = c("Excess_Return", "mktrf")) %>%
mutate(model = map(data, ~ lm(Excess_Return = , mktrf = ), data = .))) %>%
我们如何继续获取地图。政策错误,或者我们缺少什么?
In order to calculate the beta of a mutual fund in a specific year. We are trying to run a regression on the excess return on the market compared to the (market rate - risk free rate). Our code is as follows:
Returns_Database <- CRSP_Database %>%
select(Wficn, caldt, Excess_Return, mktrf)%>%
nest(data = c("Excess_Return", "mktrf")) %>%
mutate(model = map(data, ~ lm(Excess_Return = , mktrf = ), data = .))) %>%
How come we keep getting the map.polly error, or what are we missing?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论