Commit Graph

18 Commits (3a115d4fcc1e88a37b22c9ae5ea257004c68dfe4)

Author SHA1 Message Date
Stéphane Adjemian (Ryûk) 015513380f
Add new class for priors.
This commit only changes the routine used to draw random deviates from
the prior distribution, without relying on persistent variables (which allows
parallelisation).
2023-04-26 10:39:13 +02:00
Sébastien Villemot 10af04c6d8
Use Unicode copyright symbol (in UTF-8 encoding) in all source files
It is now supported by the MATLAB editor (as of R2022a).

The old ASCII notation is left in some files that we copy as-is from other
sources (e.g. in the contrib/ and m4/ subdirectories).

The particles submodule is not updated at this point, because it is in an
inconsistent state.

[skip ci]
2022-04-13 14:54:25 +02:00
Sébastien Villemot 766fff88f6
Use secure URL for link to GNU licenses 2021-06-09 17:35:05 +02:00
Johannes Pfeifer 818a07a4ef Fix get_posterior_parameters
Get rid of setting variables from the base workspace in the function, making the function read-only (as the name suggests)
2017-10-05 09:54:08 +02:00
Stéphane Adjemian (Charybdis) 1bf81c9f5a Fixed copyright notices. 2017-05-18 18:36:38 +02:00
Stéphane Adjemian (Charybdis) 5417b27ac7 Fixed indentation of matlab files. 2017-05-16 15:10:20 +02:00
Stéphane Adjemian (Charybdis) 29a0765a48 Removed globals from prior_draw routine.
When initializing the persistent variables, bayestopt_ and
options_.prior_trunc need to be passed as input arguments.
2015-12-14 23:50:56 +01:00
Johannes Pfeifer f57cf46df9 Make GetOneDraw.m only compute posterior for prior if needed
Potentially saves a lot of time
2015-07-28 15:37:00 +02:00
Sébastien Villemot 1f9cea669a Update copyright notices 2012-06-08 18:22:34 +02:00
Marco Ratto b7133ebeb5 Fixed bugs related to global sensitivity analysis. 2011-02-25 09:27:33 +01:00
Sébastien Villemot 02652f6eb8 Updated copyright notices 2011-02-04 17:27:33 +01:00
sebastien 502e3e1df8 Beautified MATLAB code (Unix newline convention + Emacs indentation), except: AIM, swz, particle
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3250 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-16 17:17:34 +00:00
sebastien 9f5beff89e v4 matlab: fixed remaining copyright headers (those files which are in the CR+LF endline convention)
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1975 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-08-01 13:08:13 +00:00
assia e462d8c1a0 header updated
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1566 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-11 13:50:16 +00:00
ratto 90c2ca6e62 Allow to retrieve logposterior values for MH runs,
not only parameter values.

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@731 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-05-04 08:52:43 +00:00
michel 00fac4544c v4 updating computing statistics from Metropolis (not finihesd)
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@655 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-03-05 21:01:27 +00:00
michel 751c382ddc v4: replaced \ by / in directory names
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@600 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-01-16 08:20:11 +00:00
adjemian 884bff3678 posterior irf and bug corrections. New files : PosteriorIRF.m and GetOneDraw.m.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@462 ac1d8469-bf42-47a9-8791-bf33cf982152
2005-09-26 12:40:14 +00:00