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

Counting Process Parametric Fitter #1572

Open
RubyT336 opened this issue Oct 30, 2023 · 0 comments
Open

Counting Process Parametric Fitter #1572

RubyT336 opened this issue Oct 30, 2023 · 0 comments

Comments

@RubyT336
Copy link

I am looking to implement a counting process model within the custom parametric model functionality provided by ParametricRegressionFitter, Looking at some previous issues, there has been some talk around recurrent events but nothing yet implemented. Is that indeed the case?

I had a think about creating a CountingProcessParametricRegressionFitter that could do this which inherits from ParametricRegressionFitter. As far as I could tell, I would need to introduce a way to receive data in a (tstart, tstop, event) format, then alter the cumulative hazard/likelihood such that I (i) loop through each subject (ii) loop through a series of time-intervals and (iii) add each time/subject iteration to the cumulative intensity/cumulative hazard function. Any thoughts on this method?

Fishing for any tips here - any feedback much appreciated!

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