KS statistic for proportional odds rate model

Share:

Description

Kolmogorov-Smirnov type test statistic for the goodness-of-fit test of the proportional odds rate model

Usage

1
ks.stat(x, y)

Arguments

x,y

Vectors containing the data values of the two samples x1,...,xm and y1,...,yn.

Details

See the reference below.

Value

ks

KS statistic for proportional odds rate model

theta

estimated proportionality parameter θ by mrle.sporm

Author(s)

Zhong Guan <zguan@iusb.edu>

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

ks.sporm

Examples

1
2
3
4
5
# Use radar tube life data
z<-RadarTube$Days
v<-RadarTube$Type
x<-z[v==1]; y<-z[v==2]
ks.stat(x,y)