Description Usage Arguments Details Value Author(s)
Calculate the matrix W with all diagonal values as p(i).
1 |
pi |
is a list of predictions on each observation. |
family |
a character that determines the likelihood function.
If |
It is a partial computation for Hessian Matrix (second derivative). If the Hessian Matrix is H=XWX^T, the W matrix is W = P_i(1-P_i).
the W matrix
Paula R. Costa e Silva
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.