hesim-dev / hesim

Health economic simulation modeling and decision analysis
https://hesim-dev.github.io/hesim/
62 stars 17 forks source link

Transition-specific costs and cCTSTMs #123

Open mclements opened 2 months ago

mclements commented 2 months ago

Devin,

I have been working on a few changes to the hesim package.

For this pull request, I have implemented transition-specific costs, which currently only has an application for iCTSTMs.

Note that this folds in the unresolved inline extension from pull request #122.

As a signpost: I am preparing a presentation for the International Society of Clinical Biostatistics for later this month that implements cCTSTMs using ordinary differential equations. I have a gist and will prepare a pull request. I have a number of questions to ask you about that pull request:).

Sincerely, Mark.

mclements commented 1 month ago

I have added some changes to address the recent R check notes and warnings:

mclements commented 1 month ago

Devin: pkgdown is complaining about the documentation for CohortCtstm in ctstm.R. I can't see the error - would you be able to help here, please?

mclements commented 1 month ago

Some commentary on the implementation:

mclements commented 1 month ago

I have now fixed the pkgdown issue.

mclements commented 1 month ago

@dincerti, I have now added some tests for this. This is now ready for review -- although admittedly this is a larger pull request than initially anticipated.

mclements commented 1 month ago

Devin: