Welcome to ClientVPS Mirrors

README

BKP: An R Package for Beta Kernel Process Modeling

CRAN status Total downloads R-CMD-check Codecov test coverage

We present BKP, a user-friendly and extensible R package that implements the Beta Kernel Process (BKP)—a fully nonparametric and computationally efficient framework for modeling spatially varying binomial probabilities. The BKP model combines localized kernel-weighted likelihoods with conjugate beta priors, resulting in closed-form posterior inference without requiring latent variable augmentation or intensive MCMC sampling. The package supports binary and aggregated binomial responses, allows flexible choices of kernel functions and prior specification, and provides loss-based kernel hyperparameter tuning procedures. In addition, BKP extends naturally to the Dirichlet Kernel Process (DKP) for modeling spatially varying multinomial data.

Features

Installation

You can install the stable version of BKP from CRAN with:

install.packages("BKP")

Or install the development version from GitHub with:

# install.packages("pak")
pak::pak("Jiangyan-Zhao/BKP")

Documentation

The statistical foundations and example applications are described in the following vignette:

Citing

If you use BKP in your work, please cite both the methodology paper and the R package:

You can also obtain the citation information directly within R:

citation("BKP")

Development

The BKP package is under active development. Contributions and suggestions are welcome via GitHub issues or pull requests.

Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.

This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.