betaor,se,p,zscore换算总结帖(20211014更新)

水泥砂浆
betaor,se,p,zscore换算总结帖(20211014更新)对GWAS的summary⽂件进⾏整合时,经常需要在beta,or, se, p, zscore之间进⾏换算,故在此总结⼀下。希望对⼤家有帮助。
1. se 计算
润叶1.1 有 beta、p ,计算se;
se=sqrt(((beta)^2)/qchisq(p,1,lower.tail=F))
1.2 有 or、p ,计算se;
se=abs(log(or)/qnorm(p/2))
2. zscore计算
2.1 有 beta、p ,计算zscore;
c=-qnorm(p/2)
情况1:beta > 0,zscore = c
情况2:beta < 0,zscore = -c
2.2 有 or、p ,计算zscore;
c=qnorm(1-p/2)
情况1:or > 1,zscore = c
情况2:or < 1,zscore = -c
2.3 有 beta、se ,计算zscore;
zscore=beta/se
2.4 有 or、se ,计算zscore;
zscore=log(or)/se
注意:这⾥的se指的是log(or)的se,plink给出的se就是默认log(or)的se
3 beta 和 OR 的转换
beta to OR:阀体铸造
Beta = log(OR)
OR to beta:
OR = exp(beta)
Assuming the confidence interval being used is 95%,the upper and lower bounds for the OR:
upper bound of OR = OR + se(OR) x 1.96
lower bound of OR = OR - se(OR) x 1.96
Log(upper bound of OR) = upper bound of beta
Log(lower bound of OR) = lower bound of beta
upper bound of beta = beta + se(beta) x 1.96
酿酒酵母lower bound of beta = beta - se(beta) x 1.96
If you have the 95% C.I of beta, then calculating the SE(beta) is quite simple!
for example if beta = 0.5 and the upper C.I is 0.6 then
upper C.I of beta = beta + se(beta) x 1.96
0.6 = 0.5 + se x 1.96儒林外史的讽刺艺术
>宜黄高速

本文发布于:2024-09-22 09:29:30,感谢您对本站的认可!

本文链接:https://www.17tex.com/xueshu/351065.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:总结   需要   默认   阀体   酿酒   讽刺
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2024 Comsenz Inc.Powered by © 易纺专利技术学习网 豫ICP备2022007602号 豫公网安备41160202000603 站长QQ:729038198 关于我们 投诉建议