当我用plm做fixed effect,得到的结果里的R square很低,应该是不包括a_i的贡献的R square.
比如:
firmfixed=plm(leverage~tangibility+markettobook+logsale+profitbility,data=panel,model="within",effect="individual");
我得到的结果的R square 比OLS的低,因为只包含了四个regressor的贡献
但是我在stata里运行同样的数据和模型,R square就特别高,因为stata默认的R square包括了a_i的贡献。
如果我想要stata里的那种R square,我该怎么办?
</p>