I was wrong -- this is needed.  Maybe this can be moved upstream at some
point.


On Sat, Mar 22, 2014 at 1:28 PM, Kerby Shedden <kshedden@umich.edu> wrote:

> This seems to be unneeded for exog, so I took it out.
>
>
> On Sat, Mar 22, 2014 at 3:58 AM, Josef Perktold <notifications@github.com>wrote:
>
>> In statsmodels/regression/lme.py:
>>
>> > +            A vector of labels determining the groups -- data from
>> > +            different groups are independent
>> > +        exog_re : 2d array-like
>> > +            A matrix of independent variables used to determine the
>> > +            variance structure.  If None, defaults to a random
>> > +            intercept for each of the groups.  May be set from
>> > +            a formula using a call to `set_random`.
>> > +        missing : string
>> > +            The approach to missing data handling
>> > +        """
>> > +
>> > +        groups = np.asarray(groups)
>> > +
>> > +        # If there is one covariate, it may be passed in as a column
>> > +        # vector, convert these to 2d arrays.
>> > +        if exog.ndim == 1:
>>
>> exog might be handled by super
>> but I don't remember what the inherited behavior for extra arrays is,
>> that shouldn't include conversion to 2d column
>>
>> (reminder also to myself)
>>
>> --
>> Reply to this email directly or view it on GitHub<https://github.com/statsmodels/statsmodels/pull/1398/files#r10852027>
>> .
>>
>
>