Question: How do I calculate standard error with bootstrap in this case? R/Rstudio help! I am using the MASS library and Boston dataset. I did the
How do I calculate standard error with bootstrap in this case? R/Rstudio help!
I am using the MASS library and Boston dataset. I did the mean of medv to get a value (22.53280....) which I named mean_med. I am needing help with how to do bootstrap on a mean in R.
Everytime I do boot(Boston$medv, mean_med, 100) I get an error message about "could not find function "statistic" I also tried putting medv into a dataframe thinking that was the error but didn't work.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
