-
Notifications
You must be signed in to change notification settings - Fork 25
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
Demographics changing over markov cycles #322
Comments
I am not sure I understand the problem: How can the population distribution - I assume age distribution - change if it is derived (my assumption on your situation) from the initial population, hence initial distribution? Please clarify what type of change occurs. Two remarks that you might find helpful:
|
Thank you for the response. I will try to explain my issue a bit better. Essentially, my issue is that I don't know how to set the age of the inflow of the model (the 'new people' each cycle). I'll explain how/why I need this. At this point, I can create two Markov Chains with a different approach, that both encounter this age-inflow issue. Model 1) Modelling the whole population (states include healthy people, sick, recovered and dead). The age given initially, in the parameter distribution, is 'overwritten' my the population distribution given in 'update', so I have not found a way to set this age at the inflow and let the model know they start at age 0. Model 2) In this case, I would be modelling the sick people only (states include sick people, recovered and dead) In this case, the inflow of people in the model, is logically the incidence of the disease: anyone coming into the model, enters in the sick state. Is there any way to model both or one of these? |
Hello, I believe I am seeking to do something similar. I'm working to model the cost effectiveness of bike shares (Costs include membership, medical costs given serious injury, economic costs for loss of productivity due to injury, and economic costs as the result of bicycle accident death, etc. Utilities include higher QALY from physical activity, more QALYs from reduced risk of death from chronic diseases among bike share participants, etc). I do have an average age estimate for bike share participants (35 years old) but I would prefer to set my initial ages as a distribution across my model population (n= 10,000 for ease of interpretation since bicycle mortality rate is 5.7 per 10,000) instead of the 35 average. Can one do that using Heemod? Grateful for the right code to replace the below? par_mod <- define_parameters( |
Gentlemen, It seems to me your settings cannot be implemented in You might research the option to simulate the process over a distribution of inputs, and you might try to adjust the transition probabilities and growth of the |
I am trying to simulate population prevalence of diseases through the heemod package.
One of the important features influencing prevalence here is population ageing.
Through the 'update' code, it is possible to integrate a population distribution on the initial and inflow values. However, as years go by, this population distribution changes which I would like to implement in the markov chain as well.
Is there any option to do this?
Thank you!
The text was updated successfully, but these errors were encountered: