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

added PSM functions #1

Merged
merged 15 commits into from
Jul 6, 2024
Merged

added PSM functions #1

merged 15 commits into from
Jul 6, 2024

Conversation

W-Mohammed
Copy link
Owner

Hi Khader,

Please review the branch and let me know if you are happy.
I have created new functions, including the run PSM model. The model now considers the intervention's costs according to the published treatment schedule.

Please let me know if you have any questions.

@W-Mohammed W-Mohammed requested a review from abeero126 May 25, 2024 05:34
@W-Mohammed
Copy link
Owner Author

Salam all!

I have added functions to:

  • estimate the adverse events for the treatments and
  • calculate PPS treatment costs.

I have tested the functions and updated the documentation to make things more transparent.

I have PSA and one-way sensitivity analysis (OWSA) functions, which should be the end of my programming tasks.

I am still waiting for at least one of you to review the code and approve the pull request to consolidate it with the main branch on GitHub, which will allow the website to update. @Khader-Habash, I was expecting you to finish it by now.

@abeero126
Copy link
Collaborator

abeero126 commented May 26, 2024 via email

@W-Mohammed
Copy link
Owner Author

Salam all,

I am sorry to add to your work. I have just made significant changes to the model and its auxiliary functions.

I have just finished adding the PSA and One Way Sensitivity Analysis functions, including a tornado plotting function.

I have also added default data objects. These are lists of data that contain model parameters, PSA parameters and DSA parameters. They are all documented and start with the prefixes l_psm_, l_psa_ and l_dsa_, respectively. These data are from the Chinese data.

Moreover, I changed the inputs of the adverse events function from a list of lists to a list of scalars. If you have reviewed that function, you should spend a few minutes reviewing the updated function. This change makes the model more adaptable and accessible for handling the PSA and DSA functions. Another similar change was the output of the run_psm function, which is now a vector rather than a list for PSA and DSA reasons.

@Khader-Habash
Copy link
Collaborator

Khader-Habash commented May 30, 2024 via email

@W-Mohammed
Copy link
Owner Author

W-Mohammed commented May 30, 2024 via email

@Khader-Habash Khader-Habash merged commit c3eada2 into main Jul 6, 2024
1 check 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.

3 participants