SO.LRT {CorrBin}  R Documentation 
SO.LRT
computes the likelihood ratio test statistic for stochastic
ordering against equality assuming marginal compatibility for both
alternatives. Note that this statistic does not have a
\chi^2
distribution, so the pvalue computation is not
straightforward. The SO.trend.test
function implements a
permutationbased evaluation of the pvalue for the likelihoodratio test.
SO.LRT(cbdata, control = soControl())
cbdata 
a 
control 
an optional list of control settings, usually a call to

The value of the likelihood ratio test statistic is returned with two attributes:
ll0 
the loglikelihood under 
ll1 
the loglikelihood under 
Aniko Szabo
data(shelltox)
LRT < SO.LRT(shelltox, control=soControl(max.iter = 100, max.directions = 50))
LRT