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:
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')) |
Bug tracker:https://github.com/ly129/ktweedie/issues
- dat - A demo dataset
Last updated 1 years agofrom:f174536c6d. Checks:OK: 9. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 10 2024 |
R-4.5-win-x86_64 | OK | Nov 10 2024 |
R-4.5-linux-x86_64 | OK | Nov 10 2024 |
R-4.4-win-x86_64 | OK | Nov 10 2024 |
R-4.4-mac-x86_64 | OK | Nov 10 2024 |
R-4.4-mac-aarch64 | OK | Nov 10 2024 |
R-4.3-win-x86_64 | OK | Nov 10 2024 |
R-4.3-mac-x86_64 | OK | Nov 10 2024 |
R-4.3-mac-aarch64 | OK | Nov 10 2024 |
Exports:anovadotas.kernelMatrixbesseldotkernelFastkernelMatrixkernelMultkernelPolkparktd_cvktd_cv2dktd_estimatektd_predictlaplacedotpolydotrbfdotsplinedottanhdotvanilladot
Dependencies:
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Assing kernelMatrix class to matrix objects | as.kernelMatrix as.kernelMatrix,matrix-method as.kernelMatrix-methods kernelMatrix-class |
A demo dataset | dat |
Kernel Functions | anovadot 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 functions | kernelFast 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 model | ktd_cv |
Cross validation for jointly tuning the regularization coefficient and kernel parameter in the Kernel Tweedie Model | ktd_cv2d |
Estimate kernel Tweedie model coefficients | ktd_estimate |
Predict outcome using fitted kernel Tweedie model | ktd_predict |