Other packages > Find by keyword >

horseshoe  

Implementation of the Horseshoe Prior
View on CRAN: Click here


Download and install horseshoe package within the R console
Install from CRAN:
install.packages("horseshoe")

Install from Github:
library("remotes")
install_github("cran/horseshoe")

Install by package version:
library("remotes")
install_version("horseshoe", "0.2.0")



Attach the package and use:
library("horseshoe")
Maintained by
Stephanie van der Pas
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2016-11-08
Latest Update: 2019-07-18
Description:
Contains functions for applying the horseshoe prior to high- dimensional linear regression, yielding the posterior mean and credible intervals, amongst other things. The key parameter tau can be equipped with a prior or estimated via maximum marginal likelihood estimation (MMLE). The main function, horseshoe, is for linear regression. In addition, there are functions specifically for the sparse normal means problem, allowing for faster computation of for example the posterior mean and posterior variance. Finally, there is a function available to perform variable selection, using either a form of thresholding, or credible intervals.
How to cite:
Stephanie van der Pas (2016). horseshoe: Implementation of the Horseshoe Prior. R package version 0.2.0, https://cran.r-project.org/web/packages/horseshoe. Accessed 28 Oct. 2026.
Previous versions and publish date:
(2026-07-09 07:47), 0.1.0 (2016-11-08 18:36), 0.2.0 (2019-07-18 12:14)
Other packages that cited horseshoe R package
View horseshoe citation profile
Other R packages that horseshoe depends, imports, suggests or enhances
Complete documentation for horseshoe
Functions, R codes and Examples using the horseshoe R package
Some associated functions: Basic.integrand . Basic.y . Basic.y.vec . HS.MMLE . HS.normal.means . HS.post.mean . HS.post.var . HS.var.select . horseshoe . 
Some associated R codes: HS_MMLE.R . HS_normal_means.R . HS_post_mean.R . HS_post_var.R . HS_var_select.R . Helper_functions.R . horseshoe.R .  Full horseshoe package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

msamp  
Estimate Sample Size to Detect Bacterial Contamination in a Product Lot
Estimates the sample size needed to detect microbial contamination in a lot with a user-specified d ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
ncdf4  
Interface to Unidata netCDF (Version 4 or Earlier) Format Data Files
Provides a high-level R interface to data files written using Unidata's netCDF library (version 4 or ...
Download / Learn more Package Citations See dependency  
NPHazardRate  
Nonparametric Hazard Rate Estimation
Provides functions and examples for histogram, kernel (classical, variable bandwidth and transformat ...
Download / Learn more Package Citations See dependency  
cats  
Cohort Platform Trial Simulation
Cohort plAtform Trial Simulation whereby every cohort consists of two arms, control and experimenta ...
Download / Learn more Package Citations See dependency  

29,218

R Packages

247,686

Dependencies

77,281

Author Associations

29,219

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA