-
-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Submission of bssm for Bayesian state space modelling #489
Comments
Thanks for submitting to rOpenSci, our editors and @ropensci-review-bot will reply soon. Type |
🚀 The following problem was found in your submission template:
👋 |
Checks for bssm (v2.0.0)git hash: 835eba3a
Package License: GPL (>= 2) 1. rOpenSci Statistical Standards (
|
measure | value | percentile | noteworthy |
---|---|---|---|
files_R | 31 | 89.1 | |
files_src | 43 | 98.4 | |
files_vignettes | 9 | 99.0 | |
files_tests | 16 | 93.5 | |
loc_R | 3992 | 93.2 | |
loc_src | 10961 | 93.8 | |
loc_vignettes | 1452 | 95.9 | TRUE |
loc_tests | 1705 | 90.7 | |
num_vignettes | 4 | 96.0 | TRUE |
data_size_total | 1153190 | 96.2 | TRUE |
data_size_median | 2342 | 69.4 | |
n_fns_r | 338 | 93.3 | |
n_fns_r_exported | 77 | 92.7 | |
n_fns_r_not_exported | 261 | 93.3 | |
n_fns_src | 291 | 98.0 | TRUE |
n_fns_per_file_r | 6 | 69.2 | |
n_fns_per_file_src | 5 | 43.4 | |
num_params_per_fn | 4 | 67.6 | |
loc_per_fn_r | 8 | 33.9 | |
loc_per_fn_r_exp | 24 | 55.8 | |
loc_per_fn_r_not_exp | 7 | 29.9 | |
loc_per_fn_src | 29 | 86.1 | |
rel_whitespace_R | 17 | 91.9 | |
rel_whitespace_src | 15 | 98.3 | TRUE |
rel_whitespace_vignettes | 23 | 97.5 | TRUE |
rel_whitespace_tests | 22 | 96.8 | TRUE |
doclines_per_fn_exp | 78 | 83.4 | |
doclines_per_fn_not_exp | 0 | 0.0 | TRUE |
fn_call_network_size | 1035 | 97.9 | TRUE |
2a. Network visualisation
Click to see the interactive network visualisation of calls between objects in package
3. goodpractice
and other checks
Details of goodpractice and other checks (click to open)
3a. Continuous Integration Badges
GitHub Workflow Results
name | conclusion | sha | date |
---|---|---|---|
R-CMD-check | 8c52ea | 2021-11-25 |
3b. goodpractice
results
R CMD check
with rcmdcheck
R CMD check generated the following note:
- checking installed package size ... NOTE
installed size is 69.1Mb
sub-directories of 1Mb or more:
data 1.1Mb
doc 3.4Mb
libs 64.0Mb
R CMD check generated the following check_fail:
- rcmdcheck_reasonable_installed_size
Test coverage with covr
Package coverage: 80.54
Cyclocomplexity with cyclocomp
The following functions have cyclocomplexity >= 15:
function | cyclocomplexity |
---|---|
bsm_ng | 34 |
bsm_lg | 30 |
predict.mcmc_output | 30 |
check_y | 28 |
run_mcmc.nongaussian | 25 |
as_bssm | 22 |
create_regression | 19 |
run_mcmc.ssm_nlg | 19 |
run_mcmc.ssm_sde | 19 |
check_u | 17 |
run_mcmc.lineargaussian | 16 |
summary.mcmc_output | 16 |
Static code analyses with lintr
lintr found the following 85 potential issues:
message | number of times |
---|---|
Lines should not be more than 80 characters. | 85 |
Package Versions
package | version |
---|---|
pkgstats | 0.0.3.52 |
pkgcheck | 0.0.2.149 |
srr | 0.0.1.141 |
Editor-in-Chief Instructions:
This package is in top shape and may be passed on to a handling editor
@ropensci-review-bot assign @bbolker as editor |
Assigned! @bbolker is now the editor |
@ropensci-review-bot seeking reviewers |
Please add this badge to the README of your package repository: [![Status at rOpenSci Software Peer Review](https://badges.ropensci.org/489_status.svg)](https://github.com/ropensci/software-review/issues/489) Furthermore, if your package does not have a NEWS.md file yet, please create one to capture the changes made during the review process. See https://devguide.ropensci.org/releasing.html#news |
This comment was marked as off-topic.
This comment was marked as off-topic.
@ropensci-review-bot assign @kingaa to reviewers |
@kingaa added to the reviewers list. Review due date is 2022-05-27. Thanks @kingaa for accepting to review! Please refer to our reviewer guide. |
This comment was marked as spam.
This comment was marked as spam.
@Athene-ai I'd like to kindly remind you not to volunteer in all issues especially as you've already got one review in progress (thank you!). #523 We also tend not to ask the same people to review twice in a row. |
This comment was marked as spam.
This comment was marked as spam.
The documentation of standards is admirable. Examining the source code, it appears to be very carefully written and in a good style. I expect it will be easy to track down bugs and to maintain the code written in this style. Adopting the user's point of view, I attempted to plunge in. I found it more difficult to do so than I suspect the authors would like. This leads to some suggestions regarding the documentation. First, it would be good if I attempted to follow the "bssm" vignette. The first example, which begins
left me wondering about the "half-normal" prior. The man page on priors is minimally informative. I do not see formulae for the prior densities, nor are there descriptions of their parametrization, nor even plots. The examples there seem mainly to be for automated-checking purposes: they shed little light for the user. Improved documentation would be helpful, as would examples of their actual usage, and some plots. Continuing with the example, I did
This did give some information, though the
However, I imagine other experienced R users, like me, would appreciate more informative outputs from the Also, I immediately found myself wanting to know:
I notice that, among the list of standards deemed inapplicable by the package authors are some that speak to these questions, and to the issues with understanding prior distributions which I mentioned before. I also noticed that this vignette mentions and discusses, but does not demonstrate, nonlinear, non-Gaussian models. Since such models are a major feature of the package, some demonstration would be appreciated. Turning to the "growth_model" vignette, I was intrigued to see that there are facilities for including snippets of C++ code. However, I was not able to follow the vignette sufficiently well as to be able to reproduce those calculations myself. I would appreciate more detailed, step-by-step instructions on how to compile the snippets shown. (For example, I get errors regarding the unknown namespace Though there is more exploration I would like to do, I will stop here for now. It is my understanding (though I am happy to be corrected) that this review process is intended to include back-and-forth. Some comments from the authors may help me complete what I hope will be a useful review. |
Thanks, @kingaa for your helpful comments. I have now updated to the package based on your suggestions, mainly by improving the documentation and adding a new plot method. I opted to just refer to the R Journal paper and the vignette in Good point about the prior documentation, I now added bit more details about the definititions priors, although these are fairly standard in terms of the pdfs. I also now note that the prior for the general models (e.g. ones defined via I also added a default plot method for the MCMC output, mimicking the classic density + trace plot style of Regarding the summary method, I opted to give the typical details of the model in the print method, whereas summary method provides the actual summaries of the model parameters. For the MCMC diagnostics there are some basic diagnostics available via Regarding the multiple chains, as stated in the NA standards, this is not automatically supported, but the The non-linear models are indeed not discussed in detail in the main vignette, but in the other vignettes ( |
Sorry to jump in. My EiC rotation just started and I'm checking the status of every open issue. I'm curious about a two things:
@kingaa RE
Typically we ask reviewers to complete their review in one go. The authors address the comments of both reviewers. Then the reviewers either (a) approve the changes or (b) request more changes. However, before you use more of your valuable time let's see what response I get. |
Since there was no response to the last query, I'm going to tag this issue as on "hold". If work resumes, we can update the tags as necessary. |
@ropensci-review-bot put on hold |
Submission on hold! |
@ldecicco-USGS: Please review the holding status |
Reviewers:
Due date for @kingaa: 2022-05-27Submitting Author: Jouni Helske (@helske)
Other Package Authors: (delete if none) Name (@mvihola)
Repository: https://github.com/helske/bssm
Version submitted: 2.0.0
Submission type: Stats
Badge grade: silver
Editor: @bbolker
Reviewers: @kingaa
Archive: TBD
Version accepted: TBD
Language: en
Pre-submission Inquiry
I have not made a pre-submission inquiry, but was asked to consider submitting by @mpadge and @noamross.
General Information
State space models provide a flexible framework for statistical inference of a broad class of time series and other dynamic data. The
bssm
package aims to provide easy to use and efficient functions for the Bayesian estimation of commonly used as well as more general user-defined state space models, which are usable in various application areas.This is the first software to implement the IS-MCMC by
Vihola, Helske, and Franks (2020) and first R package to implement delayed
acceptance pseudo-marginal MCMC for state space models. The IS-MCMC method
is also available in walker package for a
limited class of time-varying GLMss (a small subset of the models
supported by this package). Some of the functionality for exponential family
state space models is also available in KFAS, and
those models can be converted easily to bssm format for Bayesian analysis.
Not applicable.
Badging
Silver sounds appropriate.
The
bssm
complies with a large number of standards both in the general category as well as in Bayesian Software category and their sub-categories. I see the package complying with several Time Series Software standards as well, although many of those standards do not seem to be well suited or applicable to general time series modelling via state space models and/orbssm
, so at least for now I have focused on the General and Bayesian standards.The modelling framework and the implemented algorithms are very general, and since the early versions, the usability and features of the
bssm
are greatly improved to quite general models and applications (Currentlybssm
has most of the same features and many more as in the popularKFAS
package for state space modelling which has been used in various domains).Technical checks
Confirm each of the following by checking the box.
autotest
checks on the package, and ensured no tests fail.(there are few problems for which I have opened an issue/PR in the autotest repo).
srr_stats_pre_submit()
function confirms this package may be submitted.This package:
Publication options
This package is already on CRAN.
Code of conduct
The text was updated successfully, but these errors were encountered: