BookmarkSubscribeRSS Feed
Ivy
Quartz | Level 8 Ivy
Quartz | Level 8

Hello, 

Under weight statement, what kind of weight can be put in ?

Dose the weight only allow IPW(inverse probability of treatment weights) or any kind of weight from the weighting method such as entropy balance, propensity score matching ?

https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_lifetest_syntax08.htm

 

proc lifetest data=VALung ;
   time SurvTime*Censor(1);
   strata Cell;
   weight ????  ;
run;

Thank you!

 

 

 

2 REPLIES 2
ballardw
Super User

From the documentation of the Weight statement for Proc Lifetest:

The implementation of weights in PROC LIFETEST is based on Xie and Liu (2005, 2011), who use inverse probability of treatment weights to reduce confounding effects. A weight is assigned to each subject as the inverse probability of being in a certain group. If a subject has a higher probability of being in a group, it is considered as overrepresented and is therefore assigned a lower weight; on the other hand, if the subject has a smaller probability of being in a group, it is considered as underrepresented and is assigned a higher weight.

 

So it appears that only IPW is expected.

 


@Ivy wrote:

Hello, 

Under weight statement, what kind of weight can be put in ?

Dose the weight only allow IPW(inverse probability of treatment weights) or any kind of weight from the weighting method such as entropy balance, propensity score matching ?

https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_lifetest_syntax08.htm

 

proc lifetest data=VALung ;
   time SurvTime*Censor(1);
   strata Cell;
   weight ????  ;
run;

Thank you!

 

 

 


 

OsoGris
SAS Employee
I think IPW weights are common but you should be able to use any WEIGHT value you desire. Note that the WEIGHT stmt only applies to Method=KM.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 430 views
  • 0 likes
  • 3 in conversation