Hi,
I am using plink2 to run the logistic regression for X chromosome. The sex information was saved in the .fam file. When I put sex in the covariate file, and run plink2 by plink2 -bfile -covar -covar-name sex,age,pc1… -logistic cold=+alfreq, +machr2, +beta hide-covar -covar-variance-standardize -out, it shows me the high correlation and the redundant Sex information. When I remove sex from covariate file, the error disappears. My question is: does plink2 automatically apply sex information from .fam file as a covarible even there is no sex in covariate file when run the data of X chromosome?
Thank you in advance.