Calculate the matrix W with all diagonal values as p(i).
is a list of predictions on each observation.
a character that determines the likelihood function.
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.