lionup / mopt

Parallel Derivative Free Moment Optimization for R

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mopt

Parallel Derivative Free Moment Optimization in R

This is a package intended for people who want to estimate a model based on some distance criteria. The library is built around the square minimization of the distance between a set of moments. The value of the objective function as well as the value of the moments at each evaluations are stored for later analysis.

The parallelisation overhead is relatively costly, and so I would not recommend using this library if solving your model for a parameter set is under 1 second. My experience has been that a solving time of around 30 seconds is a good place to start.

Features:

  • works with MPI and OpenMP, but also in searial mode
  • offers serial optimization see serial optim example using the minqa package.
  • offers several MCMC implementations (see list of algorithms)
  • offers several reporting tools, but also exports to classic mcmc types to use in R
  • offers a function to compute slices of the objective function in orthogonal directions, see example.

References:

Install

install.packages('devtools');require(devtools);install_github('mopt',user='tlamadon')

Use MPI on UCL econ HPC

See also

A Julia version of mopt exists as MOpt.jl on github.

Contributors

About

Parallel Derivative Free Moment Optimization for R


Languages

Language:R 96.6%Language:Shell 2.6%Language:Makefile 0.8%