f_lrt: likelihood ratio test

Description Usage Arguments Value Examples

View source: R/f_06_lrt.r

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
 lrt(fit1,fit2)

rERR documentation built on May 2, 2019, 11:10 a.m.

Related to f_lrt in rERR...