Package: ktweedie 1.0.3

ktweedie: 'Tweedie' Compound Poisson Model in the Reproducing Kernel Hilbert Space

Kernel-based 'Tweedie' compound Poisson gamma model using high-dimensional predictors for the analyses of zero-inflated response variables. The package features built-in estimation, prediction and cross-validation tools and supports choice of different kernel functions. For more details, please see Yi Lian, Archer Yi Yang, Boxiang Wang, Peng Shi & Robert William Platt (2023) <doi:10.1080/00401706.2022.2156615>.

Authors:Yi Lian [aut, cre], Archer Yi Yang [aut, cph], Boxiang Wang [aut], Peng Shi [aut], Robert W. Platt [aut]

ktweedie_1.0.3.tar.gz
ktweedie_1.0.3.zip(r-4.5)ktweedie_1.0.3.zip(r-4.4)ktweedie_1.0.3.zip(r-4.3)
ktweedie_1.0.3.tgz(r-4.4-x86_64)ktweedie_1.0.3.tgz(r-4.4-arm64)ktweedie_1.0.3.tgz(r-4.3-x86_64)ktweedie_1.0.3.tgz(r-4.3-arm64)
ktweedie_1.0.3.tar.gz(r-4.5-noble)ktweedie_1.0.3.tar.gz(r-4.4-noble)
ktweedie.pdf |ktweedie.html
ktweedie/json (API)

# Install 'ktweedie' in R:
install.packages('ktweedie', repos = c('https://ly129.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/ly129/ktweedie/issues

Uses libs:
  • fortran– Runtime library for GNU Fortran applications
Datasets:
  • dat - A demo dataset

On CRAN:

18 exports 2 stars 0.93 score 0 dependencies 5 scripts 254 downloads

Last updated 11 months agofrom:f174536c6d. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 11 2024
R-4.5-win-x86_64OKSep 11 2024
R-4.5-linux-x86_64OKSep 11 2024
R-4.4-win-x86_64OKSep 11 2024
R-4.4-mac-x86_64OKSep 11 2024
R-4.4-mac-aarch64OKSep 11 2024
R-4.3-win-x86_64OKSep 11 2024
R-4.3-mac-x86_64OKSep 11 2024
R-4.3-mac-aarch64OKSep 11 2024

Exports:anovadotas.kernelMatrixbesseldotkernelFastkernelMatrixkernelMultkernelPolkparktd_cvktd_cv2dktd_estimatektd_predictlaplacedotpolydotrbfdotsplinedottanhdotvanilladot

Dependencies:

ktweedie-vignette

Rendered fromktweedie-vignette.Rmdusingknitr::rmarkdownon Sep 11 2024.

Last update: 2022-10-21
Started: 2022-07-16

Readme and manuals

Help Manual

Help pageTopics
Assing kernelMatrix class to matrix objectsas.kernelMatrix as.kernelMatrix,matrix-method as.kernelMatrix-methods kernelMatrix-class
A demo datasetdat
Kernel Functionsanovadot besseldot dots fourierdot kernels kfunction kpar laplacedot polydot rbfdot show,kernel-method splinedot tanhdot vanilladot
Class "kernel" "rbfkernel" "polykernel", "tanhkernel", "vanillakernel"anovakernel-class besselkernel-class fourierkernel-class kernel-class kfunction-class kpar,kernel-method laplacekernel-class polykernel-class rbfkernel-class splinekernel-class tanhkernel-class vanillakernel-class
Kernel Matrix functionskernelFast kernelFast,anovakernel-method kernelFast,besselkernel-method kernelFast,kernel-method kernelFast,laplacekernel-method kernelFast,polykernel-method kernelFast,rbfkernel-method kernelFast,splinekernel-method kernelFast,tanhkernel-method kernelFast,vanillakernel-method kernelMatrix kernelMatrix,anovakernel-method kernelMatrix,besselkernel-method kernelMatrix,kernel-method kernelMatrix,laplacekernel-method kernelMatrix,polykernel-method kernelMatrix,rbfkernel-method kernelMatrix,splinekernel-method kernelMatrix,tanhkernel-method kernelMatrix,vanillakernel-method kernelMult kernelMult,anovakernel,ANY-method kernelMult,besselkernel,ANY-method kernelMult,character,kernelMatrix-method kernelMult,kernel-method kernelMult,laplacekernel,ANY-method kernelMult,polykernel,ANY-method kernelMult,rbfkernel,ANY-method kernelMult,splinekernel,ANY-method kernelMult,tanhkernel,ANY-method kernelMult,vanillakernel,ANY-method kernelPol kernelPol,anovakernel-method kernelPol,besselkernel-method kernelPol,kernel-method kernelPol,laplacekernel-method kernelPol,polykernel-method kernelPol,rbfkernel-method kernelPol,splinekernel-method kernelPol,tanhkernel-method kernelPol,vanillakernel-method
Cross validation for tuning the regularization coefficient in the kernel Tweedie modelktd_cv
Cross validation for jointly tuning the regularization coefficient and kernel parameter in the Kernel Tweedie Modelktd_cv2d
Estimate kernel Tweedie model coefficientsktd_estimate
Predict outcome using fitted kernel Tweedie modelktd_predict