Likelihood ratio test

lrt(model1, model2, data, par1, par2, dof = NULL, ...)

Arguments

data

the data which the likelihood models are fitted to

dof

degrees of freedom

...

additional arguments

null

the null (simpler) likelihood model

alt

the more complicated model

null_par

parameters for null model

alt_par

parameters for alternative model

Value

likelihood ratio test