You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have a few thoughts about improving the vignette data_simulation.Rmd file for your consideration.
add some texts to explain how to convert median survival time to lambda in the create_event_dist function. It would be something like lambda is equal to log(2)/median survival time, e.g., if survival time is equal to 24 months, lambda is set to be log(2)/24.
Using a cutoff value to dichotomize a continuous variable to a binary variable is not needed since it is pretty straightforward for users to do it instead.
I just noticed that you have introduced enrollment_constant function in earlier sections so I think the additional texts are not needed then.
The text was updated successfully, but these errors were encountered:
Hi, I have a few thoughts about improving the vignette data_simulation.Rmd file for your consideration.
add some texts to explain how to convert median survival time to lambda in the
create_event_dist
function. It would be something like lambda is equal to log(2)/median survival time, e.g., if survival time is equal to 24 months, lambda is set to be log(2)/24.psborrow2/vignettes/data_simulation.Rmd
Line 213 in 5123a8c
remove the lines associated with external control in the section " Using fixed external data"
psborrow2/vignettes/data_simulation.Rmd
Lines 582 to 600 in 5123a8c
only count the number of events for
cut_off_after_events
described in cut off after events #279psborrow2/R/simulate_data.R
Line 328 in 5123a8c
Using a cutoff value to dichotomize a continuous variable to a binary variable is not needed since it is pretty straightforward for users to do it instead.
I just noticed that you have introduced
enrollment_constant
function in earlier sections so I think the additional texts are not needed then.The text was updated successfully, but these errors were encountered: