Hello,
Inline.
Em 06-12-2012 03:52, Rebecca escreveu:
> I'm trying to find a bootstrap based confidence band for a linear model.
> I have created a data set with X and Y
> X=runif(n,-1.25,1.25)
> e=rnorm(n,0,1)
> Y=exp(3*X)+5*sin((30*X)/(2*pi))+2*e
> fit=lm(Y~X)
You cannot expect this model, a fi
I'm trying to find a bootstrap based confidence band for a linear model.
I have created a data set with X and Y
X=runif(n,-1.25,1.25)
e=rnorm(n,0,1)
Y=exp(3*X)+5*sin((30*X)/(2*pi))+2*e
fit=lm(Y~X)
summary(fit)
I define a bootstrap function named PairedBootstrap which is not listed here.
Than I t
2 matches
Mail list logo