我想一男孩数目为分组变量,分为两组,男孩为0是一组,男孩非0是一组,回归出工作性质对支出。因为我想看男孩家庭和女孩家庭是否具有异质性。reg 支出 工作性质 if 男孩数目=!0行不通。谢谢!
---------------------- copy starting from the next line -----------------------
------------------ copy up to and including the previous line ------------------