calc_ll_pg_splm: Log-likelihood for pg_splm() model for use in model selection

View source: R/calc_ll.R

calc_ll_pg_splmR Documentation

Log-likelihood for pg_splm() model for use in model selection

Description

this function generates the log-linkelihood for data fit using the pg_splm() function. The log-likelihood can be used for model selection and evaluation.

Usage

calc_ll_pg_splm(Y, X, out)

Arguments

Y

is a n x J matrix of compositional count data.

X

is a n x p matrix of climate variables.

out

is a list of MCMC outputs from pg_splm()


jtipton25/pgR documentation built on July 8, 2022, 12:44 a.m.