LRT: Likelihood ratio test for two nested PO2PLS fits

View source: R/PO2PLS_output.R

LRTR Documentation

Likelihood ratio test for two nested PO2PLS fits

Description

Perform a likelihood ratio test to compare two nested fits from a PO2PLS model.

Usage

LRT(fit, fit0, digits = 3, ...)

## S3 method for class 'po2m'
LRT(fit, fit0, digits = 3, ...)

Arguments

fit

A PO2PLS fit of class po2m

fit0

A second PO2PLS fit of class po2m

digits

Number of decimals to output

...

For consistency

Value

The chi-square statistics (2 times the difference in log-likelihood), the degrees of freedom and the p-value of the comparison.


selbouhaddani/PO2PLS documentation built on Feb. 23, 2024, 5:25 a.m.