[Pomp-commits] r922 - in branches/mif2: . inst tests
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu Apr 17 15:21:30 CEST 2014
Author: kingaa
Date: 2014-04-17 15:21:28 +0200 (Thu, 17 Apr 2014)
New Revision: 922
Removed:
branches/mif2/data/
branches/mif2/demo/
branches/mif2/inst/CHANGES_0.29-1.txt
branches/mif2/inst/CITATION
branches/mif2/inst/ChangeLog
branches/mif2/inst/NEWS
branches/mif2/inst/O_CHANGES
branches/mif2/inst/TODO
branches/mif2/inst/doc/
branches/mif2/inst/examples/
branches/mif2/inst/include/
branches/mif2/tests/bbs-trajmatch.R
branches/mif2/tests/bbs-trajmatch.Rout.save
branches/mif2/tests/bbs.R
branches/mif2/tests/bbs.Rout.save
branches/mif2/tests/blowflies.R
branches/mif2/tests/blowflies.Rout.save
branches/mif2/tests/dacca.R
branches/mif2/tests/dacca.Rout.save
branches/mif2/tests/dimchecks.R
branches/mif2/tests/dimchecks.Rout.save
branches/mif2/tests/fhn.R
branches/mif2/tests/fhn.Rout.save
branches/mif2/tests/filtfail.R
branches/mif2/tests/filtfail.Rout.save
branches/mif2/tests/gillespie.R
branches/mif2/tests/gillespie.Rout.save
branches/mif2/tests/gompertz.R
branches/mif2/tests/gompertz.Rout.save
branches/mif2/tests/logistic.R
branches/mif2/tests/logistic.Rout.save
branches/mif2/tests/ou2-bsmc.R
branches/mif2/tests/ou2-bsmc.Rout.save
branches/mif2/tests/ou2-forecast.R
branches/mif2/tests/ou2-forecast.Rout.save
branches/mif2/tests/ou2-icfit.R
branches/mif2/tests/ou2-icfit.Rout.save
branches/mif2/tests/ou2-kalman.R
branches/mif2/tests/ou2-kalman.Rout.save
branches/mif2/tests/ou2-mif-fp.R
branches/mif2/tests/ou2-mif-fp.Rout.save
branches/mif2/tests/ou2-mif.R
branches/mif2/tests/ou2-mif.Rout.save
branches/mif2/tests/ou2-nlf.R
branches/mif2/tests/ou2-nlf.Rout.save
branches/mif2/tests/ou2-pmcmc.R
branches/mif2/tests/ou2-pmcmc.Rout.save
branches/mif2/tests/ou2-probe.R
branches/mif2/tests/ou2-probe.Rout.save
branches/mif2/tests/ou2-procmeas.R
branches/mif2/tests/ou2-procmeas.Rout.save
branches/mif2/tests/ou2-simulate.R
branches/mif2/tests/ou2-simulate.Rout.save
branches/mif2/tests/ou2-trajmatch.R
branches/mif2/tests/ou2-trajmatch.Rout.save
branches/mif2/tests/partrans.R
branches/mif2/tests/partrans.Rout.save
branches/mif2/tests/pomppomp.R
branches/mif2/tests/pomppomp.Rout.save
branches/mif2/tests/ricker-bsmc.R
branches/mif2/tests/ricker-bsmc.Rout.save
branches/mif2/tests/ricker-probe.R
branches/mif2/tests/ricker-probe.Rout.save
branches/mif2/tests/ricker-spect.R
branches/mif2/tests/ricker-spect.Rout.save
branches/mif2/tests/ricker.R
branches/mif2/tests/ricker.Rout.save
branches/mif2/tests/rw2.R
branches/mif2/tests/rw2.Rout.save
branches/mif2/tests/sir.R
branches/mif2/tests/sir.Rout.save
branches/mif2/tests/skeleton.R
branches/mif2/tests/skeleton.Rout.save
branches/mif2/tests/steps.R
branches/mif2/tests/steps.Rout.save
branches/mif2/tests/synlik.R
branches/mif2/tests/synlik.Rout.save
branches/mif2/tests/verhulst.R
branches/mif2/tests/verhulst.Rout.save
Modified:
branches/mif2/tests/ou2-mif2.R
branches/mif2/tests/ou2-mif2.Rout.save
branches/mif2/tests/pfilter.R
branches/mif2/tests/pfilter.Rout.save
Log:
- make 'mif2' a descendant of 'pomp'
Deleted: branches/mif2/inst/CHANGES_0.29-1.txt
===================================================================
--- branches/mif2/inst/CHANGES_0.29-1.txt 2014-04-17 13:13:21 UTC (rev 921)
+++ branches/mif2/inst/CHANGES_0.29-1.txt 2014-04-17 13:21:28 UTC (rev 922)
@@ -1,225 +0,0 @@
-There are three main changes in version 0.29-1.
-
-1. Substantial improvements to the documentation, including both the vignettes
-and the manual pages.
-
-2. A bigger, more intuitive, and easier-to-use set of "plugins" for filling the
-'rprocess' slot of a 'pomp' object.
-
-3. Changes to the C interface for 'rmeasure' and 'dmeasure' functions.
-
-The first and second changes preserve backward compatibility: your old codes
-will work fine even if you do not make use of the new functionality. Using the
-old-style plugins 'euler.simulate' or 'onestep.simulate' will result in annoying
-warnings about these functions being deprecated and suggesting that you migrate
-to the new-style plugins sometime soon. In a future release of pomp,
-'euler.simulate' and 'onestep.simulate' will disappear.
-
-The third change does NOT preserve backward compatibility. If you use compiled
-native routines for 'rmeasure' and/or 'dmeasure', you must modify those routines
-or your codes will not work properly (and will almost certainly crash) when used
-with versions 0.29-1 and later of pomp. The required modification is quite
-minor, however, and is detailed below.
-
-In more detail:
-
-Change 1.
-The vignettes have been completely rewritten to be useful as tutorials. The
-first vignette, "intro_to_pomp", is a step-by-step guide to the construction of
-a 'pomp' and simulation, particle filtering, trajectory-matching, iterated
-filtering, and nonlinear forecasting. View it by doing
-R> ?vignette("intro_to_pomp")
-The second vignette shows how to accelerate performance using compiled native
-routines and briefly introduces the developer interface to pomp. View it by
-doing
-R> ?vignette("advanced_topics_in_pomp")
-
-Change 2. New plugins.
-As you probably know very well, it can be challenging to implement a model in
-pomp. In particular, the most difficult bit is typically writing the process
-model simulator (rprocess). In an effort to make this more intuitive, I have
-provided several new "plugins": functions that write the 'rprocess' function for
-you given minimal input on the form of the model.
-
-For some time there has been some plugin functionality, but their structure has
-made them nonintuitive and their documentation difficult to understand from the
-user's point of view. The new plugins are much more straightforward to use and
-their documentation is clearer (I hope). The new plugins provide precisely the
-same functionality: only the interface has changed. To be clear: switching over
-to the new-style plugins will have no effect on the underlying model nor,
-therefore, on inferences that have been based on that model.
-
-If you have been using the old-style plugins (euler.simulate or
-onestep.simulate), you can continue to do so for the time being. However,
-warning messages will be generated to inform you that these functions are
-deprecated and will be removed in a later release of pomp.
-
-To switch over to the new-style plugins, you need only edit a few lines in the R
-code that constructs a pomp object. Specifically, if you use
-
-pomp(...,rprocess=euler.simulate,...,delta.t=dt,...,step.fun=foo,...,PACKAGE=bar, ...)
-
-where 'foo' is either an R function or the name of a compiled native routine,
-and 'bar' is the name of the shared-object library where the compiled native
-routine resides, you can achieve the same functionality by using
-
-pomp(...,rprocess=euler.sim(step.fun=foo,delta.t=dt,PACKAGE=bar),...)
-
-Similarly, if you use
-
-pomp(...,rprocess=onestep.simulate,...,step.fun=foo,...,PACKAGE=bar,...)
-
-replace it with
-
-pomp(...,rprocess=onestep.sim(step.fun=foo,PACKAGE=bar),...)
-
-Essentially, the new-style plugins are functions that return "customized"
-functions suitable for use in the 'rprocess' slot of a 'pomp' object.
-
-There are now new plugins that include a discrete-time model plugin
-('discrete.time.sim') and an implementation of the Gillespie algorithm
-('gillespie.sim'). The FORTRAN codes that underly 'gillespie.sim' are due to
-Helen Wearing. For documentation on the new functionality, see
-R> ?plugins
-or
-R>?euler.sim
-R>?gillespie.sim
-R>?onestep.sim
-R>?discrete.time.sim
-
-Change 3. New interface for C versions of 'rmeasure' and 'dmeasure'.
-
-This change only affects you if you use compiled native routines for the
-measurement portion of your model. If you specify your measurement model either
-using 'measurement.model=blah' or by specifying 'rmeasure' and/or 'dmeasure' as
-R functions, you need do nothing.
-
-If you have written C functions to implement your measurement model, you have
-written a C function of prototype
-
-void pomp_measure_model_simulator (double *y, double *x, double *p, int *stateindex,
-int *parindex, int *covindex, int ncovars, double *covars, double t);
-
-and/or a function of prototype
-
-void pomp_measure_model_density (double *lik, double *y, double *x, double *p,
-int give_log, int *stateindex, int *parindex, int *covindex, int ncovars, double
-*covars, double t);
-
-In the new version of 'pomp', you must modify these functions to have prototypes
-
-void pomp_measure_model_simulator (double *y, double *x, double *p,
-int *obsindex, int *stateindex, int *parindex, int *covindex, int ncovars,
-double *covars, double t);
-
-and
-
-void pomp_measure_model_density (double *lik, double *y, double *x, double *p,
-int give_log, int *obsindex, int *stateindex, int *parindex, int *covindex, int
-ncovars, double *covars, double t);
-
-The only difference is that you need to insert a new int* argument 'obsindex' in
-the appropriate place.
-
-If you simply insert the new argument and do nothing more, your codes should
-function as before. If you wish to take advantage of the new functionality, it
-should make your codes more robust. To do so, when constructing a 'pomp' object,
-specify the names of observed variables in the 'obsnames' argument to 'pomp'. If
-you have done this, upon any call to either your C 'dmeasure' or 'rmeasure'
-function, 'obsindex' will be a pointer to a set of integers that indicate the
-positions in 'y' that correspond to the variables in 'obsnames' in that order.
-Thus, 'obsindex' is exactly analogous to 'stateindex', 'parindex', and
-'covindex': 'obsindex' is to 'y' as 'stateindex' is to 'x' as 'parindex' is to
-'p' as 'covindex' is to 'covars'.
-
-Here is an example of one of my own codes. Before version 0.29-1, the code was:
-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
-#define TAU (p[parindex[0]])
-#define DEATHS (x[stateindex[4]])
-#define DATADEATHS (y[0])
-
-void norm_rmeasure (double *y, double *x, double *p,
- int *stateindex, int *parindex, int *covindex,
- int ncovars, double *covars, double t)
-{
- double v, tol = 1.0e-18;
- v = DEATHS*exp(TAU);
- if (!(R_FINITE(v))) {
- DATADEATHS = R_NaReal;
- } else {
- DATADEATHS = rnorm(DEATHS,v+tol);
- }
-}
-
-void norm_dmeasure (double *lik, double *y, double *x, double *p, int give_log,
- int *stateindex, int *parindex, int *covindex,
- int ncovars, double *covars, double t)
-{
- double v, tol = 1.0e-18;
- v = DEATHS*exp(TAU);
- if (!(R_FINITE(v))) {
- *lik = tol;
- } else {
- *lik = dnorm(DATADEATHS,DEATHS,v+tol,0)+tol;
- }
- if (give_log) *lik = log(*lik);
-}
-
-#undef TAU
-#undef DEATHS
-#undef DATADEATHS
-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
-
-As of pomp version 0.29-1, the code is:
-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
-#define TAU (p[parindex[0]])
-#define DEATHS (x[stateindex[4]])
-#define DATADEATHS (y[obsindex[0]])
-
-void norm_rmeasure (double *y, double *x, double *p,
- int *obsindex, int *stateindex, int *parindex, int *covindex,
- int ncovars, double *covars, double t)
-{
- double v, tol = 1.0e-18;
- v = DEATHS*exp(TAU);
- if (!(R_FINITE(v))) {
- DATADEATHS = R_NaReal;
- } else {
- DATADEATHS = rnorm(DEATHS,v+tol);
- }
-}
-
-void norm_dmeasure (double *lik, double *y, double *x, double *p, int give_log,
- int *obsindex, int *stateindex, int *parindex, int *covindex,
- int ncovars, double *covars, double t)
-{
- double v, tol = 1.0e-18;
- v = DEATHS*exp(TAU);
- if (!(R_FINITE(v))) {
- *lik = tol;
- } else {
- *lik = dnorm(DATADEATHS,DEATHS,v+tol,0)+tol;
- }
- if (give_log) *lik = log(*lik);
-}
-
-#undef TAU
-#undef DEATHS
-#undef DATADEATHS
-ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
-
-A diff on these two shows just the changes:
-ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
-3c3
-< #define DATADEATHS (y[0])
----
-> #define DATADEATHS (y[obsindex[0]])
-6c6
-< int *stateindex, int *parindex, int *covindex,
----
-> int *obsindex, int *stateindex, int *parindex, int *covindex,
-19c19
-< int *stateindex, int *parindex, int *covindex,
----
-> int *obsindex, int *stateindex, int *parindex, int *covindex,
-ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
\ No newline at end of file
Deleted: branches/mif2/inst/CITATION
===================================================================
--- branches/mif2/inst/CITATION 2014-04-17 13:13:21 UTC (rev 921)
+++ branches/mif2/inst/CITATION 2014-04-17 13:21:28 UTC (rev 922)
@@ -1,26 +0,0 @@
-citHeader("To cite the pomp package in publications use:")
-
-citEntry(
- entry="Manual",
- title="pomp: Statistical inference for partially observed Markov processes (R package)",
- author=personList(
- as.person("Aaron A. King"),
- as.person("Edward L. Ionides"),
- as.person("Carles Martinez Bret\\'o"),
- as.person("Steve Ellner"),
- as.person("Bruce Kendall"),
- as.person("Helen Wearing"),
- as.person("Matthew J. Ferrari"),
- as.person("Michael Lavine"),
- as.person("Daniel C. Reuman")
- ),
- year=2010,
- url="http://pomp.r-forge.r-rproject.org",
- textVersion=paste(
- "Aaron A. King, E. L. Ionides, C. M. Bret\\'o, S. P. Ellner, B. E. Kendall, Helen Wearing, Matthew J. Ferrari, Michael Lavine, and Daniel C. Reuman",
- "pomp: Statistical inference for partially observed Markov processes (R package)",
- "http://pomp.r-forge.r-project.org"
- )
- )
-
-citFooter("As pomp is continually evolving, you may want to cite its version number. Find it with 'help(package=pomp)'.")
Deleted: branches/mif2/inst/ChangeLog
===================================================================
--- branches/mif2/inst/ChangeLog 2014-04-17 13:13:21 UTC (rev 921)
+++ branches/mif2/inst/ChangeLog 2014-04-17 13:21:28 UTC (rev 922)
@@ -1,427 +0,0 @@
-2013-01-09 kingaa
-
- * [r806] R/mif-class.R, R/mif.R, R/pfilter.R, R/pmcmc.R, inst/NEWS,
- man/mif-class.Rd, man/mif.Rd, man/pfilter.Rd, tests/ou2-mif2.R,
- tests/ou2-mif2.Rout.save: - integrate MIF2
- * [r805] R/example.R: - improved 'pompExample'
- * [r804] tests/bbs-trajmatch.R, tests/bbs-trajmatch.Rout.save,
- tests/bbs.R, tests/bbs.Rout.save, tests/blowflies.R,
- tests/blowflies.Rout.save, tests/dacca.R, tests/dacca.Rout.save,
- tests/dimchecks.R, tests/dimchecks.Rout.save, tests/gillespie.R,
- tests/gillespie.Rout.save, tests/gompertz.R,
- tests/gompertz.Rout.save, tests/ou2-bsmc.R,
- tests/ou2-bsmc.Rout.save, tests/ou2-forecast.R,
- tests/ou2-forecast.Rout.save, tests/ou2-icfit.R,
- tests/ou2-icfit.Rout.save, tests/ou2-kalman.R,
- tests/ou2-kalman.Rout.save, tests/ou2-mif-fp.R,
- tests/ou2-mif-fp.Rout.save, tests/ou2-mif.R,
- tests/ou2-mif.Rout.save, tests/ou2-nlf.R,
- tests/ou2-nlf.Rout.save, tests/ou2-pmcmc.R,
- tests/ou2-pmcmc.Rout.save, tests/ou2-probe.R,
- tests/ou2-probe.Rout.save, tests/ou2-procmeas.R,
- tests/ou2-procmeas.Rout.save, tests/ou2-simulate.R,
- tests/ou2-simulate.Rout.save, tests/ou2-trajmatch.R,
- tests/ou2-trajmatch.Rout.save, tests/partrans.R,
- tests/partrans.Rout.save, tests/pfilter.R,
- tests/pfilter.Rout.save, tests/pomppomp.R,
- tests/pomppomp.Rout.save, tests/ricker-bsmc.R,
- tests/ricker-bsmc.Rout.save, tests/ricker-probe.R,
- tests/ricker-probe.Rout.save, tests/ricker-spect.R,
- tests/ricker-spect.Rout.save, tests/ricker.R,
- tests/ricker.Rout.save, tests/rw2.R, tests/rw2.Rout.save,
- tests/sir.R, tests/sir.Rout.save, tests/skeleton.R,
- tests/skeleton.Rout.save, tests/steps.R, tests/steps.Rout.save,
- tests/synlik.R, tests/synlik.Rout.save, tests/verhulst.R,
- tests/verhulst.Rout.save: - improved 'pompExample'
- * [r803] man/blowflies.Rd, man/dacca.Rd, man/example.Rd,
- man/gompertz.Rd, man/init.state-pomp.Rd, man/ou2.Rd,
- man/parmat.Rd, man/probe.Rd, man/ricker.Rd, man/rw2.Rd,
- man/simulate-pomp.Rd, man/sir.Rd, man/spect.Rd,
- man/traj-match.Rd, man/trajectory-pomp.Rd, man/verhulst.Rd: -
- improved 'pompExample'
- * [r802] man/pomp.Rd: - minor fix
- * [r801] .Rbuildignore, DESCRIPTION, data/bbs.rda,
- data/blowflies.rda, data/dacca.rda, data/euler.sir.rda,
- data/gillespie.sir.rda, data/gompertz.rda, data/ou2.rda,
- data/ricker.rda, data/rw2.rda, data/verhulst.rda, inst/NEWS,
- inst/examples/bbs.R, inst/examples/euler.sir.R,
- inst/examples/gillespie.sir.R, inst/examples/sir.R,
- man/blowflies.Rd, man/dacca.Rd, man/example.Rd, man/gompertz.Rd,
- man/init.state-pomp.Rd, man/ou2.Rd, man/parmat.Rd, man/probe.Rd,
- man/ricker.Rd, man/rw2.Rd, man/simulate-pomp.Rd, man/sir.Rd,
- man/spect.Rd, man/traj-match.Rd, man/trajectory-pomp.Rd,
- man/verhulst.Rd, tests/bbs-trajmatch.R,
- tests/bbs-trajmatch.Rout.save, tests/bbs.R, tests/bbs.Rout.save,
- tests/blowflies.R, tests/blowflies.Rout.save, tests/dacca.R,
- tests/dacca.Rout.save, tests/dimchecks.R,
- tests/dimchecks.Rout.save, tests/fhn.Rout.save,
- tests/filtfail.Rout.save, tests/gillespie.R,
- tests/gillespie.Rout.save, tests/gompertz.R,
- tests/gompertz.Rout.save, tests/logistic.Rout.save,
- tests/ou2-bsmc.R, tests/ou2-bsmc.Rout.save, tests/ou2-forecast.R,
- tests/ou2-forecast.Rout.save, tests/ou2-icfit.R,
- tests/ou2-icfit.Rout.save, tests/ou2-kalman.R,
- tests/ou2-kalman.Rout.save, tests/ou2-mif-fp.R,
- tests/ou2-mif-fp.Rout.save, tests/ou2-mif.R,
- tests/ou2-mif.Rout.save, tests/ou2-nlf.R,
- tests/ou2-nlf.Rout.save, tests/ou2-pmcmc.R,
- tests/ou2-pmcmc.Rout.save, tests/ou2-probe.R,
- tests/ou2-probe.Rout.save, tests/ou2-procmeas.R,
- tests/ou2-procmeas.Rout.save, tests/ou2-simulate.R,
- tests/ou2-simulate.Rout.save, tests/ou2-trajmatch.R,
- tests/ou2-trajmatch.Rout.save, tests/partrans.R,
- tests/partrans.Rout.save, tests/pfilter.R,
- tests/pfilter.Rout.save, tests/pomppomp.R,
- tests/pomppomp.Rout.save, tests/ricker-bsmc.R,
- tests/ricker-bsmc.Rout.save, tests/ricker-probe.R,
- tests/ricker-probe.Rout.save, tests/ricker-spect.R,
- tests/ricker-spect.Rout.save, tests/ricker.R,
- tests/ricker.Rout.save, tests/rw2.R, tests/rw2.Rout.save,
- tests/sir.R, tests/sir.Rout.save, tests/skeleton.R,
- tests/skeleton.Rout.save, tests/steps.R, tests/steps.Rout.save,
- tests/synlik.R, tests/synlik.Rout.save, tests/verhulst.R,
- tests/verhulst.Rout.save: - get rid of all data()-loadable pomp
- objects, replacing them with the new 'pompExample' facility
- * [r800] DESCRIPTION, NAMESPACE, R/example.R, inst/data-R,
- inst/examples/blowflies.R, inst/examples/dacca.R,
- inst/examples/ewmeas.csv, inst/examples/gompertz.R,
- inst/examples/ou2.R, inst/examples/ricker.R, inst/examples/rw2.R,
- inst/examples/sir.R, inst/examples/verhulst.R: - remove
- data()-loadable pomp objects in favor of the new 'pompExample'
- mechanism.
-
-2013-01-08 kingaa
-
- * [r797] data/bbs.rda, data/blowflies.rda, data/dacca.rda,
- data/euler.sir.rda, data/gillespie.sir.rda, data/gompertz.rda,
- data/ou2.rda, data/ricker.rda, data/rw2.rda, data/verhulst.rda: -
- update data directory
- * [r794] DESCRIPTION, R/mif.R, tests/bbs.Rout.save,
- tests/gompertz.Rout.save, tests/ou2-bsmc.Rout.save,
- tests/ou2-mif.Rout.save: - update tests
- * [r793] DESCRIPTION, R/pfilter.R, R/pomp-class.R, R/pomp.R: - some
- changes preparatory to merging in mif2
-
-2012-09-14 kingaa
-
- * [r780] src/pomp_fun.c: - more informative error message when
- pomp_fun handler fails
-
-2012-08-22 kingaa
-
- * [r778] DESCRIPTION, inst/doc/advanced_topics_in_pomp.Rnw,
- inst/doc/bsmc-ricker-flat-prior.rda,
- inst/doc/bsmc-ricker-normal-prior.rda,
- inst/doc/complex-sir-def.rda, inst/doc/fullnat.bst,
- inst/doc/gompertz-multi-mif.rda,
- inst/doc/gompertz-pfilter-guess.rda,
- inst/doc/gompertz-trajmatch.rda, inst/doc/intro_to_pomp.Rnw,
- inst/doc/nlf-block-boot.rda, inst/doc/nlf-boot.rda,
- inst/doc/nlf-fit-from-truth.rda, inst/doc/nlf-fits.rda,
- inst/doc/nlf-lag-tests.rda, inst/doc/nlf-multi-short.rda,
- inst/doc/plugin-C-code.rda, inst/doc/plugin-R-code.rda,
- inst/doc/pomp.bib, inst/doc/ricker-comparison.rda,
- inst/doc/ricker-first-probe.rda, inst/doc/ricker-mif.rda,
- inst/doc/ricker-probe-match.rda, inst/doc/ricker-probe.rda,
- inst/doc/sim-sim.rda, inst/doc/sir-pomp-def.rda,
- inst/doc/vectorized-C-code.rda, inst/doc/vectorized-R-code.rda: -
- remove vignette codes
-
-2012-08-08 kingaa
-
- * [r765] DESCRIPTION, inst/doc/advanced_topics_in_pomp.Rnw,
- inst/doc/advanced_topics_in_pomp.pdf,
- inst/doc/bsmc-ricker-normal-prior.rda,
- inst/doc/complex-sir-def.rda,
- inst/doc/gompertz-pfilter-guess.rda, inst/doc/intro_to_pomp.Rnw,
- inst/doc/intro_to_pomp.pdf, inst/doc/plugin-C-code.rda,
- inst/doc/plugin-R-code.rda, inst/doc/ricker-comparison.rda,
- inst/doc/ricker-first-probe.rda, inst/doc/ricker-probe.rda,
- inst/doc/sim-sim.rda, inst/doc/sir-pomp-def.rda,
- inst/doc/vectorized-C-code.rda, inst/doc/vectorized-R-code.rda: -
- store more intermediate results in the building of the vignettes
- to make vignette-checking quicker
-
-2012-08-03 kingaa
-
- * [r757] tests/fhn.R, tests/fhn.Rout.save, tests/ricker-spect.R,
- tests/ricker-spect.Rout.save, tests/ricker.R,
- tests/ricker.Rout.save, tests/rw2.R, tests/rw2.Rout.save,
- tests/sir.R, tests/sir.Rout.save: - more modifications to test
- files
- * [r756] DESCRIPTION, inst/NEWS, tests/ou2-probe.R,
- tests/ou2-probe.Rout.save, tests/ricker-bsmc.R,
- tests/ricker-bsmc.Rout.save, tests/ricker-probe.R,
- tests/ricker-probe.Rout.save: - clean up tests
-
-2012-07-31 kingaa
-
- * [r753] DESCRIPTION, R/authors.R, inst/NEWS,
- man/pfilter-methods.Rd: - add authors list
- - add documentation of 'cond.logLik' and 'eff.sample.size'
-
-2012-07-13 kingaa
-
- * [r752] DESCRIPTION, NAMESPACE, R/aaa.R, R/mif.R,
- R/pfilter-methods.R, tests/gompertz.R, tests/gompertz.Rout.save,
- tests/ou2-mif.Rout.save: - add 'eff.sample.size' and
- 'cond.logLik' methods for 'pfilterd.pomp' objects
- - make 'non-finite parameters' warning message more informative
- * [r751] DESCRIPTION, src/dmeasure.c: - fix bug in 'dmeasure' when
- log=T. bug found by R. Reiner.
-
-2012-07-10 kingaa
-
- * [r750] DESCRIPTION, R/builder.R, inst/include/pomp.h, src/pomp.h,
- src/pomp_internal.h, src/sir.c: - fix bug with pompBuilder on mac
-
-2012-07-02 kingaa
-
- * [r744] DESCRIPTION: - require only R version >= 2.14.1
-
-2012-07-01 kingaa
-
- * [r743] DESCRIPTION, inst/ChangeLog: - update changelog & date
- * [r742] R/pomp-methods.R, R/pomp.R: - force storage.type to double
- for params slot
-
-2012-06-29 kingaa
-
- * [r741] inst/ChangeLog, tests/sir.Rout.save: - update changelog
- and unit test
- * [r740] DESCRIPTION, R/pomp.R, inst/NEWS, man/pomp.Rd,
- tests/sir.R: - add 'params' argument to 'pomp' constructor
- * [r739] R/traj-match.R, man/traj-match.Rd, tests/bbs-trajmatch.R,
- tests/bbs-trajmatch.Rout.save: - extra arguments (...) to
- 'traj.match.objfun' are now passed on to the ODE integrator in
- case the skeleton is a vectorfield
-
-2012-06-18 kingaa
-
- * [r732] inst/include/pomp.h: - update installed version of
- 'pomp.h'
- * [r731] DESCRIPTION, inst/NEWS, src/pomp.h: - update NEWS file
- - minor changes to 'pomp.h'
-
-2012-06-12 kingaa
-
- * [r729] inst/doc/pomp.bib: - update bibliography database
-
-2012-06-01 kingaa
-
- * [r727] DESCRIPTION, demo/sir.R, inst/include/pomp.h,
- src/lookup_table.c, src/pomp.h: - remove superfluous warnings
- from 'lookup_table'
- - fix 'sir' demo to work with covariate table
- - add some inline functions to 'pomp.h'
- * [r726] DESCRIPTION, R/builder.R, demo/gompertz.R, man/builder.Rd:
- - fix incorrect error messages in 'pompBuilder'
- - allow 'pompBuilder' to deal with covariates
-
-2012-05-29 kingaa
-
- * [r725] DESCRIPTION, R/builder.R, R/pomp.R, demo/gompertz.R,
- demo/sir.R, man/builder.Rd, man/pomp.Rd: - add support for
- parameter transformations to 'pompBuilder'
- - more error-trapping in 'pomp'
- - update demos to use compiled parameter transformations
- - fix minor omission in 'pomp' man page
-
-2012-05-14 kingaa
-
- * [r722] DESCRIPTION: - update DESCRIPTION
- * [r721] inst/ChangeLog, inst/NEWS,
- inst/doc/advanced_topics_in_pomp.pdf, inst/doc/intro_to_pomp.pdf:
- - update changelog NEWS file and vignettes
-
-2012-05-12 kingaa
-
- * [r716] DESCRIPTION, R/dmeasure-pomp.R, R/dprocess-pomp.R,
- R/pomp-methods.R, R/rmeasure-pomp.R, R/rprocess-pomp.R,
- R/skeleton-pomp.R, R/trajectory-pomp.R: - use fewer anonymous
- functions
-
-2012-05-10 kingaa
-
- * [r715] DESCRIPTION, tests/sir.R, tests/sir.Rout.save: - add unit
- test for new trajectory codes
-
-2012-05-09 kingaa
-
- * [r714] inst/ChangeLog:
-
-2012-05-08 kingaa
-
- * [r713] DESCRIPTION, R/trajectory-pomp.R, src/trajectory.c: - use
- R_PreserveObject and R_ReleaseObject rather than the 'savelist'
- trick
- * [r711] DESCRIPTION:
-
-2012-05-07 kingaa
-
- * [r707] inst/ChangeLog, inst/NEWS: - update NEWS and ChangeLog
-
-2012-05-06 kingaa
-
- * [r706] inst/doc/advanced_topics_in_pomp.pdf,
- inst/doc/intro_to_pomp.pdf: - update vignettes
-
-2012-05-03 kingaa
-
- * [r705] R/trajectory-pomp.R: - really fix bug in 'trajectory' that
- occurs when 'zeronames' has length > 1
- * [r704] src/R_init_pomp.c: - forgot to export
- 'get_pomp_userdata_int' and 'get_pomp_userdata_double'
- * [r703] DESCRIPTION, R/builder.R, R/trajectory-pomp.R, demo/sir.R:
- - fix bug in 'trajectory' for vectorfield case that shows up when
- 'zeronames' has length > 1
- - re-work 'sir' demo so that it uses 'pompBuilder'
-
-2012-05-02 kingaa
-
- * [r702] inst/ChangeLog:
- * [r701] R/trajectory-pomp.R, src/pomp_internal.h, src/skeleton.c,
- src/trajectory.c: - work on the guts of the 'skeleton' and
- 'trajectory' for speed up in vectorfield case
- * [r700] tests/demos.R: - remove automatic running of demos (since
- this fails under windows)
- * [r699] R/builder.R: - add declarations for
- 'get_pomp_userdata_int' and 'get_pomp_userdata_double'
- * [r698] src/rmeasure.c: - remove unused variables
- * [r697] DESCRIPTION, inst/ChangeLog:
- * [r696] demo/gompertz.R, demo/sir.R, src/dmeasure.c, src/euler.c,
- src/pomp_internal.h, src/rmeasure.c, src/skeleton.c,
- src/trajectory.c, tests/demos.R, tests/examples.R: - changes to
- eliminate pedantic warnings
- - put covariate table interpolation into vectorfield trajectory
- computation
- * [r695] inst/ChangeLog:
- * [r694] DESCRIPTION, R/trajectory-pomp.R, src/trajectory.c: - more
- work on the guts of 'trajectory' for the vectorfield case
-
-2012-05-01 kingaa
-
- * [r693] src/trajectory.c: - make sure to set up 'userdata' access
- to user functions
- * [r692] inst/ChangeLog:
- * [r691] R/simulate-pomp.R, R/trajectory-pomp.R, tests/ricker.R,
- tests/ricker.Rout.save: - make 'sim' and 'traj' into factors when
- 'simulate' or 'trajectory' are called with 'as.data.frame=TRUE'
-
-2012-04-30 kingaa
-
- * [r690] inst/doc/advanced_topics_in_pomp.pdf,
- inst/doc/intro_to_pomp.pdf:
- * [r689] inst/ChangeLog:
- * [r688] DESCRIPTION, R/builder.R, inst/ChangeLog, man/builder.Rd,
- src/trajectory.c: - rework the guts of 'iterate_map' for much
- faster trajectory calculation
-
-2012-04-29 kingaa
-
- * [r687] src/dmeasure.c, src/skeleton.c: - more work on the guts
-
-2012-04-28 kingaa
-
- * [r686] DESCRIPTION, src/euler.c, src/rmeasure.c: - more changes
- to the guts
-
-2012-04-27 kingaa
-
- * [r685] DESCRIPTION, R/pomp-fun.R, R/pomp.R, data/bbs.rda,
- data/blowflies.rda, data/dacca.rda, data/euler.sir.rda,
- data/gillespie.sir.rda, data/gompertz.rda, data/ou2.rda,
- data/ricker.rda, data/rw2.rda, data/verhulst.rda,
- inst/doc/advanced_topics_in_pomp.pdf,
- inst/doc/bsmc-ricker-flat-prior.rda,
- inst/doc/gompertz-multi-mif.rda, inst/doc/gompertz-trajmatch.rda,
- inst/doc/intro_to_pomp.pdf, inst/doc/nlf-block-boot.rda,
- inst/doc/nlf-boot.rda, inst/doc/nlf-fit-from-truth.rda,
- inst/doc/nlf-fits.rda, inst/doc/nlf-lag-tests.rda,
- inst/doc/nlf-multi-short.rda, inst/doc/ricker-mif.rda,
- inst/doc/ricker-probe-match.rda, src/dmeasure.c, src/euler.c,
- src/lookup_table.c, src/partrans.c, src/pomp_fun.c,
- src/pomp_internal.h, src/rmeasure.c, src/skeleton.c: - changes to
- the guts of 'rmeasure', 'dmeasure', 'partrans', and the Euler
- rprocess plugins
-
-2012-04-26 kingaa
-
- * [r684] R/builder.R, demo/gompertz.R, inst/ChangeLog: - zeronames
- argument in 'pompBuilder' is optional
- * [r683] DESCRIPTION, NAMESPACE, R/builder.R, data/bbs.rda,
- data/blowflies.rda, data/dacca.rda, data/euler.sir.rda,
- data/gillespie.sir.rda, data/gompertz.rda, data/ou2.rda,
- data/ricker.rda, data/rw2.rda, data/verhulst.rda,
- demo/gompertz.R, demo/logistic.R, inst/ChangeLog, inst/NEWS,
- inst/data-R/sir.R, inst/doc/advanced_topics_in_pomp.Rnw,
- inst/doc/advanced_topics_in_pomp.pdf, inst/doc/intro_to_pomp.Rnw,
- inst/doc/intro_to_pomp.pdf, inst/examples/gompertz.c,
- inst/include/pomp.h, man/builder.Rd, src/R_init_pomp.c,
- src/SSA_wrapper.c, src/dmeasure.c, src/euler.c, src/partrans.c,
- src/pomp.h, src/pomp_internal.h, src/rmeasure.c, src/sir.c,
- src/skeleton.c, src/userdata.c, tests/bbs.Rout.save,
- tests/pfilter.Rout.save, tests/skeleton.R,
- tests/skeleton.Rout.save: - add new facility for accessing
- 'userdata' from within user-defined native routines:
- get_pomp_userdata{,_int,_double}
- - change some data()-loadable examples to make use of this
- - make 'pompBuilder' visible
- - modify 'gompertz' demo to make use of 'pompBuilder'
-
-2012-04-25 kingaa
-
- * [r682] inst/doc/advanced_topics_in_pomp.Rnw: - minor tweak to
- pompBuilder example
- * [r681] NAMESPACE, R/trajectory-pomp.R, src/trajectory.c: - put in
- a routine to reset external variables after deSolve call
- * [r680] src/bspline.c: - fix error message
-
-2012-04-24 kingaa
-
- * [r679] DESCRIPTION, R/builder.R, inst/ChangeLog, inst/NEWS,
- inst/TODO, inst/doc/Makefile,
- inst/doc/advanced_topics_in_pomp.Rnw,
- inst/doc/advanced_topics_in_pomp.pdf: - put 'pompBuilder'
- demonstration into 'advanced topics' vignette
- * [r678] R/aaa.R, R/nlf-funcs.R, R/plot-pomp.R, R/pomp.R,
- R/probe-match.R, R/probe.R, R/spect.R: - use 'paste0' where
- appropriate. define 'paste0' for use with R <= 2.15.0
-
-2012-04-23 kingaa
-
- * [r677] DESCRIPTION: - change Depends to 2.14.2
- * [r676] DESCRIPTION, R/builder.R, data/bbs.rda,
- data/blowflies.rda, data/dacca.rda, data/euler.sir.rda,
- data/gillespie.sir.rda, data/gompertz.rda, data/ou2.rda,
- data/ricker.rda, data/rw2.rda, data/verhulst.rda, inst/NEWS,
- inst/data-R/blowflies.R, src/blowfly.c, tests/blowflies.R,
- tests/blowflies.Rout.save, tests/sir.Rout.save: - remove the
- delay 'tau' from the blowflies example
- - make the 'pompBuilder' work under 2.14.2
- - update the data()-loadable examples
-
-2012-04-21 kingaa
-
- * [r675] inst/doc/advanced_topics_in_pomp.pdf,
- inst/doc/intro_to_pomp.pdf: - update vignettes
- * [r674] DESCRIPTION, inst/ChangeLog, inst/NEWS: - bump version
- number since R 2.15.0 is now needed
- * [r673] inst/NEWS, tests/pfilter.Rout.save: - update unit tests
- and NEWS
-
-2012-04-19 kingaa
-
- * [r670] DESCRIPTION, data/bbs.rda, data/blowflies.rda,
- data/dacca.rda, data/euler.sir.rda, data/gillespie.sir.rda,
- data/gompertz.rda, data/ou2.rda, data/ricker.rda, data/rw2.rda,
- data/verhulst.rda, inst/data-R/blowflies.R, src/blowfly.c: - fix
- segfault bug in blowfly example when tau is NA (thanks to Greg
- Minshall for finding the bug)
-
-2012-04-17 kingaa
-
- * [r664] ., .Rbuildignore, .Rinstignore, DESCRIPTION, NAMESPACE, R,
- data, demo, inst, man, src, tests: - move everything down one
- level
-
Deleted: branches/mif2/inst/NEWS
===================================================================
--- branches/mif2/inst/NEWS 2014-04-17 13:13:21 UTC (rev 921)
+++ branches/mif2/inst/NEWS 2014-04-17 13:21:28 UTC (rev 922)
@@ -1,511 +0,0 @@
-NEWS
-0.45-4
- o changes in the way 'reulermultinom', 'deulermultinom', 'dot_product' are exported to other packages. Rather than just being exported as linkables, these are now also defined as static inline functions in the 'pomp.h' header.
-
-0.45-3
- o fix bug with 'continue' and method 'mif2'
-
-0.45-2
- o new method to coerce 'pfilterd.pomp' objects to data-frames.
-
-0.45-1
- o 'profileDesign' can now handle variables of mixed type.
-
-0.44-1
- o New 'mif2' option for 'mif'.
-
- o The default behavior for 'mif' and 'pfilter' with respect to filtering failures has been changed.
- Before, the default behavior has been to stop with an error on the first filtering failure ('max.fail=0').
- Now, the default is 'max.fail=Inf', i.e., an error is never triggered.
-
- o The implementation of MIF cooling schedules has been changed to make it more general.
- The cooling schedule is now specified by a 'type' and a 'fraction'.
- Currently, supported 'cooling.type's include 'geometric' (the old behavior) and 'hyperbolic', i.e., a 1/(1+n) schedule.
- The 'cooling.fraction' argument specifies the cooling at 50 iterations.
- That is, if s is the intensity of the random-walk perturbation to parameters at the first iteration ('rw.sd'), then the intensity at iteration 50 is s*cooling.fraction.
-
- o Remove all data()-loadable pomp objects.
- To load the prebuilt example pomp objects from previous versions, use the new 'pompExample' function.
- E.g., instead of 'data(euler.sir)', do 'pompExample("euler.sir")'.
-
-0.43-4
- o Clean up tests.
-
-0.43-3
- o Fix bug in 'pompBuilder' on mac.
-
- o Fix bug in 'dmeasure' when log=TRUE. Bug located by R. Reiner.
-
- o Add 'eff.sample.size' and 'cond.logLik' methods for 'pfilterd.pomp' objects.
-
-0.43-1
- o Modify 'traj.match.objfun' to allow arbitrary parameters to be passed to the ODE integrator.
-
- o Add 'params' argument to 'pomp' so that parameters can be specified at the time the pomp object is created.
-
-0.42-6
- o Improve error checking in 'pomp'.
-
- o Add support for covariates to 'pompBuilder'.
-
- o Add native parameter transformation routines to the demos.
-
- o Change the warning behavior in 'lookup_table' so that warnings are not generated unless true extrapolation is performed (i.e., eliminate the warnings at the boundary).
-
- o Some small modifications to the 'pomp.h' header file.
-
-0.42-4
- o When 'trajectory' calls 'ode', there is a need to preserve information across calls to the vectorfield-evaluating function.
- The code has been modified to do this in a cleaner way.
-
-0.42-2
- o Several minor bugs have been fixed.
- See the ChangeLog for details.
-
-0.42-1
- o An EXPERIMENTAL facility for constructing pomp objects out of native C routines is now included (pompBuilder).
- This facility is being actively developed and future changes may not be backward compatible.
-
- o A new facility allowing access to the 'userdata' slot of a pomp object from compiled 'rprocess', 'rmeasure', 'dprocess', 'dmeasure', 'skeleton', and 'partrans' codes is now available.
- Calls to the new C routines 'get_pomp_userdata', 'get_pomp_userdata_int', and 'get_pomp_userdata_double' allow retrieval of these elements.
-
- o Some of the data()-loadable examples have been reworked to make use of the above facility.
- The parameterization of these examples has changed.
- These changes are not backward compatible: codes that depend on the data()-loadable examples may be broken.
-
-0.41-8
- o A demonstration of 'pompBuilder' has been put into the 'advanced topics' vignette.
-
-0.41-7
- o A bug in the 'blowflies' example has been fixed.
- Thanks to Greg Minshall for discovering it.
-
-0.41-6
- o The 'gompertz' example parameter transformations have been changed.
- No longer are the names of the parameter vector changed in the transformation.
- This change is not backward-compatible, but only codes using this example are affected.
-
- o The 'euler.sir' and 'gillespie.sir' examples have been changed.
- The transmission rate beta(t) is now the arithmetic sum of the seasonality basis functions.
- Before, it was the geometric sum.
[TRUNCATED]
To get the complete diff run:
svnlook diff /svnroot/pomp -r 922
More information about the pomp-commits
mailing list