cplhood: Conditional pseudo-likelihood for a set of observations of...

Description Usage Arguments Value Author(s)

View source: R/fit.3g.R

Description

Conditional pseudo-likelihood for a set of observations of Z_d and Z_a. Objective function for fit.cond

Usage

1
cplhood(Z, pars, weights = rep(1, dim(Z)[1]), C = 1)

Arguments

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

C

scaling factor for adjustment to ensure model identifiability

Value

value of pseudo- log likelihood of all observations (if sumlog==TRUE) or vector of n pseudo-likelihoods (if sumlog==FALSE)

Author(s)

James Liley


jamesliley/subtest documentation built on May 18, 2019, 11:21 a.m.