Repository navigation
ENH: Restricted gls - #1673
ENH: Restricted gls#1673josef-pkt wants to merge 8 commits into
Conversation
|
The main point of PR at this stage is to be able to use comments on github for code review |
|
code review doesn't work: With a clean move, the diff doesn't show the original code for commenting |
|
for unit tests: |
|
behavior of t_test and f_test of the constraint first restriction was imposed in estimation possible problems in f_test, negative F-statistic, |
|
nonrobust bse is default bse, is not the same as Stata's robust, difference is a constant fraction approx. 1.06
|
|
unit tests are broken with recent numpy, genfromtxt, recarrays, structured dtypes don't behave "properly" for data handling anymore need to switch unit tests to using pandas before they can run. |
d7fae80 to
cb19320
Compare
|
Hello @josef-pkt! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
|
|
rebased and force pushed changed to using pandas for datahandling in unit tests |
|
looks like only Stata results file fails style check ( no noqa yet) |
WIP moving RLS out of the sandbox
added minimal tests
no refactoring yet
Performance:
uses GLS: builds full (nobs, nobs) sigma and cholsigminv
Names
k_constr, ... k_xxx instead of
nconstraintname of class: RestrictedGLS
rwexog, ... are misnomers because they are moment matrices for moment equations
open: names for constraints R, q
design
cov_typedefault, move sandwichwrnorm_cov_paramsto results (reuse inherited code)(maybe: need to cache/attach
pinvXfor HCxx_se)