Package: dcurver 0.9.2

Oğuzhan Öğreden

dcurver: Utility Functions for Davidian Curves

A Davidian curve defines a seminonparametric density, whose shape and flexibility can be tuned by easy to estimate parameters. Since a special case of a Davidian curve is the standard normal density, Davidian curves can be used for relaxing normality assumption in statistical applications (Zhang & Davidian, 2001) <doi:10.1111/j.0006-341X.2001.00795.x>. This package provides the density function, the gradient of the loglikelihood and a random generator for Davidian curves.

Authors:Oğuzhan Öğreden

dcurver_0.9.2.tar.gz
dcurver_0.9.2.tar.gz(r-4.5-noble)dcurver_0.9.2.tar.gz(r-4.4-noble)
dcurver_0.9.2.tgz(r-4.4-emscripten)dcurver_0.9.2.tgz(r-4.3-emscripten)
dcurver.pdf |dcurver.html
dcurver/json (API)
NEWS

# Install 'dcurver' in R:
install.packages('dcurver', repos = 'https://cloud.r-project.org')

Bug tracker:https://github.com/oguzhanogreden/dcurver/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library

On CRAN:

Conda:

openblascppopenmp

4.44 score 42 packages 4.4k downloads 3 exports 2 dependencies

Last updated 4 years agofrom:d22a184d0c. Checks:1 OK, 2 NOTE. Indexed: no.

TargetResultLatest binary
Doc / VignettesOKMar 13 2025
R-4.5-linux-x86_64NOTEMar 13 2025
R-4.4-linux-x86_64NOTEMar 13 2025

Exports:dc_gradddcrdc

Dependencies:RcppRcppArmadillo

Citation

To cite package ‘dcurver’ in publications use:

Öğreden O (2020). dcurver: Utility Functions for Davidian Curves. R package version 0.9.2, https://CRAN.R-project.org/package=dcurver.

ATTENTION: This citation information has been auto-generated from the package DESCRIPTION file and may need manual editing, see ‘help("citation")’.

Corresponding BibTeX entry:

  @Manual{,
    title = {dcurver: Utility Functions for Davidian Curves},
    author = {Oğuzhan Öğreden},
    year = {2020},
    note = {R package version 0.9.2},
    url = {https://CRAN.R-project.org/package=dcurver},
  }

Readme and manuals

Davidian curves in R

A Davidian curve defines a seminonparametric density, whose shape and flexibility can be tuned by easy to estimate parameters. Since a special case of a Davidian curve is the standard normal density, Davidian curves can be used for relaxing normality assumption in statistical applications [1].

This package provides the density function, the gradient of the loglikelihood and a random generator for Davidian curves:

  1. ddc(x, phi), Davidian curve density function
  2. rdc(n, phi), a random sampler for Davidian curves
  3. dc_grad(x, phi), the gradient function of Davidian curves

The second argument phi of these functions is a vector, which contains the parameter(s) of a Davidian curve. The higher the number of parameters, the more flexible the density. The values of the parameres define the shape of the curve. Following [1, 2], this package provides support for Davidian curves up to 10 parameters.

References

  1. Zhang, D., & Davidian, M. (2001). Linear mixed models with flexible distributions of random effects for longitudinal data. Biometrics, 57(3), 795-802.
  2. Woods, C. M., & Lin, N. (2009). Item response theory with estimation of the latent density using Davidian curves. Applied Psychological Measurement, 33(2), 102-117.