-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
[REVIEW]: Empirical and non-parametric copula models with the cort
R package
#2653
Comments
Hello human, I'm @whedon, a robot that can help you with some common editorial tasks. @coatless, @agisga it looks like you're currently assigned to review this paper 🎉. Due to the challenges of the COVID-19 pandemic, JOSS is currently operating in a "reduced service mode". You can read more about what that means in our blog post. ⭐ Important ⭐ If you haven't already, you should seriously consider unsubscribing from GitHub notifications for this (https://github.com/openjournals/joss-reviews) repository. As a reviewer, you're probably currently watching this repository which means for GitHub's default behaviour you will receive notifications (emails) for all reviews 😿 To fix this do the following two things:
For a list of things I can do to help you, just type:
For example, to regenerate the paper pdf after making changes in the paper's md or bib files, type:
|
|
@coatless do you need any further information to start the review? The review can proceed by steps, so that you can send partial feedback to the author and start with a smaller time chunk than for a full review. |
I'm a huge fan of the package. Long ago I stepped foot into copula estimation with R and was disappointed by the tools available. READMEInstallationPlease indicate on the README that installation from GitHub will require the system to have a compiler.
I would also add a note that the estimation routines for copulas are written in C++ within the JOSS paper. At present, the use of C++ isn't stated as it only mentions S4 and R. ContributingThere isn't a Contributor Code of Conduct, contributor guidelines, or how to report a problem list. Perhaps this could be added to the end of the README? VignettesReproducibilityWhen using the https://lrnv.github.io/cort/articles/vignette02_cort_clayton.html#dataset-1 At this point, it would be better to explicitly set a dependency on StylingDepending on the Vignette, the R code shown either lacks space or has a lot of space. For example:
Consistency here would be appreciated. Consider running CodeAPIsnake_case vs. camelCaseFunctions within the package switch back and forth between using snake_case and CamelCase. It would be ideal if there could be some consistency. https://lrnv.github.io/cort/reference/index.html Moreover, could the reference portion of the API on the Minor note: DocumentationThere is a documentation article for each function. However, I think some of the documentation entries should receive additional insight into the implementation, improved explanation of what is happening in the example, and perhaps a periodic change in which data set is used for the computation. (~4 ship with the package but only For instance, in the the titular function https://lrnv.github.io/cort/reference/Cort-Class.html R> cop <- Cort(LifeCycleSavings[,1:3])
#Splitting...
#
# 1 leaves to split...
# 5 leaves to split...
# 10 leaves to split...
# 1 leaves to split...
#Enforcing constraints...
#Done !
R> str(cop)
#Formal class 'Cort' [package "cort"] with 11 slots
# ..@ p_value_for_dim_red: num 0.75
# ..@ number_max_dim : int 3
# ..@ min_node_size : num 1
# ..@ verbose_lvl : num 1
# ..@ vols : num [1:88] 0.05559 0.16964 0.04987 0.06598 0.00195 ...
# ..@ f : num [1:88] 0 0.02 0.02 0.02 0.02 0 0 0 0.02 0 ...
# ..@ p : num [1:88] 1.95e-09 5.75e-02 2.66e-02 7.37e-03 9.78e-04 ...
# ..@ a : num [1:88, 1:3] 0 0.227 0 0 0 ...
# ..@ b : num [1:88, 1:3] 0.227 1 0.227 0.227 0.227 ...
# ..@ data : num [1:50, 1:3] 0.627 0.686 0.824 0.235 0.804 ...
# ..@ dim : int 3 In contrast, the S4 documentation for In another documentation entry, I think a numerical tolerance issue is present due to using R> quad_prod(cop,cop)
# [1] 10.81164
R> quad_norm(cop)
# [1] 10.81164
R> quad_norm(cop) == quad_prod(cop,cop)
# [1] FALSE Simulated DataFor the simulated data sets, there isn't a simulation script associated with the help file:
Though, the scripts can be found in: https://github.com/lrnv/cort/tree/master/data-raw I think it would be helpful to link to |
Thank you for the review @coatless ! |
I'm deeply sorry for the delay in the review (the timing turned out to be very far from ideal for me unfortunately). Thank you for the patience. I think that Vignettes In addition to what @coatless has mentioned, the second code block in vignette 4 (https://cran.r-project.org/web/packages/cort/vignettes/vignette04_bootstrap_varying_m.html) has the following redundant lines that should be removed:
Automated tests I get some warnings when running the automated tests manually with
While this is very minor issue, I think such warnings should be fixed (or maybe explicitly set to be ignored) unless there are reasons not to. State of the field
I'm not very familiar with estimation of non-parametric copulas and so this may not be relevant, but I don't really see a comparison to other R or Python packages. A simple web search shows that other copula estimation packages exist. While the Quality of writing There are some minor grammatical and spelling mistakes in the paper. So, a proofreading would be beneficial. Here are some of the mistakes I noticed:
|
Well, first, thanks to you two @coatless and @agisga for taking the time. At first glance, the review you produced are very interesting, and i can only nod to every point you highlighted. The plan i have right now: @pdebuyl do you agree with this plan ? Please tell me what you think. @pdebuyl One way i might do it is to create a bunch of issues in my repo corresponding to each point of the reviews; will that make sense to you ? |
@lrnv Your plan is fine. You will need to archive the code to zenodo as well, though. This is part of the JOSS process and the zenodo archive DOI will be included in the article. I will also perform a final proofreading before forwarding the article to an editor in chief for publication. The paper might thus cause a few more commits to the git repository but this won't change the software itself so that the CRAN and zenodo version are good. Typo, page 2, first line. "efficicent" -> "efficient" Typo, page 2, acknowledgments. "meaningfull" -> "meaningful". Grammar, page 2, second paragraph. "by statistician" -> "by statisticians" (if you pick singular instead, then conjugation of "need" should be changed as well). Affiliation: please add "France" to the first affiliation and spell out the second affiliation (+ add city and country). For specific issues such as the API naming, you can discuss them in cort issues and report the conclusion here. For changes to the paper, I prefer if they are done in this thread. |
@lrnv can you let us know of the progress here? Even though most of the review is done, there are still a few checkboxes to tick. |
@pdebuyl The progress is zero for the moment, i did not took the time yet. Could i have a few extra weeks ? |
|
Thanks. Could you add the arxiv link to the papers missing one, as it is done for Bengtsson 2020 ? Also, can you use the DOI instead of the url for the J Stat Soft papers? DOIs should be the most stable identifiers and are preferred. Ram & Gray has doi 10.1145/2020408.2020507 can you use it? |
I added some urls and doi in the bib file. Sklar's paper is too old to have any of these unfortunately; |
@whedon generate pdf |
@whedon check references |
|
The reference checker is an indicative first pass. It's almost there lrnv/cort#31 |
@whedon generate pdf |
@whedon accept |
|
👋 @openjournals/joss-eics, this paper is ready to be accepted and published. Check final proof 👉 openjournals/joss-papers#1957 If the paper PDF and Crossref deposit XML look good in openjournals/joss-papers#1957, then you can now move forward with accepting the submission by compiling again with the flag
|
|
@whedon accept deposit=true |
|
🐦🐦🐦 👉 Tweet for this paper 👈 🐦🐦🐦 |
🚨🚨🚨 THIS IS NOT A DRILL, YOU HAVE JUST ACCEPTED A PAPER INTO JOSS! 🚨🚨🚨 Here's what you must now do:
Any issues? Notify your editorial technical team... |
🎉🎉🎉 Congratulations on your paper acceptance! 🎉🎉🎉 If you would like to include a link to your paper from your README use the following code snippets:
This is how it will look in your documentation: We need your help! Journal of Open Source Software is a community-run journal and relies upon volunteer effort. If you'd like to support us please consider doing either one (or both) of the the following:
|
Submitting author: @lrnv (Oskar Laverny)
Repository: https://github.com/lrnv/cort
Version: v0.3.2
Editor: @pdebuyl
Reviewer: @coatless, @agisga
Archive: 10.5281/zenodo.4301435
Due to the challenges of the COVID-19 pandemic, JOSS is currently operating in a "reduced service mode". You can read more about what that means in our blog post.
Status
Status badge code:
Reviewers and authors:
Please avoid lengthy details of difficulties in the review thread. Instead, please create a new issue in the target repository and link to those issues (especially acceptance-blockers) by leaving comments in the review thread below. (For completists: if the target issue tracker is also on GitHub, linking the review thread in the issue or vice versa will create corresponding breadcrumb trails in the link target.)
Reviewer instructions & questions
@coatless & @agisga, please carry out your review in this issue by updating the checklist below. If you cannot edit the checklist please:
The reviewer guidelines are available here: https://joss.readthedocs.io/en/latest/reviewer_guidelines.html. Any questions/concerns please let @pdebuyl know.
✨ Please start on your review when you are able, and be sure to complete your review in the next six weeks, at the very latest ✨
Review checklist for @coatless
Conflict of interest
Code of Conduct
General checks
Functionality
Documentation
Software paper
Review checklist for @agisga
Conflict of interest
Code of Conduct
General checks
Functionality
Documentation
Software paper
The text was updated successfully, but these errors were encountered: