-
Notifications
You must be signed in to change notification settings - Fork 2
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
forecast ili data #7
Comments
heads up i started working on this over at fluforce-init before i realized there was a scratch dir in this repo. heres where i am so far: https://github.com/signaturescience/fluforce-init/blob/main/fiphde.R can use the auto ARIMA to model => forecast ILI variable. then can pass that in a list of models to use in the glm framework. code is very thinly documented. some values hardcoded in there. a lot more work to do. but wanted you to be aware so we dont duplicate effort. |
I added some of the utils from focustools, but updated, in #8, withj more flexibility. Lines 16 to 22 in 0e4635e
You no longer need to mutate in the epiyear/week (https://github.com/signaturescience/fluforce-init/blob/f8b985c0c6eb5b96bcf32f9f7a568e0265ec50c6/fiphde.R#L17-L18) because the cdcfluview query brings that in (as
|
Running through that code, some of the "weird this works need fix in focustools" bits... Pete you and I should chat about whether we want to try to fix focustools and import that package, or (my preference (I think?)) copy over functionality we need and fix it here. |
The functions implemented in #3 bring in ILI data from ILINET. Note that this data is never up to date with the most recent weeks. We'll need to forecast ILI data at least a few weeks in advance if we want to use this as a predictor in any kind of GLM for hospitalization.
See some of the focustools utils and forecasting functions.
The text was updated successfully, but these errors were encountered: