Hello, I have 49 paired data, x, y.
I have sampled x (where replacement is true), and find its mean.
How can I find the corresponding mean y, which is the paired data of above
sample x?
Thank you very much,
Annie
--
View this message in context:
http://n4.nabble.com/find-the-corresponding-mean-y
I have a similar question.
I want to generate list of 50 bootstrap samples,
it can be done by:
lapply(1:50,function(i){data[sample(nrow(data),size=nrow(data),replace=TRUE),]})
>From these bootstrap samples, I want to work out the Bootstrap estimates,
which is E[y]/E[x].
How can I do it?
'>> da
2 matches
Mail list logo