BookmarkSubscribeRSS Feed
joba
Calcite | Level 5

PSMATCH help is needed

 

I have a data set where "pregnancy" is the treatment. As it is a time-dependent variable I would like to know if anybody knows whether this is applicable to psmatch. My data setup is the following: The baseline date is the date of diagnosis where none of the included women have children - then some have children later on and others do not. At baseline there are the usually variables I would like to include in my ps score. The case is this: Women X has a child at day 132 after diagnosis - she needs a match with someone without a child at this day or later on to avoid conditioning on the future as I would if I did it by logistic regression based on "pregnancy at baseline" - as this only happens after baseline - and at different timepoint furthermore. 

 

I can make proc phreg make a ps_score using the xbeta command including the time-dependent nature of the pregnancy - but then I am lacking all the plots of the variables that I mostly appreciate. I do have a ps_score and the day of the pregnancy eg. 132 from the ph reg if that is applicable somehow into psmatch procedure?

 

Does anybody knows how to fix this problem - if possible? 

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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
  • 0 replies
  • 488 views
  • 0 likes
  • 1 in conversation