stataでNLSUR
Stataのバージョン
http://www.stata.com/products/whichstata.html
- Stata/MP: The fastest version of Stata (for
dual-core and multicore/multiprocessor computers) - Stata/SE: Stata for large datasets
- Stata/IC: Stata for moderate-sized datasets
- Small Stata: A version of Stata that
handles small datasets (for educational purchases only) - Numerics by Stata: Stata for embedded
and web applications
大学のPCにはICが入っていたのだけれど、変数の数に制限があって、計算が回らなかった。折角16GBもメモリを積んだPCなのに役立たず。気前よくMPを入れてほしいなぁ。MSのACCESSも入ってないし。なんだか微妙だ。
Stataを使って、NLSURでのワルドテスト
http://www.stata.com/statalist/archive/2010-07/msg01521.html
構文を間違えて、ずっとテストが回らなかった。上記のサイトで解決。
nlsur (turn = {a1}*length + {a2}*( {c} + weight))
te (_b[a2:_cons]=0) (_b[b2:_cons]=0)
こんな感じで回りました。
コメントを残す