第二,线性趋势在哪里呢?方差分析—“对比”—多项式、线性,The test for trend was performed with a polynominal contrast procedure, 结果是P=0.008, 具有统计学差异。有点神奇吧?方差分析没有统计学差异,而在趋势性检验中却有统计学差异,这对于有些研究来说,是一个极好的方法。
卡方分析结果中,有个“线性关联”(spss 25 版本),这个就是卡方趋势性检验,P=0.002,说明存在着剂量反应关系。四、Cochran-Armitage 趋势性检验关于卡方趋势检验,很多在问,上述做得卡方趋势检验是Cochran-Armitage,不是的。Cochran-Armitage趋势性检验(CATT),是以William Cochran(1954)和Peter Armitage(1955)的名字来命名的,可用来评估一个二分类变量和一个有序分类变量之间的关联性,即R×2列联表资料,因此又称趋势性卡方检验。组变量为有序变量,至少分为三类,结局变量为二分类指标 维基百科对CATT的解释:The Cochran–Armitage test for trend,named for William Cochran and Peter Armitage, is used in categorical data analysis when the aim is to assess for the presence of an association between a variable with two categories and an ordinal variable with k categories. 本文第三点做的卡方趋势检验,其实是Linear-by-Linear Association (LLA)。那么,两者的区别在哪?SPSS软件的Cochran-Armitage趋势检验究竟如何操作?两者是有所区别的,下面看看来自SPSS软件公司的答复:“The linear by linear association chi^2 statistic in CROSSTABS is one version of a trend test. A logistic regression is another option.SPSS doesn't offer specifically the Cochran-Armitage trend test, which is based on a linear probability model rather than a linear logistic model, but running a linear regression will produce a p-value that's reasonably close to what you'd get if you went to the trouble of calculating that statistic.”这段文字的意思就是SPSS尚不提供Cochran-Armitage趋势检验,不过呢,Linear-by-Linear Association可以得到近似的结果。CA趋势检验在SAS与R中能够实现 SAS代码proc freq;table row*col /trend;weight n;run; R代码library(CATT)tbl=matrix(c(50,30,40,40,30,50),ncol=3)CATT(table=tbl)我认为无论是Linear-by-Linear Association,还是Cochran-Armitage,两种方法都是可以采用的,只要在文章中指明用的是什么方法就好,它们都可以得到线性趋势的统计结论。五、总结 别看趋势检验一般不是不是医学统计学课程内容,但是如果你们注意看,高质量的SCI收录论文,凡是实验组别存在着剂量梯度或暴露水平梯度的,都会求一个Ptrend值。希望各位聚焦下。