statsmodels.tsa.statespace.sarimax.SARIMAX.smooth#
- SARIMAX.smooth(params, transformed=True, includes_fixed=False, complex_step=False, cov_type=None, cov_kwds=None, return_ssm=False, results_class=None, results_wrapper_class=None, **kwargs)#
Kalman smoothing
- Parameters:
- paramsarray_like
Array of parameters at which to evaluate the loglikelihood function.
- transformedbool,
optional Whether or not params is already transformed. Default is True.
- includes_fixedbool,
optional If parameters were previously fixed with the fix_params method, this argument describes whether or not params also includes the fixed parameters, in addition to the free parameters. Default is False.
- complex_stepbool,
optional Whether or not to compute the smoothed output using complex step differentiation. Default is False.
- cov_type
str,optional See MLEModel.fit for a description of covariance matrix types for results object.
- cov_kwds
dict,optional See MLEModel.fit for a description of the keywords for the covariance matrix computation.
- return_ssmbool,
optional Whether or not to return only the state space output or a full results object. Default is to return a full results object.
- results_class
type,optional A results class to use for results object. Default is MLEResults.
- results_wrapper_class
type,optional A results wrapper class to use for the results object. Default is MLEResultsWrapper.
- **kwargs
Additional keyword arguments to pass to the Kalman filter. See KalmanFilter.filter for more details.
- Returns:
MLEResultsorSmootherResultsThe results object, or if return_ssm is True, the output of the Kalman smoother of the state space model.