You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tools, infrastructure and pattern for supporting perfectly collinear exog
we need a helper function to get the reduced full rank exog either using svd or pivoting QR (now available in minimum scipy IIRC)
pivoting QR might will not drop sequentially (reading the docstring), we might need explicit check instead for colinear columns instead. #1061 colinear exog in auxiliary regression: we only need the rank but using pinv on full, possibly singular exog might be wasteful
drop collinear columns in regression, and nan results
we have infrastructure for nandot and nans in the t_test, but it might not be generically accessible (only for fit_regularized in discrete?)
this is user facing.
use reduced exog for non-linear MLE optimization, internal reparameterization.
can be user facing with nans and reduced rank QR, or purely internal with SVD.
another issue: the actual estimation is with a different exog than the one that is attached.
The current pattern that I was planing for this case is to use fit_transformed that similarly to fit_constrained creates an auxiliary model.
The difference is that the constrained case and the pinv/svd/pca case don't have nans in the bse, but instead report a singular covariance matrix.
Activity
josef-pkt commentedon Oct 26, 2014
another issue: the actual estimation is with a different exog than the one that is attached.
The current pattern that I was planing for this case is to use fit_transformed that similarly to fit_constrained creates an auxiliary model.
The difference is that the constrained case and the pinv/svd/pca case don't have nans in the bse, but instead report a singular covariance matrix.
josef-pkt commentedon Apr 5, 2015
fit_constrained can also be reused for setting singular/redundant columns to zero
spector example from discrete test suite
GLM example
compare with model without duplicate column