Last data update: 2014.03.03

R: Log-Likelihood of Time Series Model.
tsloglR Documentation

Log-Likelihood of Time Series Model.

Description

This function is intended for internal use only. It calculates the log-likelihood function of a time series of normally distributed data for use in the q1q2l (via dcvts, dsvts or drvts)

Usage

tslogl(bug, ymean, sigma)

Arguments

bug

A BUGS model created in the tsbugs package.

ymean

Mean value of y over time for each set of simulated parameter values.

sigma

Standard deviation of y over time for each set of simulated parameter values.

Author(s)

Guy J. Abel

See Also

q1q2l, dcvts, dsvts,drvts

Results