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

Add ARD function for incidence rate #234

Open
edelarua opened this issue Nov 19, 2024 · 0 comments
Open

Add ARD function for incidence rate #234

edelarua opened this issue Nov 19, 2024 · 0 comments
Labels
ARD enhancement New feature or request sme

Comments

@edelarua
Copy link
Contributor

Create function to calculate statistics returned by tern::s_incidence_rate().

Function should calculate the following statistics:

  • person_years: Total person-years at risk (sum of a variable across patients e.g. exposure)
  • rate: Estimated incidence rate
  • rate_ci: Confidence interval for the incidence rate

See https://insightsengineering.github.io/tern/latest-tag/reference/incidence_rate.html for details on the tern function.

@edelarua edelarua added enhancement New feature or request sme ARD labels Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARD enhancement New feature or request sme
Projects
None yet
Development

No branches or pull requests

1 participant