Learn R Programming

rxode2ll (version 2.0.13)

llikT: Log likelihood of T and it's derivatives (from stan)

Description

Log likelihood of T and it's derivatives (from stan)

Usage

llikT(x, df, mean = 0, sd = 1, full = FALSE)

Value

data frame with fx for the log pdf value of with dDf

dMean and dSd that has the derivatives with respect to the parameters at the observation time-point

Arguments

x

Observation

df

degrees of freedom (\(> 0\), maybe non-integer). df = Inf is allowed.

mean

Mean for the likelihood

sd

Standard deviation for the likelihood

full

Add the data frame showing x, mean, sd as well as the fx and derivatives

Author

Matthew L. Fidler

Examples

Run this code

x <- seq(-3, 3, length.out = 21)

llikT(x, 7, 0, 1)

llikT(x, 15, 0, 1, full=TRUE)

Run the code above in your browser using DataLab