Description Usage Arguments Details Value Author(s) References See Also Examples
Optional initial θ value for mrle.sporm
based on uniform (0, 1) baseline distrbution
and calculated by Newton method.
1 | newton.theta(y, theta0 = 1, maxit = 100, eps = 1e-10)
|
y |
The y-sample in proportional odds rate model with uniform (0,1) baseline distrbution. If baseline F is not uniform (0,1) or unknown, use y^*_i=F_n(y_j), j=1,...,n, where F_n is the empirical cdf of x1,...,xm. |
theta0 |
an initial value of θ |
maxit |
The maximum number of Newton iterations. |
eps |
Convergence tolerance used in the Newton iteration |
See the reference below.
Returns the proportionality parameter θ of the parametric proportional odds rate model with Uniform(0,1) baseline by Newtom method.
Zhong Guan <zguan@iusb.edu>
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.
1 2 3 4 | theta<-2
u<-runif(30)
y<-u/(theta-(theta-1)*u)
newton.theta(y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.