How is the p-value in --glm (GWAS) calculated?

93 views
Skip to first unread message

Monica Isgut

unread,
Jan 27, 2020, 7:23:02 PM1/27/20
to plink2-users

Hi,

Just a quick question - it is explained that the --glm function, for binary categorical data, is a univariate logistic regression algorithm that sequentially trains on each SNP. How does Plink calculate the p-values afterward (ex. chi-squared test)?

Thanks!

Christopher Chang

unread,
Jan 27, 2020, 8:31:55 PM1/27/20
to plink2-users
Plink's logistic regression p-value is based on a Wald test.

Ziang Zhang

unread,
Jun 27, 2025, 6:33:32 PM6/27/25
to plink2-users
Hi,

I would like to quickly follow up on this question - if we use the --glm to fit a logistic regression but with the 'genotypicmodifier, is the p-value of the 2 df joint test (e.g. "GENO_2DF") still computed based on the Wald test? 

Thank you!

Christopher Chang

unread,
Jun 28, 2025, 12:05:03 PM6/28/25
to plink2-users
From the 'genotypic' modifier documentation (https://www.cog-genomics.org/plink/2.0/assoc#genotypic ):

The 'genotypic' modifier adds a dominance-deviation column (heterozygous-A1 = 1, any other genotype = 0, linear interpolation applied to dosages; "0..1..0" for short) to G, and adds genotype + dominance-deviation joint F-test results to the main report; the test name is "GENO_2DF".

Ziang Zhang

unread,
Jun 28, 2025, 12:42:52 PM6/28/25
to plink2-users
Thank you for your response. I understand that "GENO_2DF" corresponds to a joint F-test when a linear regression (instead of logistic regression) is fitted. For --glm genotypic on a binary trait (which fits a logistic regression), how is that 2 df GENO_2DF test done? Is it using Wald, LRT or score test?

Chris Chang

unread,
Jun 28, 2025, 1:09:08 PM6/28/25
to Ziang Zhang, plink2-users
Wald test, where the p-value is computed from the appropriate F distribution.

--
You received this message because you are subscribed to the Google Groups "plink2-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to plink2-users...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/plink2-users/d95bdb91-8128-4e05-ab8e-f96987567acan%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages