cpdist: Compare different distributions for their fits to the data.

Description Usage Arguments Value Examples

View source: R/dd.cpdist.R

Description

Compare different distributions for their fits to the data.

Usage

1
cpdist(m1, m2, output = F)

Arguments

m1

Fitted model on the left hand side of the function

m2

Fitted model on the right hand side of the function

Value

If output = F, returns two-sided and one-side p-values. If output = T, returns the complete output of Vuong's test.

Examples

1
2
3
cpdist(model.pl, model.ln, output = F)
cpdist(model.pl, model.ex, output = F)
# see vignette for explanations on how to interpret the p-values of Vuong's test.

csqsiew/langnetr documentation built on May 14, 2019, 10:37 a.m.