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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—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
  • 673 views
  • 0 likes
  • 1 in conversation