dppi | R Documentation |
Compute the natural logarithm of the improper density for the PPI model for the given matrix of measurements Y
. Rows with negative values or with a sum that differs from 1
by more than 1E-15
are assigned a value of -Inf
.
dppi(Y, ..., paramvec = NULL)
Y |
A matrix of measurements in the simplex. Each row is a multivariate measurement. |
... |
Arguments passed on to
|
paramvec |
The PPI parameter vector, created easily using |
The value calculated by dppi
is
z_L^TA_Lz_L + b_L^Tz_L + \beta^T \log(z),
where z
is the multivariate observation (i.e. a row of Y
), and z_L
omits the final element of z
.
Other PPI model tools:
ppi()
,
ppi_param_tools
,
ppi_robust()
,
rppi()
m <- rppi_egmodel(10)
dppi(m$sample, paramvec = m$theta)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.