I'm trying to analyze dose-response using trend anlysis in SAS.
In 2*2 table analysis, we can use Mantel-haenszel test with
However, several study presents p trend with multivariate model anlaysis, which Mantel-haenszel test can't be applied.
For example, (Bruno et al, 2007) studied eGFR(kidney function) effects on mortality. They adjusted age, sex and etc.
In this stuided, they said "We tested for linear trends across categorical variables by entering a single ordinal term into the Cox regression model."
In this study, which using SAS software, the p trend was used for multivariate analysis.
As far as I know, there is no way to define independent variable as ordinal categorical variable in
How they managed to do it?
Did they just coded it as continuous variable and put it in model?
If question 2 is right, it is easy to generate any model with over-fitting or GAM model. But, it is problem. Do I have to make model with only linear equation?