Learn R Programming

sporm (version 1.1.1)

elltheta: Internal function of "sporm"

Description

Calculating profile loglikelihood for given \(\theta\)

Usage

elltheta(theta, p0, r, tol=1e-7, maxit=500)

Arguments

theta

The given \(\theta\) value

p0

Initial values 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\)

tol

Convergence tolerance used in the Newton iteration

maxit

The maximum number of Newton iterations.

Value

ell

the profile loglikelihood

p

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

%% ...

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

ell.theta, mrle.sporm.