pred_iPoiss: Predict from an independent Poisson model

Description Usage Arguments Value See Also

Description

This function predicts based on the estimation of the independent Poisson model train_iPoiss.

Usage

1
pred_iPoiss(tr_fa, gp_test, test)

Arguments

tr_fa

An object resulting from train_iPoiss().

gp_test

vector. Groups for each observation in the test set.

test

data frame. Test data set for evaluation.

Value

A list.

predictions

A numeric vector of predictions for all observations in the test set.

log_lik

A numeric vector of log-likelihoods for all observations in the test set.

See Also

train_iPoiss


gregorp90/RStan-package-test documentation built on May 26, 2019, 1:32 a.m.