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

Adding expectation functions #162

Open
edward-burn opened this issue Dec 6, 2024 · 2 comments
Open

Adding expectation functions #162

edward-burn opened this issue Dec 6, 2024 · 2 comments

Comments

@edward-burn
Copy link
Collaborator

A bit like https://rstudio.github.io/pointblank/index.html, we can have some expectation functions to help assess the diagnostics results. The user gives some expectations and we check if these are met in the result

Some simple ones to start with:

  • is median age in a given range
  • is proportion male (vs female) in a given range

Need @albertpratsu to help think about how best to incorporate

@edward-burn
Copy link
Collaborator Author

expectations dataset

  • expectation_name
  • expectation_description

summarised result columns ..... (so that we know which result this would refer too)

  • group_level, group_name, etc ..... ?

thresholds

  • threshold_lower
  • threshold_upper

@edward-burn
Copy link
Collaborator Author

probably would be difficult for the user to know all the summarised resut columns etc, so probably easier to start with prespecified like median age etc (which we can find easily enough in the code)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant