Subscribe to DSC Newsletter

dear all,
I need help. I want to make bootstrapping regression with fixed -X (i.e. resample from the error). I found the error (e) and made the resample using the following function
ee<-matrix(sample(e,n*nboot,replac=T,nrow=nboot)
in this case I had a matrix with the nboot bootstrap error.
I need now to find formula yb[i]=fit+ee[i], where fit is known.
How to make this?

Views: 38

Reply to This

On Data Science Central

© 2020   TechTarget, Inc.   Powered by

Badges  |  Report an Issue  |  Privacy Policy  |  Terms of Service