Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
固定効果のあるplmを介して推定している大きなパネルがあります。
例えば
Test.fe <- plm( Y ~ x1+x2, data=test, model="within")
以前summary(Test.fe)は見積もり結果を出力して、固定効果を得るために使用できましたfixef。
summary(Test.fe)
fixef
しかし今、私の質問:推定された Y 値をプロットして、実際の Y 値と比較するにはどうすればよいですか?
ありがとう。
近似値を取得する簡単な方法
fitted.panelmodel <- plm(object, ...) object$model[[1]] - object$residuals
現在、これ以上の方法はありません。