dich_r_logistic: Logistic-distribution-based likelihood function for...

Description Usage Arguments Details

View source: R/loglik_functions.R

Description

Likelihood function to use with xregControl

Usage

1
dich_r_logistic(d_df, theta_est = 0, omega_est = 0, internal_id = 0)

Arguments

d_df

data.frame provided by xreg.

theta_est

Subsequent parameters define required formulas to genrete necessary variables, such as standard deviations. If these are not manually provided (which could be useful to model heteroscedasticity, etc.), xreg will get them from the functions.

omega_est

Between-unit variance parameter, must be a fixed result for all observations, as only the first instance will be used. Defaults to exp(LN_OMEGA)

sigma_est

Within-unit variance parameter, may be specified as a function to vary between observations. Defaults to exp(LN_SIGMA)

Details

Likelihood functions for data.frame


intelligentaccident/xreg documentation built on Jan. 17, 2021, 7:38 a.m.