Fei-Fei Cheng Blog

Thinking will not overcome fear but action will.

Basic of probability

Statistics

Unions, Intersection, Complement Conditional Probability correlation, the postive one and the negative one (mutually exclusive events). Independent Events Independent doesn’t mean there is n...

R packages

GWAS

(ROCR tutorial)[https://www.r-bloggers.com/a-small-introduction-to-the-rocr-package/] prediction=list(data[1:16517,”SCORESUM”],data[16518:(165172),”SCORESUM”],data[(165172+1):(165173),”SCORESUM”],d...

Heritability

GWAS

heritability Jencks Critique Genes may inflence outcomes through mechanisms that are modifiable: by evoking environmental responses by causing people to select into environments #twin study twin ...

Power calculation

GWAS

drawbacks of low power uninformative, wrong signals and exaggeratef effect sizes (winner’s curse) using photo to visualize it bayes’ rule alpha: false positive, type I error beta: false negati...

Proof record

mathematics

covariance formula variance addition sampling variance (standard error) & variance var(X)=E(X-mean(X))^2 X’=sampling N from X SEM=var(X’-mean(X’)) mean(X’-mean(X’))=0 var(X’-mean(X’))=...

The nature of nurture: Effects of parental genotypes Augustine Kong1,2,3,, Gudmar Thorleifsson1, Michael L. Frigge1, Bjarni J. Vilhjalmsson4,5, Alexander I. Young1,2,6, Thorgeir E. Thorgeirsson1, ...

Programming improvement

Learn from Huanwei's script

#Rcheatsheets fread library(data.table) Similar to read.table but faster and more convenient. ans <- flights[origin == "JFK" & month == 6L] column can be referred to as if they are vari...

Interesting Blogs

in genetics

Alexander I. Young postdoctoral researcher in statistical genetics at the Big Data Institute, University of Oxford, working with Augie Kong.

UQ photography

lovely UQ

沿着UQ跑步,偶遇“歪头杀”。 该是怎样的力学结构,能撑起整个马路的树荫。

明朝那些事儿

Ming dynasty

王振 书中说能在每一件事上犯错误的人也是不容易的,其实想想,如果不在同个体系的学问,按照自己的倾向来选择,往往更倾向于错误的答案。 于谦 从文将到武将,以一己之力稳定军心,稳定百官,挽救明朝。 从小以文天祥为榜样,虽然是文官,也不乏读读兵书。 在百官打死余党后,要求皇帝及时免罪,能想到做事的后果并提早作出预防措施。能用城府帮助别人的人,及时解围王直要求朱祁镇回来的窘境。这大概是非常...