This is the repository for the English version of the Future Elderly Model, originally developed at the Leonard D. Schaeffer Center for Health Policy and Microsimulation.
MIT License
3
stars
1
forks
source link
Predict consumption of each individual drink type and calculate units after #87
New idea for this work: Instead of calculating units consumed in past week for each wave and trying to predict that, will now focus on predicting the number of each individual drink consumed in past week for each wave using a poisson regression and calculating units after prediction. Hoping this will help to keep the more extreme consumption values and maintain the heaviest drinkers better than predicting units alone. Also has the benefit of allowing us to tailor the drinks models a bit better, as different sets of vars may be better suited to predicting different drinks.
Remove focus on alcbase and start predicting each individual drink type:
[x] Change wave specific file to add vars for each wave to wide file
[x] Reshape new drink vars along with rest of data
[x] Remove references to alcbase in prep and prediction
[x] Predict each new drink var
[x] Calculate units in post processing (ELSA_vars.txt)
This is no longer the method we are pursuing. This idea has been replaced with the multi-level modelling process that has been described in other issues (i.e. #77, #84).
New idea for this work: Instead of calculating units consumed in past week for each wave and trying to predict that, will now focus on predicting the number of each individual drink consumed in past week for each wave using a poisson regression and calculating units after prediction. Hoping this will help to keep the more extreme consumption values and maintain the heaviest drinkers better than predicting units alone. Also has the benefit of allowing us to tailor the drinks models a bit better, as different sets of vars may be better suited to predicting different drinks.
_Originally posted by @ld-archer in https://github.com/ld-archer/E_FEM/issues/77#issuecomment-1005592011_