Learn R Programming

countSTAR (version 1.0.2)

expectation_sqrt: Estimate the mean for a STAR process

Description

Estimate the conditional expectation for a STAR process under the square root link function.

Usage

expectation_sqrt(a, Jmax, Mu, sigma_t, Offset)

Value

Zhat T x m matrix of conditional expectations

Arguments

a

Jmaxmax-dimensional vector of STAR integers a_j

Jmax

T x m matrix of maximum integer values to consider

Mu

T x m matrix of latent means

sigma_t

T-dimensional vector of time-dependent latent error sd's

Offset

T x m matrix of offsets