-------------------------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  /Users/seanfahle/Dropbox/BequestModel/REStud/REStudPublication/SSG_Code_REStud/Stata/Code/../Output/logs/HOME_LIQUIDATION_STAT
> ISTICS.txt
  log type:  text
 opened on:  30 Jun 2022, 16:57:43

. 
. * overall share of owning households who liquidate 
. tab homeliq [aw=rwtcrnh] if (ageEldest>=65 & ageEldest<. & hpickhh==1)

    homeliq |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 | 34,727.775       94.15       94.15
          1 | 2,158.2248        5.85      100.00
------------+-----------------------------------
      Total |     36,886      100.00

. /*
>     homeliq |      Freq.     Percent        Cum.
> ------------+-----------------------------------
>           0 | 34,727.775       94.15       94.15
>           1 | 2,158.2248        5.85      100.00
> ------------+-----------------------------------
>       Total |     36,886      100.00
> */
. // -> between adjacent core interview waves, among households with a member age 65+,
. //    average unconditional liquidation rate is 5.85%.
. 
. * share of liquidating households in which a member moves into a nursing home
. tab hhMemberEnterNH [aw=rwtcrnh] if (ageEldest>=65 & !mi(ageEldest)) & hpickhh==1 & homeliq==1

hhMemberEnt |
       erNH |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |  1,875.674       86.00       86.00
          1 | 305.325954       14.00      100.00
------------+-----------------------------------
      Total |      2,181      100.00

. /*
> hhMemberEnt |
>        erNH |      Freq.     Percent        Cum.
> ------------+-----------------------------------
>           0 |  1,875.674       86.00       86.00
>           1 | 305.325954       14.00      100.00
> ------------+-----------------------------------
>       Total |      2,181      100.00
> */
. 
. // 14% of all liquidations observed are coincident with a member moving into a nursing home.
. 
. 
. * probability of liquidation among owners who move into a nursing home
. tabstat homeliq [aw=rwtcrnh] if (ragey_b>=65 & ragey_b<.) & (L.rnhmliv==0 & rnhmliv==1), c(s) s(n mean)

    variable |         N      mean
-------------+--------------------
     homeliq |       720  .4321021
----------------------------------

. /*
>     variable |         N      mean
> -------------+--------------------
>      homeliq |       720  .4321021
> ----------------------------------
> */
. // hazard of liquidation at nursing home entry is 43%.
. 
. * close log
. cap log close
