ipm_analyse_l: Analyse data using composite likelihood for a simulation...

Description Usage Arguments Value

Description

Using the true joint likelihood model to analyse the simulation by true joint likelihood model.

Usage

1
2
3
4
5
6
7
8
9
ipm_analyse_l(
  data,
  Plot = FALSE,
  priors = NULL,
  maxtime = 5,
  unit = "mins",
  save = 20000L,
  chain = 3
)

Arguments

data

an nlists object, simulation dataset returned by ipm_sim_l.

Plot

a flag, indicates whether to save the traceplot and the density plot for MCMC outputs.

priors

a string of code to set the prior.

maxtime

a scalar, specifying the maximum time to spend on analysis.

unit

a character string specifying the units of time for max.time. See difftime.

save

a scalar, the number of (potentially thinned) samples to save.

chain

a scalar, the number of MCMC chains.

Value

a mcmcrs object, the MCMC outputs, and plots (If plot=TRUE).


zywhy9/IPM documentation built on April 19, 2020, 10:24 p.m.