Description Usage Arguments Value Author(s)
Pseudo-likelihood for a set of observations of Z_d and Z_a
1 |
Z |
an n x 2 array; Z[i,1], Z[i,2] are the Z_d and Z_a scores respectively for the ith SNP |
pars |
vector containing initial values of pi0,pi1,tau,sigma1,sigma2,rho. |
weights |
SNP weights to adjust for LD; output from LDAK procedure |
sumlog |
set to TRUE to return the (weighted) sum of log pseudo-likelihoods for each datapoint; FALSE to return a vector of pseudo-likelihoods for each datapoint. |
C |
scaling factor for adjustment |
value of pseudo- log likelihood of all observations (if sumlog==TRUE) or vector of n pseudo-likelihoods (if sumlog==FALSE)
James Liley
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.