After I used a Cox Regression model to analyse a relation between DNA
genotypes (like; BB, Bb, bb) and the development of a certain disease,
I want to see if there is a trend.
My dependant variable is binominal (yes disease/no disease) and my
independant variables are coded like 0, 1, 2.
Does anybody know which regression analysis I have to perform to get
my P for trend?
I hope anybody can help,
S. Flohil
One of the contrast types available in COXREG is POLYNOMIAL. This
will give you the linear and quadratic trends. Is that what you had
in mind?
To see all of the available contrast types, search the help files for
<COXREG (command), CONTRAST subcommand>.
--
Bruce Weaver
bwe...@lakeheadu.ca
http://sites.google.com/a/lakeheadu.ca/bweaver/
"When all else fails, RTFM."
Well, I thought I could calculate the p, trend by using chi-square.
Then I will found my p, trend in the table at the linear-by-linear
association. Is that correct?
If you did that, you'd be analyzing whether the event occurred or not,
but would be omitting time-to-event; and I think you'd be looking at
the linear trend only. If you use the polynomial contrast in COXREG,
you keep the time-to-event information, and can examine both the
linear and quadratic trends.
--
Bruce Weaver
bwe...@lakeheadu.ca
Thank you for your respons. I understand what you're saying. So, I did
the Cox regression analysis again, but this time I used the polynomial
contrast...
The hazard ratio's (ExpB) I found now, don't differ from those I found
when I calculated with the Cox regression analysis without the
polynomial contrast.
So..if I calculate my P trend like you suggested it.. my p-value for
trend is the exact same as my p-value I calculated with the Coxreg
without polynomial contrast.;
is that correct?
Thank you in advance
Mmh, I think I see what I did wrong. I didn't change from indicator to
polynomial contrast correct. But I do see one problem with the Coxreg.
I changed my reference point from last to first when I first started
calculating hazard ratio's. But now, when I change indicator to
polynomial contrast, I can't change my reference point anymore. So I
can't compare the results properly. Does anyone have a solution for
that?
Thank you