开发者:上海品职教育科技有限公司 隐私政策详情

应用版本:4.2.11(IOS)|3.2.5(安卓)APP下载

JiangHan · 2023年01月06日

老师,这个题的答案是不是错了,第二问不应该是用2个dummy variables吗,答案给的是3个

NO.PZ2022120202000013

问题如下:

One input to a regression model that is designed to estimate the size of a mutual fund is a variable indicating whether a fund has a return that is greater than 20%, between 10% and 20%, between 0% and 10%, or negative. Another is an input indicating whether the fund focuses on equities, bonds, or money market instruments. Explain how these variables would be handled.

选项:

解释:

In the case of the first variable there is a natural ordering. We could define the input as 0 if the fund has a negative return, 1 if has a return between 0 and 10%, 2 if it has a return between 10 and 20%, and 3 if it is greater than 30%. To deal with the second variable, we would use three dummy variables. The first would equal 1 if the fund focused on equity and zero otherwise. The second would equal 1 if the fund focused on bonds and zero otherwise. The third would equal 1 if the fund focused on money market instruments and zero otherwise.



1 个答案
已采纳答案

李坏_品职助教 · 2023年01月06日

嗨,爱思考的PZer你好:


第二问一共是四种可能:

  1. focused on equity;
  2. focused on bond;
  3. focused on money market;
  4. 没有focused on任何一种资产,而是均匀分配资金。


所以一共是四种可能性,需要3个虚拟变量。

----------------------------------------------
努力的时光都是限量版,加油!

  • 1

    回答
  • 0

    关注
  • 193

    浏览
相关问题