Start = stop times -- a question on duration and can duration be entered as floats #1430
              
                Unanswered
              
          
                  
                    
                      ocolluphid
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Can duration = 0 in the time-varying cox model? If not, are we allowed to pass a float (say 0.5) to split up the entries in long format? For example, let's say we have a time varying var (
timevar) that changes from 10 to 11 between periods 0 and 1 (start_time = 0andend_time = 1). The individual also dies at time period = 1. So if we apply the long format it would have t = 0 -> 1 fortimevar = 10and t = 1 -> 1 fortimevar = 11. Could we modify that to t = 0 -> 0.5 fortimevar = 10and t = 0.5 -> 1 fortimevar = 11instead?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions