[3172cb]: / man / SL.horseshoe.Rd

Download this file

48 lines (39 with data), 1.1 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/IL_Utilities.R
\name{SL.horseshoe}
\alias{SL.horseshoe}
\title{Horseshoe regression}
\usage{
SL.horseshoe(
Y,
X,
newX,
family,
prior = "horseshoe",
N = 20000L,
burnin = 1000L,
thinning = 1L,
...
)
}
\arguments{
\item{Y}{Outcome variable}
\item{X}{Covariate data frame}
\item{newX}{Dataframe to predict the outcome}
\item{family}{"gaussian" for regression, "binomial" for binary
classification. Untested options: "poisson" for for integer or count data}
\item{prior}{prior for regression coefficients to use. "Horseshoe" by default.
Untested options: ridge regression (prior="rr" or prior="ridge"),
lasso regression (prior="lasso") and horseshoe+ regression (prior="hs+"
or prior="horseshoe+")}
\item{N}{Number of posterior samples to generate.}
\item{burnin}{Number of burn-in samples.}
\item{thinning}{Desired level of thinning.}
\item{...}{other parameters passed to bayesreg function}
}
\value{
SL object
}
\description{
Horseshoe regression
}