强制治疗组在模型中保持,尽管统计学上不显著?

huangapple go评论59阅读模式
英文:

Forcing Treatment Group to Remain in Model Despite Statistical Insignificance?

问题

我试图在SAS中运行二元逻辑回归,寻找因变量(FRSTVACREC和CMPLTSRS)、处理组(对照组与治疗组)和协变量(GENDER AGE QAGE RESP RACEETH)之间的交互作用效应。协变量是根据以前的相关矩阵识别的。我正在尝试强制处理组变量TREAT保留在模型中,尽管它在统计上不显著,以查看TREAT与其他协变量对因变量的交互作用效应。以下是我的代码:

proc logistic data=work.hpvboys_pre_analysis_final plots=(oddsratio(cldisplay=serifarrow));
  class Treat / param=glm;
  model FRSTVACREC(event='1') = Treat GENDER AGE QAGE RESP RACEETH / clparm=wald link=logit lackfit technique=fisher selection=forward slentry=0.05 sle=0.10;
run;

proc logistic data=work.hpvboys_pre_analysis_final plots=(oddsratio(cldisplay=serifarrow));
  class Treat / param=glm;
  model CMPLTSRS(event='1') = Treat GENDER AGE QAGE RESP RACEETH / clparm=wald link=logit lackfit technique=fisher selection=forward slentry=0.05 sle=0.10;
run;

我如何强制TREAT保留在这个模型中?

一位高级统计学家建议我使用include语句来强制Treat保留,但我不认为语法允许这样做。尝试了前向和后向淘汰选择,但无法弄清如何手动强制其保留。

英文:

I am attempting to run a binary logistic regression in SAS, looking for interaction effects between the dependent variables (FRSTVACREC and CMPLTSRS), treatment groups (control vs treatment), and covariates (GENDER AGE QAGE RESP RACEETH). Covariates were identified using a correlation matrix previously. I am trying to force the treatment group variable TREAT to stay in the model despite it being statistically insignificant to see the interaction effects between TREAT and the rest of the covariates on the dependent variables. Here is my code:

proc logistic data=work.hpvboys_pre_analysis_final plots=(oddsratio(cldisplay=serifarrow));
  class Treat / param=glm;
  model FRSTVACREC(event='1') = Treat GENDER AGE QAGE RESP RACEETH / clparm=wald link=logit lackfit technique=fisher selection=forward slentry=0.05 sle=0.10;
run;

proc logistic data=work.hpvboys_pre_analysis_final plots=(oddsratio(cldisplay=serifarrow));
  class Treat / param=glm;
  model CMPLTSRS(event='1') = Treat GENDER AGE QAGE RESP RACEETH / clparm=wald link=logit lackfit technique=fisher selection=forward slentry=0.05 sle=0.10;
run;

How would I force TREAT to remain in this model?

A senior statistician recommended I use the include statement to force Treat to remain, but I do not believe the syntax allows for this. Tried forwards and backwards elimination selection, cannot figure out how to manually force it to stay.

答案1

得分: 2

设置INCLUDE=1并将要包含的变量放在MODEL语句中的第一个位置。然后你会在输出中看到类似以下的内容:

>每个模型顶部将包括以下效应:
>截距 TREAT

英文:

Set INCLUDE=1 and put the variable to include as the first in the MODEL statement. Then you'll see something like the following in your output:

>The following effects will be included in each model at the top:
>Intercept TREAT

huangapple
  • 本文由 发表于 2023年5月31日 23:00:50
  • 转载请务必保留本文链接:https://go.coder-hub.com/76374876.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定