Skip to content

Add local level example #449

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -45,3 +45,4 @@ pytestdebug.log
# Codespaces
pythonenv*
env/
venv/
834 changes: 834 additions & 0 deletions notebooks/Local Level.ipynb

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pymc_extras/statespace/core/statespace.py
Original file line number Diff line number Diff line change
@@ -175,8 +175,8 @@ def make_symbolic_graph(self):
x0 = self.make_and_register_variable('x0', shape=(2,))
P0 = self.make_and_register_variable('P0', shape=(2,2))
sigma_mu = self.make_and_register_variable('sigma_nu')
sigma_eta = self.make_and_register_variable('sigma_eta')
sigma_nu = self.make_and_register_variable('sigma_nu', shape=())
sigma_eta = self.make_and_register_variable('sigma_eta', shape=())
# Next, use these symbolic variables to build the statespace matrices by assigning each parameter
# to its correct location in the correct matrix