User:Timothee Flutre/Notebook/Postdoc/2011/06/28
From OpenWetWare
< User:Timothee Flutre  Notebook  Postdoc  2011  06
Project name  Main project page Next entry 
Simple linear regression
In matrix notation: y = Xθ + ε with ε˜N_{N}(0,σ^{2}I_{N}) and θ^{T} = (μ,β) Most importantly, we want the following estimates: , (its standard error) and . In the case where we don't have access to the original data (eg. because genotypes are confidential) but only to some summary statistics (see below), it is still possible to calculate the estimates. Here is the ordinaryleastsquare (OLS) estimator of θ:
Let's now define 4 summary statistics, very easy to compute:
This allows to obtain the estimate of the effect size only by having the summary statistics available:
The same works for the estimate of the standard deviation of the errors:
We can also benefit from this for the standard error of the parameters:
