Learn R Programming

sporm (version 1.1.1)

grad.hessinv: Internal function of package "sporm"

Description

Calculate gradients and the inverse of the Hessian matrix of the loglikelihood.

Usage

grad.hessinv(theta, p, r)

Arguments

theta

Initial value for proportionality parameter \(\theta\).

p

Initial value for probability masses \(p_1,\ldots,p_N\) of the discretized baseline distribution \(F\).

r

vector of ranks of \(y_1,\ldots,y_n\) in the pooled sample \(x_1,\ldots,x_m, y_1,\ldots,y_n\)

Value

H

gradients of the loglikelihood

Ainv

the inverse of the Hessian matrix

%% ...

Details

See the reference below.

References

Zhong Guan and Cheng Peng (2011), "A rank-based empirical likelihood approach to two-sample proportional odds model and its goodness-of-fit", Journal of Nonparametric Statistics, to appear.

See Also

mrle.sporm, ks.sporm.