Question: How to include interaction in logistic model using plink
gravatar for lucia
4.2 years ago by
lucia0 wrote:

I tried using the flag --interaction with --logistic but it always gets deprecated in plink. An err msg says using --linear interaction but that does not work for logistic regression. Anyone knows how to include interaction between phenotype and covariates in additive logistic models using plink?

plink gwas • 2.8k views
ADD COMMENTlink modified 4.2 years ago by Philipp Bayer6.8k • written 4.2 years ago by lucia0
gravatar for Philipp Bayer
4.2 years ago by
Philipp Bayer6.8k
Philipp Bayer6.8k wrote:

If I understand correctly (using PLINK2)

plink --logistic genotypic interaction --file your_file etc.

so without the --

Example from the manual:

plink --bfile mydata --linear genotypic interaction --covar tmp.cov --parameters 1-4, 7
ADD COMMENTlink written 4.2 years ago by Philipp Bayer6.8k

You are right. It works w/o '--'. Thx!

ADD REPLYlink written 4.1 years ago by lucia0
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1660 users visited in the last hour