Description Usage Arguments Value Author(s) See Also Examples
makes a summary of a bootstrapped version of ABE
1 2 |
object |
an object of class |
conf.level |
the confidence level, defaults to 0.95 |
... |
additional arguments affecting the summary produced. |
a list with the following elements:
var.rel.frequencies
: inclusion relative frequencies for all variables from the initial model
model.rel.frequencies
: relative frequencies of the final models
var.coefs
: bootstrap medians and percentiles for the estimates of the regression coefficients for each variable from the initial model
Rok Blagus, rok.blagus@mf.uni-lj.si
Sladana Babic
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | set.seed(1)
n=100
x1<-runif(n)
x2<-runif(n)
x3<-runif(n)
y<--5+5*x1+5*x2+ rnorm(n,sd=5)
dd<-data.frame(y=y,x1=x1,x2=x2,x3=x3)
fit<-lm(y~x1+x2+x3,x=TRUE,y=TRUE,data=dd)
fit.boot<-abe.boot(fit,data=dd,include="x1",active="x2",
tau=c(0.05,0.1),exp.beta=FALSE,exact=TRUE,
criterion="alpha",alpha=c(0.2,0.05),type.test="Chisq",
num.boot=50,type.boot="bootstrap")
summary(fit.boot)$var.rel.frequencies
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.