mtag icon indicating copy to clipboard operation
mtag copied to clipboard

Some question about n

Open 123569 opened this issue 6 years ago • 6 comments

In the two sample files 1_oa2016_hm3samp_neur.txt and 1_oa2016_hm3samp_swb.txt you gave me, I don't know exactly how to get the N value, and I still don't fully understand it after reading relevant literature. Can you give me an example of where the N values in these two files come from? This is the N value is the population sample size or the SNP sample size?

123569 avatar Jan 02 '19 11:01 123569

Hi @123569 ,

Please find the following quote from the wiki page here:

We demonstrate the use of mtag with GWAS results on neuroticism and subjective well-being from Okbay et. al. (2016). We use a subset of the original GWAS results from a random subsample of SNPs found in Hapmap3. The neuroticism and subjective well-being data summary statistics can be found here and here.

Hope this answers your question!

Best, Hui

huilisabrina avatar Jan 07 '19 23:01 huilisabrina

I'm stuck too @huilisabrina. So can we say that N is the total sample size?

som-soremekun avatar Jun 04 '20 00:06 som-soremekun

Hi,

I'm a bit confused by your question. In MTAG, N should correspond to the effective sample size. For quantitative traits analyzed with ordinary least squares, it would be total sample size.

On Wed, Jun 3, 2020 at 8:47 PM Somyjay [email protected] wrote:

I'm stuck too @huilisabrina https://github.com/huilisabrina. So can we say that N is the total sample size?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/omeed-maghzian/mtag/issues/60#issuecomment-638534273, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFBUB5MFAFUACXCMHSAWLYDRU3VJTANCNFSM4GM2AI3A .

paturley avatar Jun 09 '20 12:06 paturley

Hi,

Can I ask if it is case-control study using logistic regression, how to calculate the effective sample size? Is that simply to sum the number of case and control?

Thanks in advance, Feifei

FEIFEI502 avatar Oct 08 '20 00:10 FEIFEI502

I believe the standard formula is 4N_casesN_controls/(N_cases + N_controls). This paper might be useful to you. https://www.nature.com/articles/ejhg2016150/

On Wed, Oct 7, 2020 at 8:39 PM FEIFEI502 [email protected] wrote:

Hi,

Can I ask if it is case-control study using logistic regression, how to calculate the effective sample size? Is that simply to sum the number of case and control?

Thanks in advance, Feifei

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/JonJala/mtag/issues/60#issuecomment-705265261, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFBUB5JM4KRS4TDHYH2VF4LSJUC3XANCNFSM4GM2AI3A .

paturley avatar Oct 08 '20 14:10 paturley

Thanks for your answer, that is really helpful.

FEIFEI502 avatar Oct 09 '20 04:10 FEIFEI502