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: frequency weights, contingency tables, exog with discrete support #2599
I'm thinking of using a new model, e.g. OrderedModel or OrdinalModel, for trying out the design for this. with weights and fweights and pandas Categorical support for endog.
use new attribute or property wnobs so we don't collide with current nobs. wnobs could be a property of the model that returns either _wnobs if available or nobs, otherwise we would have to check before usage whether wnobs is available in a model.
The property could be added to LikelihoodModel so it will be inherited automatically.
todo: we still have to check usage of nobs versus len(endog) or exog.shape[0]. I think there is an open issue.
Activity
josef-pkt commentedon Aug 24, 2015
I'm thinking of using a new model, e.g. OrderedModel or OrdinalModel, for trying out the design for this. with
weightsandfweightsand pandas Categorical support for endog.josef-pkt commentedon Jan 11, 2016
implementation idea for fweights:
use new attribute or property
wnobsso we don't collide with current nobs.wnobscould be a property of the model that returns either_wnobsif available ornobs, otherwise we would have to check before usage whetherwnobsis available in a model.The property could be added to LikelihoodModel so it will be inherited automatically.
todo: we still have to check usage of nobs versus len(endog) or exog.shape[0]. I think there is an open issue.