models_internal: Build the models

models_internalR Documentation

Build the models

Description

Build the models

Usage

Model1(mij, nij, tauij, mtau = 1000)

Model2(mij, nij, tauij, mtau = 1000)

Model3(mij, nij, tauij, mtau = 1000)

Model4(Aij, Ai, tauij, mtau = 1000)

Model5(Aij, Ai, tauij, mtau = 1000)

Model6(Aij, Ai, tauij, mtau = 1000)

lir.model.res(
  model,
  mij,
  nij,
  tauij,
  mtau,
  model_cl_fun = NULL,
  cl.H = NULL,
  model.K = NULL
)

lar.model.res(
  model,
  Aij,
  Ai,
  tauij,
  mtau,
  model_cl_fun = NULL,
  cl.H = NULL,
  model.K = NULL
)

Arguments

mij

The number of individuals identified at both time t_i and t_j

nij

The number of individuals identified at time t_i

tauij

Time lag between time t_i and t_j

mtau

The maximum allowable lag time.

Aij

The number of observed associated individuals (in pairs) observed at both time t_i and t_j

Ai

The number of observed associated individuals (in pairs) at time t_i

model

Models of LIR and LAR, or model is formulated by yourself

model_cl_fun

If you formulate your model, please input function to calculate the composite likelihood about your model

cl.H

If you formulate your model, please input the sensitivity matrix with respect to parameters in your model

model.K

If you formulate your model, please input the number of parameters in your model


Alexhaoge/rCLIFII documentation built on Sept. 28, 2023, 11:23 p.m.