'Initialize the state space representation
Parameters
**kwargs
Additional keyword arguments to pass to the state space class
constructor.'

def initialize_statespace(self, **kwargs):

    endog = self.endog.T
    self.ssm = SimulationSmoother(endog.shape[0], self.k_states, **kwargs)
    self.ssm.bind(endog)
    self.k_endog = self.ssm.k_endog
