Entering edit mode
5.5 years ago
alioniya
•
0
I tested two models and one is nested inside another. Nested model has 2 parameters and the bigger model has 4. I got the ln likelihood of each models. I know how to calculate the P value using twice the difference of ln likelihoods, since twice the difference of ln likelihoods is following chi square distribution with degree of freedom equal to the difference in the number of parameters between the two models.
How can I calculate z-value from chi-squre distribution with 2 df? I need z-values for further meta-analysis using METAL https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2922887/
Perhaps this will help to guide you: A: SNP dataset and Z Score
As I understand, METAL takes p-values as input and uses them to derive a z-score so I am not sure what you're after.