LL_joint: 'LL_joint' Function for joint log-likelihood with correlation...

Description Usage Arguments Value

View source: R/003functions.R

Description

LL_joint Function for joint log-likelihood with correlation between continuous and discrete equations

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
LL_joint(
  ffor,
  cheqs0,
  objm = NULL,
  datan = "data",
  cfunc = "cfunc",
  cgrad = "cgrad",
  chess = "chess",
  gfunc = "gfunc",
  hfunc = "hfunc",
  check_hess = FALSE,
  print_out = FALSE,
  bayesian_random = FALSE,
  MNtypef = "logit"
)

Arguments

ffor

Discrete equations.

cheqs0

Continuous equations.

objm

Expressions from cond_mean_cov_expr.

datan

Character string. Name of data-set.

cfunc

Character string. Name for continuous block function.

cgrad

Character string. Name for continuous block gradient.

chess

Character string. Name for continuous block hessian.

gfunc

Character string. Name for joint gradient.

hfunc

Character string. Name for joint Hessian.

check_hess

if TRUE, Hessian is checked.

print_out

if TRUE, prints out LL for each equation.

bayesian_random

If TRUE, than par[1] is changed to par[,1] to be used for optimization of random parameters in Bayesian estimation.

MNtypef

"logit" or "dogit".

Value

Function for joint estimation


nmm documentation built on Jan. 7, 2021, 5:10 p.m.

Related to LL_joint in nmm...