f_lrt: likelihood ratio test

Description Usage Arguments Value Examples

Description

function that thtat compute the lrt test for a nested and a nesting models

Usage

1
f_lrt(fit1, fit2)

Arguments

fit1

the nested model

fit2

the nesting model

Value

a list containing the lrt statistic and the corresponding p_value from the Chi-square test

Examples

1
## Not run:  lrt(fit1,fit2)

fbr600/rERR documentation built on May 7, 2019, 9:36 a.m.