Learn R Programming

nmm (version 0.9)

LL_joint_no_corr: LL_joint_no_corr Function for log-likelihood without correlation between continuous and discrete equations

Description

LL_joint_no_corr Function for log-likelihood without correlation between continuous and discrete equations

Usage

LL_joint_no_corr(
  ffor,
  cheqs0,
  datan = "data",
  fixed_term = TRUE,
  eq_type = c("joint", "cont", "disc"),
  transform = FALSE,
  hessian = NULL,
  bayesian_random = FALSE,
  eqsys = "sur",
  MNtypef = "logit",
  add_pars = NULL
)

Arguments

ffor

Discrete equations.

cheqs0

Continuous equations.

datan

Character string. Name of data-set.

fixed_term

if TRUE, includes fixed term in log-likelihood.

eq_type

can be "joint"(both blocks estimated but without correlation), "cont", "disc".

transform

if TRUE, quantile transformation is applied to discrete equations.

hessian

Name of hessian function.

bayesian_random

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

eqsys

"sur" or "sem".

MNtypef

"logit" or "dogit".

add_pars

additional parameters to add

Value

ML estimation function