- -----------------------
- [CODE]
- * Example generated by -dataex-. For more info, type help dataex
- clear
- input long stkcd int year double Big4
- 2 2007 1
- 2 2008 1
- 2 2009 1
- 2 2010 1
- 2 2011 1
- 2 2012 1
- 2 2013 1
- 2 2014 1
- 2 2017 1
- 2 2018 1
- 2 2019 1
- 2 2020 1
- 4 2011 0
- 4 2012 0
- 4 2013 0
- 4 2014 0
- 4 2017 0
- 4 2018 0
- 4 2019 0
- 4 2020 0
- end
------------------
[/code]面板数据,big4=1表示审计师为四大,如果我想给连续两年或者以上审计师都是四大的样本生成虚拟变量A=1,请问要如何做到,感谢


雷达卡








京公网安备 11010802022788号







