Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using parallel command with competing risk model

    Dear Statalisters,

    I would like to use parallel command with stcrreg. However, I cannot access to stored coefficients with est sto. Can you please help me ? Here is the example code

    Code:
     
    use https://data.princeton.edu/pop509/justices2.dta, clear
    parallel setclusters 8, force
    stset tenure, fail(event == 1)
    parallel: stcrreg age year, compete (event == 2)
    est sto m1
    parallel print log

  • #2
    Item number 5 in the help file states that because parallel runs Stata in batch mode, estimation results will not be kept.

    Comment


    • #3
      oh okay thank you, so there is no way that I can keep the estimation results...

      Comment


      • #4
        Just a follow up question, how to run large datasets with competing risk framework ? I only got 1 iteration in 48 hours

        Comment


        • #5
          stcrreg reportedly runs very slowly. stcrprep is supposed to speed up the process but it can only be used with data with one observation per individual.
          https://www.statalist.org/forums/for...ns-very-slowly

          Comment

          Working...
          X