help midas inlaalso see: midas

Title

midas inla -- Bayesian estimation via Integrated Nested Laplace Approximation

Syntax

midas inla
tp fp fn tn
[if exp]
[in range]
,
rpath(path)
[workdir(path)
id(varname)
covmatrix(structure)
approximation(method)
integration(strategy)
nip(#)
stable
manual
showcode
hpd
level(#)
noheader
nocoefficients
nosummary
nofitstat
hetstats
hsroc
revman]

Description

midas inla fits the bivariate random-effects model using the
R-INLA package via a Stata-R interface. INLA provides fast approximate
Bayesian inference, particularly suited to models with Gaussian latent
fields. R and the R-INLA package must be installed.

Key options

rpath(path) path to the R executable (e.g.,
C:/Program Files/R/R-4.3.0/bin/Rscript.exe). Required.

workdir(path) working directory for temporary R files.
Defaults to the Stata personal ado directory.

covmatrix(structure) covariance prior structure.
Same options as midas mh.

approximation(method) INLA approximation strategy:
gaussian (default), laplace, or simplified.laplace.

integration(strategy) integration strategy:
eb (empirical Bayes, default), ccd, grid, or gh.

nip(#) number of integration points. Default 20.

stable uses INLA's numerically stable mode.

manual calls R-INLA manually rather than using the automatic interface.

showcode displays the generated R code.

Example

. midas inla tp fp fn tn, id(author) rpath("C:/R/bin/Rscript.exe") covmatrix(cholesky)

Also see

midas, midas mh, midas hmc