Learn R Programming

ForLion (version 0.1.0)

nu_probit_self: function to calculate w = nu(eta) given eta for probit link

Description

function to calculate w = nu(eta) given eta for probit link

Usage

nu_probit_self(x)

Value

diagonal element of W matrix which is nu(eta)

Arguments

x

vector of eta, eta=X*beta

Examples

Run this code
eta = c(1,2,3,4)
nu_probit_self(eta)


Run the code above in your browser using DataLab