Dear Paul Lambert,

I have encountered the following error message after attempting to use the rmst option in stpm2_standsurv:

. stpm2_standsurv, at1(a_base 0) at2(a_base 1) timevar(t_rmst36) atvar(rmst_a0 rmst_a1) rmst

option meansurvwt() not allowed
stata(): 3598 Stata returned error
RMST_calcstand(): - function returned error
rmst_stand(): - function returned error
<istmt>: - function returned error
r(3598);

I have updated the versions of both stpm2 and stpm2_standsurv:

. which stpm2_standsurv
c:\ado\plus\s\stpm2_standsurv.ado
*! version 1.1.2 12Jun2018

. which stpm2
c:\ado\plus\s\stpm2.ado
*! version 1.7.5 May2021

Aany advice please?

thank you
Bianca