Hi all,
I am a medical student attempting to use STATA MP 16.1 to create adjusted KM curves.
I was able to create a graph with two unadjusted KM curves (sts graph, by(THERAPYSEQ)). I then ran a stcox using THERAPYSEQ (the endpoint) and all the confounding variables (13 in total). The unadjusted KM analysis suggests there is a significant difference between the two therapy sequences, but the adjusted cox regression says otherwise, as expected. However, when I use the command "sts graph, by (TNTSEQ) adjust(13 confounding variables)" the graph still shows that the two therapy sequences are significantly different.
Am I using the wrong command? The 13 confounding variables are inside the parentheses, all separated by a space, and their median values are all recoded to 0. I would really like to create a graph with this information for my upcoming poster session, and would like to have clarification that I am presenting accurate data.
Thank you in advance!
Related Posts with Help with adjusted kaplan meier curves
How can I convert Variable names into the value of a new variable - in Stata?Dear All, I have a dataset that looks like this: year a b c ... 2000 value value value 20…
Age calculated from months and yearsHi, I know that many questions have been posted about working with dates in Stata. I have not been …
I want to regress the cumulative returns for each month, using*the most recent available data for all other variables.This is what my data looks like for one particular stock with the id 10104 (id variable is PERMNO): …
Suest after a list?Dear all I have a list of coefficient and standard error averages (following my previous post 15766…
<istmt>: 3499 control(), mata function, not found... an error occurred when simulate executed cfsimuI have written the following do file to conduct some Monte Carlo simulation. However, for some reaso…
Subscribe to:
Post Comments (Atom)
0 Response to Help with adjusted kaplan meier curves
Post a Comment