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
{{ message }}
Repository navigation
SUMM: tools for residual covariance structure #1948
for two-step estimators we will need mainly the estimation of the covariance parameters and a whiten method,
see WLS/GLS cases GLSAR, GLSHet
some functions are in GEE (and a messy incomplete trial version in the sandbox)
for the one-step estimators, MLE, REML, we need also the log-determinant, and derivatives for numerical optimization and cov_params
see for example Mixed Effects model:_smw_solve and _smw_logdet for s*I + A*B*A'
what we need is something like statsmodels.stats.correlation_tools.FactoredPSDMatrix for diag + A*A'
Application for GMM #2640 (comment)
We can prewhiten the moment conditions (nobs, k_moms) to remove "working correlation" across moments. This looks very general, and GEE would be a special case.
All we need is a standalone class that can prewhiten an arbitrary (nobs, k) array, and have some functionality to do a first step or iterative estimation (which might be model specific or reasonably general as in GEE). (GEE has a one-dimensional residual as in NonlinearIV)
Activity
josef-pkt commentedon Oct 7, 2015
Application for GMM #2640 (comment)
We can prewhiten the moment conditions (nobs, k_moms) to remove "working correlation" across moments. This looks very general, and GEE would be a special case.
All we need is a standalone class that can prewhiten an arbitrary (nobs, k) array, and have some functionality to do a first step or iterative estimation (which might be model specific or reasonably general as in GEE). (GEE has a one-dimensional residual as in NonlinearIV)