Calculating area under the survival curve. #1406
              
                
                  
                  
                    Answered
                  
                  by
                    CamDavidsonPilon
                  
              
          
                  
                    
                      guilhermelac001
                    
                  
                
                  asked this question in
                Q&A
              
            -
| Hi! I am doing a project where I need to know the area under the curve between 2 points in time for a survival curve. I know that restricted_mean_survival_time can compute that for 0 to an upper bound, but I didn't find any method that does the same operation with a lower and upper bound. Is there anything that does just that? | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            CamDavidsonPilon
          
      
      
        Mar 24, 2022 
      
    
    Replies: 1 comment 1 reply
-
| I haven't checked this, but maybe try  | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
      Answer selected by
        CamDavidsonPilon
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
I haven't checked this, but maybe try
restricted_mean_survival_time(t) - restricted_mean_survival_time(s)for the area in the interval[s,t]- make sense?