Here are some to-dos for concurve in the future.

  • More unit tests for various purposes as Alex Hayes describes in his wonderful article. He classifies them into three types, which I copy and paste below:
    • “Correctness tests check whether the code calculates the quantity it is supposed to calculated.”
    • “Parameter recovery tests check whether the implementation can recover correct parameters in well understood scenarios.”
    • “Convergence tests check whether iterative fitting procedures have actually reached a solution.”
    • “Identification tests check whether the solution is unique, and stable under small perturbations to the data.” * * *
  • Make curve_rev() more usable for a wide range of scenarios (beyond proportions, and normal approximations). The confidence functions they produce especially break down with continuous variables, so I have completely disabled the option for now, and will implement an approach by working backwards from the deviance and log-likelihood functions. * * *
  • Produce consonance/confidence functions for quantile regressions from the quantreg package
  • Implementation with the nlme package, although that has already started with some experimental work I and the other developers have done with the generalized least squares method from nlme. * * *
  • Possibly incorporate rstan via rstantools to produce likelihoods and posteriors

If you’d like to help contribute, please see the contributing guide.

R Package Citations

citation("quantreg")
## 
## To cite package 'quantreg' in publications use:
## 
##   Roger Koenker (2020). quantreg: Quantile Regression. R package
##   version 5.73. https://CRAN.R-project.org/package=quantreg
## 
## A BibTeX entry for LaTeX users is
## 
##   @Manual{,
##     title = {quantreg: Quantile Regression},
##     author = {Roger Koenker},
##     year = {2020},
##     note = {R package version 5.73},
##     url = {https://CRAN.R-project.org/package=quantreg},
##   }
citation("nlme")
## 
## Pinheiro J, Bates D, DebRoy S, Sarkar D, R Core Team (2020). _nlme:
## Linear and Nonlinear Mixed Effects Models_. R package version 3.1-149,
## <URL: https://CRAN.R-project.org/package=nlme>.
## 
## A BibTeX entry for LaTeX users is
## 
##   @Manual{,
##     title = {{nlme}: Linear and Nonlinear Mixed Effects Models},
##     author = {Jose Pinheiro and Douglas Bates and Saikat DebRoy and Deepayan Sarkar and {R Core Team}},
##     year = {2020},
##     note = {R package version 3.1-149},
##     url = {https://CRAN.R-project.org/package=nlme},
##   }
citation("rstan")
## 
## To cite RStan in publications use:
## 
##   Stan Development Team (2020). RStan: the R interface to Stan. R
##   package version 2.21.2. http://mc-stan.org/.
## 
## A BibTeX entry for LaTeX users is
## 
##   @Misc{,
##     title = {{RStan}: the {R} interface to {Stan}},
##     author = {{Stan Development Team}},
##     note = {R package version 2.21.2},
##     year = {2020},
##     url = {http://mc-stan.org/},
##   }
citation("rstantools")
## 
## To cite package 'rstantools' in publications use:
## 
##   Jonah Gabry, Ben Goodrich and Martin Lysy (2020). rstantools: Tools
##   for Developing R Packages Interfacing with 'Stan'. R package version
##   2.1.1. https://CRAN.R-project.org/package=rstantools
## 
## A BibTeX entry for LaTeX users is
## 
##   @Manual{,
##     title = {rstantools: Tools for Developing R Packages Interfacing with 'Stan'},
##     author = {Jonah Gabry and Ben Goodrich and Martin Lysy},
##     year = {2020},
##     note = {R package version 2.1.1},
##     url = {https://CRAN.R-project.org/package=rstantools},
##   }