Displaying 2 results from an estimated 2 matches for "misstooquick".
2012 Mar 04
2
How do I create a scatterplot with two explanatory variables?
Hi there,
I'm trying to make a scatterplot of removed versus duration for each type of bee. No matter what I try, I can't seem to get my code to work.
Any help would be appreciated. Thanks!
My r-code:
dat$BEE <- with(dat, factor(BEE, c(1,2)))
plot(REMOVED~DURATION,pch=BEE, col=BEE) REMOVED DURATION BEE
1 0.07 2 QUEEN
2 0.10 5 QUEEN
3 0.11 7 QUEEN
4 0.12 11 QUEEN
5 0.15 12 QUEEN
6 0.19
2012 May 10
1
Finding residual standard error using bootstrap
Hello,
I am trying to write a code to estimate the residual standard error and create a confidence interval using bootstrap, since it does not follow a normal distribution.
So far I have found a linear model for the data (m1<-lm(y~x+I(x^2))), but I am not sure how to create the bootstrap code to estimate its residuals.
Thank you for any input,
Kelsey
[[alternative HTML version deleted]]