I have a series that I believe has one autoregression characteristic under condition A (example: positive) and another under condition B (example: negative).

Is there a way (hopefully in Python) to estimate the parameters if I know when in condition A and when condition B? What if I don't know and I want to find both the best parameters and when each condition occurs?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.