supreme_vacancy
    
    
    
      supreme_vacancy,
      a MATLAB code which
      estimates the probablity that, during a 4 year term, at least one of
      the Supreme Court justices will die, creating a vacancy.  A simple
      statistical model is used to create the probability of a person of
      given age and sex dying within a period of years.
    
    
      Licensing:
    
    
      The information on this web page is distributed under the MIT license.
    
    
      Languages:
    
    
      supreme_vacancy is available in
      a MATLAB version.
    
    
      Related Data and Programs:
    
    
      
      supreme_vacancy_test
    
   
      
      mortality,
      a dataset directory which
      lists mortality information for a single year,
      the age at death, number of deaths, male deaths and females deaths,
      for a total of 2,423,509 deaths,
      including 1,203,812 males and 1,219,697 females, 
      between the ages of 0 and 114.
    
    
      
      mortality,
      a MATLAB code which
      processes some sample mortality data.
    
    
      
      will_you_be_alive,
      a MATLAB code which
      carries out the probability simulations
      described in 'Will You Be Alive 10 Years From Now?',
      by Paul Nahin;
    
    
      Source Code:
    
    
      
        - 
          die_this_span.m,
          estimates the probability that a judge, currently
          alive, will die within a given span of years.
        
 
        - 
          die_this_year.m,
          estimates the probability that a person of given
          age and sex will die within one year.
        
 
        - 
          judge_age.m,
          returns the current age of a given judge.
        
 
        - 
          judge_birthday.m,
          returns the birthday of a given judge.
        
 
        - 
          judge_name.m,
          returns the first and last name of a given judge.
        
 
        - 
          judge_sex.m,
          returns the sex of a given judge.
        
 
        - 
          month_to_month_name.m,
          returns the full name of a month, given its index between 1 and 12.
        
 
        - 
          month_to_month_name3.m,
          returns the 3-letter abbreviation  of a month, given its index 
          between 1 and 12.
        
 
        - 
          vacancy_this_span.m,
          estimates the probability that there will be at least one
          judicial vacancy within a given span of years.
        
 
      
    
    
    
      Last modified on 22 January 2025.