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

Definition of n.event and n.censor ? #49

Closed
ddsjoberg opened this issue Jan 2, 2022 · 2 comments · Fixed by #50
Closed

Definition of n.event and n.censor ? #49

ddsjoberg opened this issue Jan 2, 2022 · 2 comments · Fixed by #50
Milestone

Comments

@ddsjoberg
Copy link
Collaborator

In the figure below (from visR), the n.event and n.censor are reported below the figure. I am not 100% certain what the definition is, however. My guess is that it's the number of events that occurred in the interval. For example, were there 4 events in the interval (0, 20] and 2 events in the interval (20, 40] in the placebo group? If that is correct, should we update our n.event and n.censor definitions when tidy.ticycuminc(x, times = time_vec) is called with a non-NULL time argument?

image

@tengfei-emory
Copy link
Collaborator

Will investigate this later. I think there should be some quick modifications to get the above numbers.

@tengfei-emory
Copy link
Collaborator

Just created a new branch named "interval.event". The tidycuminc function in that branch will return the number of events and censored observations in customized time intervals given by times. In output the two quantities are named interval.event and interval.censor but we can rename them, or replace n.event and n.censor with them.

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 a pull request may close this issue.

2 participants