mcreel / selectstatisticsabc.jl Goto Github PK
View Code? Open in Web Editor NEWJulia code for selection of auxiliary statistics for Approximate Bayesian Computing
License: GNU General Public License v3.0
Julia code for selection of auxiliary statistics for Approximate Bayesian Computing
License: GNU General Public License v3.0
Instructions for replicating the results in "On Selection of Statistics for Approximate Bayesian Computing (or the Method of Simulated Moments)", Michael Creel and Dennis Kristensen, 2015, Computational Statistics & Data Analysis, http://dx.doi.org/10.1016/j.csda.2015.05.005 Note: I recommend the methods presented in https://github.com/mcreel/NeuralNetsForIndirectInference.jl over the ones presented here. Those methods smoothly weight statistics, rather that selecting statistics. That option is simpler, faster, and has better performance, in my experience. This is updated code, which can use either local constant or local linear kernel regression. The default is local constant, for speed. To obtain the exact code used in the paper, checkout version 1.0 of this repository. files: make_simdata.jl: used to make data files for the linear regression example Select.jl: the selection program, serial version Select_mpi.jl: the selection program, parallel version SelectionAlgorithm.jl: the main algorithm: the objective function, the simulated annealing algorithm, and the K nearest neighbors smoother for computing the ABC estimator. To create the data for the linear regression example by typing, at the Julia prompt include("make_simdata.jl") To perform selection of statistics: The file Select.jl computes one replication of the selection algorithm, using the simdata.30 data set. Run this by typing the following line, at the Julia prompt include("Select.jl") To perform selection in parallel, Select_mpi.jl performs 100 replications of the method, again using the simdata.30 data set. To run this, execute mpirun -np X julia Select_mpi.jl from the system prompt. X should be less than the total compute cores, and should be an even divisor of 100. Analyze.m is a GNU Octave script that analyzes the results of multiple runs, picking out the best set of statistics, and giving other information. Use it via "octave --eval Analyze" To repeat this for the sample size n=100, edit make_simdata.jl appropriately, then repeat the above instructions. To perform selection for the jump-diffusion model, please contact me for the data set. For any doubts, please write [email protected]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.