'Provide access to the representation and filtered output in the
appropriate range (`start` - `end`).'

def __getattr__(self, attr):

    if (attr[0] == '_'):
        raise AttributeError(("'%s'    object    has    no    attribute    '%s'" % (self.__class__.__name__, attr)))
    _attr = ('_' + attr)
    if (not hasattr(self, _attr)):
        if ((attr == 'endog') or (attr in self.filter_attributes)):
            value = getattr(self.results, attr).copy()
            value = value[..., self.start:self.end]
        elif (attr in self.representation_attributes):
            value = getattr(self.results, attr).copy()
            if (value.shape[(-1)] == 1):
                value = value[..., 0]
            else:
                value = value[..., self.start:self.end]
        else:
            raise AttributeError(("'%s'    object    has    no    attribute    '%s'" % (self.__class__.__name__, attr)))
        setattr(self, _attr, value)
    return getattr(self, _attr)
