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 06 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

gRim  
Graphical Interaction Models
Provides the following types of models: Models for contingency tables (i.e. log-linear models) Grap ...
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  
gecko  
Geographical Ecology and Conservation Knowledge Online
Includes a collection of geographical analysis functions aimed primarily at ecology and conservation ...
Download / Learn more Package Citations See dependency  

28,905

R Packages

247,686

Dependencies

76,495

Author Associations

28,906

Publication Badges

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