Description Usage Arguments Details Value Author(s)
Computes the likelihood of observed Z_a.
1 |
za |
one dimensional vector of Z_a scores |
pars |
vector of parameters ( |
weights |
LDAK weights corresponding to Z_a |
C |
scaling factor for adjustment |
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. |
Used for establishing how much of a likelihood ratio is because Z_a is better-fitted by a three-Gaussian model than a two-Gaussian model. Strictly, calculates the expected value of PL(Z_d,Z_a) when Z_d has uniform unit variance, and the parameter values tau
, rho
are set to 1, 0 respectively.
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.