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

Slope function to calculate the tendency of the curve #34

Open
rafalopespx opened this issue Aug 22, 2022 · 1 comment
Open

Slope function to calculate the tendency of the curve #34

rafalopespx opened this issue Aug 22, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@rafalopespx
Copy link
Collaborator

Through a simple linear model adjusted to the trajectories, we can infer the tendency of the epidemic curve, to do so we can construct functions that take the posteriors output from the main function nowcasting_inla and adjust the linear model and return the slope of the trajectories, to give a more quantitative tendency inference:

@rafalopespx rafalopespx added enhancement New feature or request help wanted Extra attention is needed labels Aug 22, 2022
@rafalopespx rafalopespx self-assigned this Aug 22, 2022
@rafalopespx
Copy link
Collaborator Author

Two functions needed, slope.estimate.quant, to receive trajectories and fit a linear model on it and return only the slope, and a generate.estimate.slope, which can uses internally the function and from it return a data.frame, with the statistics of this adjust over the trajectories

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Development

No branches or pull requests

1 participant