I'm not sure I understand this one....


On Sat, Mar 22, 2014 at 4:23 AM, Josef Perktold <notifications@github.com>wrote:

> In statsmodels/regression/lme.py:
>
> > +
> > +        # Model dimensions
> > +        self.p = exog.shape[1]
> > +        if exog_re is not None:
> > +            self.pr = exog_re.shape[1]
> > +            self.prr = int(self.pr * (self.pr
>  + 1) / 2)
> > +
> > +        # Convert the data to the internal representation, which is a
> > +        # list of arrays, corresponding to the groups.
> > +        group_labels = list(set(groups))
> > +        group_labels.sort()
> > +        row_indices = dict((s, []) for s in group_labels)
> > +        [row_indices[groups[i]].append(i) for i in range(len(self.endog))]
> > +        self.row_indices = row_indices
> > +        self.group_labels = group_labels
> > +        self.ngroup = len(self.group_labels)
>
> everything except for nobs should have underscore n_groups IIRC
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/statsmodels/statsmodels/pull/1398/files#r10852937>
> .
>