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

Improve data generation #50

Merged
merged 10 commits into from
Jan 20, 2025
Merged

Improve data generation #50

merged 10 commits into from
Jan 20, 2025

Conversation

DanChaltiel
Copy link
Member

@DanChaltiel DanChaltiel commented Jan 20, 2025

TODO

  • Ajouter le TERM en plus du SOC
  • Passer n_ae_max en tant qu'argument, possiblement lié au traitement
  • Ajouter des données manquantes dans toutes les colonnes, peut-être avec une proportion variable, par exemple p_na=0.1.
  • grade différent selon SAE oui/non
  • Faire en sorte que certains patients de enrolres soient absents de ae (patients sans AE) -> automatique par effet random: pour certains patients n_ae==0
  • Gérer certains cas particuliers, cf. Mauvais ordre des SOC dans ae_table_soc() #8.
  • randomization different than 1:1
  • several (>2) arms

Stale

  • SOC and grade depending on treatment arm

compliqué à faire (simulation qui dépend de plusieurs tables, ae et enrolres), et pas indispensable pour avancer.

A faire en post-prod (après génération des données)

  • missing data for an entire arm
  • duplicates SOC with different grades for one patient

@DanChaltiel DanChaltiel linked an issue Jan 20, 2025 that may be closed by this pull request
6 tasks
@DanChaltiel DanChaltiel self-assigned this Jan 20, 2025
@DanChaltiel DanChaltiel merged commit a14237c into main Jan 20, 2025
4 checks passed
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

Successfully merging this pull request may close these issues.

Améliorer les data AE dans grstat_example()
1 participant