View source: R/OBREWeightsFun.R
OBREWeightsFun | R Documentation |
Function for computing OBRE weights. The function computes the score function for both parameters and build the score matrix. The score matrix is then modified using OBRE parameters A matrix and a vector and an euclidean norm is derived. The weights are finally found as the minimum between the normalized nCParOBRE and 1.
OBREWeightsFun(nvData, nTheta1, nTheta2, lDensityExpr, nCParOBRE, matA, nvA)
nvData |
The vector of data. |
nTheta1 |
The first parameter. |
nTheta2 |
The second parameter. |
lDensityExpr |
The list of symbolic expressions of density, cumulative and derivatives. |
nCParOBRE |
OBRE c parameter. |
matA |
OBRE matrix A. |
nvA |
OBRE vector a. |
A numeric vector containing OBRE weights.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.