Skip to content
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

Initialization of State for Eigenvector #203

Open
stevencarlislewalker opened this issue May 6, 2024 · 0 comments
Open

Initialization of State for Eigenvector #203

stevencarlislewalker opened this issue May 6, 2024 · 0 comments
Assignees

Comments

@stevencarlislewalker
Copy link
Member

stevencarlislewalker commented May 6, 2024

  1. Start with an 'original' model.
  2. Remove all accumulators from the state vector.
  3. Remove all 'exogeneous' effects (e.g. time-varying parameters, vaccination).
  4. Choose one exposed state and initialize it to a small number (e.g. $10^-5$).
  5. Define a vector, $\sigma$, that sums to one with one value for each susceptible state (could be a constant vector for a uniform distribution ... but could be the normalized age distribution if the S classes differ only in their age ... ).
  6. Set the values of the susceptible states to the values in $\sigma (1 - 10^-5)$.
  7. Set all other state vectors to zero, resulting in a state vector that sums to 1.
  8. Run simulations for 100 (or so) time-steps and get the final state vector.
  9. Remove any susceptible, dead, or recovered classes from this final state vector.
  10. Normalize this final state vector so that it sums to 1, to produce the eigenvector, $v$.
  11. Create a new state vector, $s$, which will become the initial state vector for simulations from the original model.
  12. Define the total population size, $N$, as the actual population being modelled by the original model.
  13. Define the initial number of exposed/infected/infectious/other individuals, $I_0$ in the original model.
  14. Set the susceptible states in $s$ as $\sigma (N - I_0)$.
  15. Set the dead and recovered states in $s$ to $0$.
  16. Set the remaining states in $s$ to $v I_0$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🔖 Ready
Development

No branches or pull requests

2 participants