Submitting author: @MaciejDanko (Maciej J. DaΕko)
Repository: https://github.com/MaciejDanko/hopit
Version: v0.10.1.9000
Editor: @alexhanna
Reviewer: @soodoku, @mkearney
Archive: 10.5281/zenodo.3530634
Status badge code:
HTML: <a href="http://joss.theoj.org/papers/73b926670df79a6cfa48cffa7d4775a6"><img src="http://joss.theoj.org/papers/73b926670df79a6cfa48cffa7d4775a6/status.svg"></a>
Markdown: [](http://joss.theoj.org/papers/73b926670df79a6cfa48cffa7d4775a6)
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.)
@soodoku & @mkearney, 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 @alexhanna know.
β¨ Please try and complete your review in the next two weeks β¨
paper.md file include a list of authors with their affiliations?paper.md file include a list of authors with their affiliations?Hello human, I'm @whedon, a robot that can help you with some common editorial tasks. @soodoku, @mkearney it looks like you're currently assigned to review this paper :tada:.
:star: Important :star:
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:
@whedon commands
Attempting PDF compilation. Reticulating splines etc...
@soodoku, I noticed that you haven't checked "functionality" in the functionality checklist.
I decided to improved the functionality of the package by adding generic functions (_print_, _summary_, _plot_) to _latentIndex_, _standardizeCoef_, _getLevels_, and _getCutPoints_. I also improved the code so the functions are easier to run (less 'initial' parameters) for a user. The vignette and readme were slightly modified to follow the code update.
The community guidelines are now both in the readme and the contributing files
I also put DOI everywhere where it was passible.
thanks @MaciejDanko. cool improvements. hope to test it out v. soon and update the checklist!
@MaciejDanko: went through the package and the health example to check functionality. things seem to pan out. i have put in an all-clear.
my only rec. would be = to prove to yourself that you are doing the right thing computationally, use either an off-the-shelf package or a toy example that you can reason through. otherwise, god speed!
@alexhanna β reviewer @mkearney seems to have gone MIA: could you try reaching out via email to get a status update? The other reviewer has completed his checklist.
@soodoku thank you very much for the review. I have already checked the package by the replicating the results of Jurges (2007, doi: 10.1002/hec.1134) model. The data and the model slightly differed, however I got almost identical results. I have also double checked the model fitting algorithm.
Messaged @mkearney to check if he was able to still serve as a reviewer on the package.
@whedon generate pdf
Attempting PDF compilation. Reticulating splines etc...
The paper draft looks good to me. Just a reminder to update the ??? parts of the paper.md file once the review is completed. I'll give @mkearney two weeks to reply to the review.
@openjournals/jose-eics if the reviewer doesn't respond, should we try to find another review for this package before continuing on it?
@openjournals/jose-eics if the reviewer doesn't respond, should we try to find another review for this package before continuing on it?
@alexhanna - there are a couple of options here:
My apologies for the delay. The end of summer/beginning of Fall got away from me!
I got the package installed, working, and everything [including the paper] looks great, @MaciejDanko and @alexhanna !!
A few minor notes:
.Rprofile to get it installed properly. So this was 100% user error, but I don't usually have to rename my .Rprofile to get packages working properlyβand this kind of hurdle might prevent some people from using the package.@mkearney, thank you for your review!
vglm function of the VGAM package. The vglm() and the hopit() fit different models, but for this particular (simple) example (and data ?) one can compare (at least) the fit of the health variable coefficients.library(VGAM)
library(hopit)
# Let us define a very simple model such that both packages can easily run it; i.e.
# no interactions between threshold and health variables,
# no survey design, no fitting of sigma, etc.
latent.formula <- health ~ hypertension + high_cholesterol +
heart_attack_or_stroke + poor_mobility + very_poor_grip +
depression + respiratory_problems +
IADL_problems + obese + diabetes + other_diseases
thresh.formula <- ~ sex + ageclass + country
# Fit the hopit model
model1.hopit <- hopit(latent.formula = latent.formula,
thresh.formula = thresh.formula,
decreasing.levels = TRUE,
data = healthsurvey)
# Fit the vglm model
healthsurvey$health <- ordered(healthsurvey$health)
thresh.right <- deparse(thresh.formula[[2]])
big.formula <- update.formula(latent.formula,paste('. ~ . +',thresh.right))
parallel.formula <- formula(paste('FALSE ~', thresh.right))
model1.vglm<-vglm(big.formula, data = healthsurvey,
family = cumulative(parallel = parallel.formula, link = 'probit'))
# Can compare only health variables; thresholds are modelled in a different way
round(cbind(VGAM= - coef(model1.vglm)[5:15],
hopit=coef(model1.hopit,aslist=TRUE)$latent.params),4)
The bootstrapping (boot_hopit) is not present in automated test, because running it takes some time. The boot_hopit is also quite simple function, which is not so prone to errors or changes in the main algorithm. Nonetheless, all examples of the boot_hopit and vignette were tested and work fine.
The hopit package (installation, auto-tests, examples, etc.) was tested on Travis (Linux) and AppVeyor (Windows). It was also checked during submission to CRAN. I will try to figure out the issue with .Rprofile, but so far I cannot replicate it. I cannot even guess why it could happen.
The script version of README can be seen on GitHub (click raw option or use this link README). I am not sure if it is a common practice to supply a code for vignette on GitHub. Anyway, I am attaching the most recent version of the code here hopit_vignette.zip. I hope it will be helpful :).
@whedon generate pdf
Attempting PDF compilation. Reticulating splines etc...
@alexhanna, the issue with ??? is resolved now.
@mkearney,
I noticed emoji under my reply, but you haven't ticked "performance" on the functionality checklist off.
Please let me known if you have any questions. I would be happy to help
π hi @mkearney can you check if you agree that the performance criteria has been met?
:wave: @mkearney it's been nearly three weeks. Can you look at this?
Actually it is almost six weeks since @mkearney replied :-/
@mkearney,
I noticed emoji under my reply, but you haven't ticked "performance" on the functionality checklist off.
Please let me known if you have any questions. I would be happy to help
I thought I fixed this two different times. That'll teach me to do Github things on my phone... π
Hi @alexhanna, the performance box has been ticked, could we proceed further? :)
@whedon generate pdf
Attempting PDF compilation. Reticulating splines etc...
This is looking good to me. Thanks for all your work on this, @mkearney and @soodoku.
π @MaciejDanko - the last step we need you to do is get a DOI number from Zenodo and post it here. We can then assign the repository a DOI and pass it off to the EIC for acceptance.
π π @MaciejDanko - let's publish this thing! If you can get the DOI number then we can pass it off.
Hi @alexhanna,
here is the DOI:
10.5281/zenodo.3530634
:wave: @alexhanna - let's do it asap, next week I am out of office.
@whedon set 10.5281/zenodo.3530634 as archive
OK. 10.5281/zenodo.3530634 is the archive.
@whedon generate pdf
Attempting PDF compilation. Reticulating splines etc...
@whedon check references
Attempting to check references...
```Reference check summary:
OK DOIs
MISSING DOIs
INVALID DOIs
Hi @MaciejDanko, I made a small PR for a missing DOI (https://github.com/MaciejDanko/hopit/pull/12). Once you accept this, we should be good to go.
@whedon check references
Attempting to check references...
```Reference check summary:
OK DOIs
MISSING DOIs
INVALID DOIs
@MaciejDanko -- hrm, it looks like it didn't update. if you're not citing the book, you could also choose to remove it.
@whedon generate pdf
Attempting PDF compilation. Reticulating splines etc...
@whedon check references
Attempting to check references...
```Reference check summary:
OK DOIs
MISSING DOIs
INVALID DOIs
Hi @alexhanna , it works now, thanks!
Excellent. @openjournals/joss-eics, this one is also ready to go.
Hi @MaciejDanko β I found no releases in the repo. Please make a tagged release with the reviewed version of the software and post the version number here to update the metadata.
Hi @labarba - I made a release tagged v0.10.1.9000
@whedon set v0.10.1.9000 as version
OK. v0.10.1.9000 is the version.
Could you merge my small fix in the .bib?
Hi @labarba - the small fix was merged, thank you.
@whedon accept
Attempting dry run of processing paper acceptance...
```Reference check summary:
OK DOIs
MISSING DOIs
INVALID DOIs
Check final proof :point_right: https://github.com/openjournals/joss-papers/pull/1103
If the paper PDF and Crossref deposit XML look good in https://github.com/openjournals/joss-papers/pull/1103, then you can now move forward with accepting the submission by compiling again with the flag deposit=true e.g.
@whedon accept deposit=true
@whedon accept deposit=true
Doing it live! Attempting automated processing of paper acceptance...
π¦π¦π¦ π Tweet for this paper π π¦π¦π¦
π¨π¨π¨ THIS IS NOT A DRILL, YOU HAVE JUST ACCEPTED A PAPER INTO JOSS! π¨π¨π¨
Here's what you must now do:
Party like you just published a paper! πππ¦ππ»π€
Any issues? notify your editorial technical team...
Congratulations, @MaciejDanko, your JOSS paper is published! π
Sincere thanks to our editor: @alexhanna, and the reviewers: @soodoku, @mkearney β we couldn't do this without you π
:tada::tada::tada: Congratulations on your paper acceptance! :tada::tada::tada:
If you would like to include a link to your paper from your README use the following code snippets:
Markdown:
[](https://doi.org/10.21105/joss.01508)
HTML:
<a style="border-width:0" href="https://doi.org/10.21105/joss.01508">
<img src="https://joss.theoj.org/papers/10.21105/joss.01508/status.svg" alt="DOI badge" >
</a>
reStructuredText:
.. image:: https://joss.theoj.org/papers/10.21105/joss.01508/status.svg
:target: https://doi.org/10.21105/joss.01508
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:
Most helpful comment
@mkearney, thank you for your review!
vglmfunction of the VGAM package. Thevglm()and thehopit()fit different models, but for this particular (simple) example (and data ?) one can compare (at least) the fit of the health variable coefficients.library(VGAM)library(hopit)# Let us define a very simple model such that both packages can easily run it; i.e.# no interactions between threshold and health variables,# no survey design, no fitting of sigma, etc.latent.formula <- health ~ hypertension + high_cholesterol +heart_attack_or_stroke + poor_mobility + very_poor_grip +depression + respiratory_problems +IADL_problems + obese + diabetes + other_diseasesthresh.formula <- ~ sex + ageclass + country# Fit the hopit modelmodel1.hopit <- hopit(latent.formula = latent.formula,thresh.formula = thresh.formula,decreasing.levels = TRUE,data = healthsurvey)# Fit the vglm modelhealthsurvey$health <- ordered(healthsurvey$health)thresh.right <- deparse(thresh.formula[[2]])big.formula <- update.formula(latent.formula,paste('. ~ . +',thresh.right))parallel.formula <- formula(paste('FALSE ~', thresh.right))model1.vglm<-vglm(big.formula, data = healthsurvey,family = cumulative(parallel = parallel.formula, link = 'probit'))# Can compare only health variables; thresholds are modelled in a different wayround(cbind(VGAM= - coef(model1.vglm)[5:15],hopit=coef(model1.hopit,aslist=TRUE)$latent.params),4)The bootstrapping (
boot_hopit) is not present in automated test, because running it takes some time. Theboot_hopitis also quite simple function, which is not so prone to errors or changes in the main algorithm. Nonetheless, all examples of theboot_hopitand vignette were tested and work fine.The hopit package (installation, auto-tests, examples, etc.) was tested on Travis (Linux) and AppVeyor (Windows). It was also checked during submission to CRAN. I will try to figure out the issue with
.Rprofile, but so far I cannot replicate it. I cannot even guess why it could happen.The script version of README can be seen on GitHub (click raw option or use this link README). I am not sure if it is a common practice to supply a code for vignette on GitHub. Anyway, I am attaching the most recent version of the code here hopit_vignette.zip. I hope it will be helpful :).