Likelihood ratio test for model selection using the Kullback-Leibler information criterion if(!exists(".Rdpack.currefs")) .Rdpack.currefs <-new.env();Rdpack::insert_citeOnly(keys="vuong1989likelihood",package="distributionsrd",cached_env=.Rdpack.currefs)
llr_vuong(x, y, np.x, np.y, corr = c("none","BIC","AIC"))
Arguments
x, y: vector of log-likelihoods
np.x, np.y: Number of paremeters respectively
corr: type of correction for parameters, defaults to none.
Returns
returns data frame with test statistic, p-value and character vector indicating the test outcome.