0
$\begingroup$

Im trying to approximate the p. Value using bootstrap in R by boot function But in the result is repeated i.e the values of t0 ….tn are the same so the p value is zero !!!!! I don’t understand why this happened

$\endgroup$
2
  • $\begingroup$ Hi. Please provde a replicable example. $\endgroup$
    – utobi
    Commented Feb 22, 2023 at 11:06
  • $\begingroup$ f=function(s){sum((rank(s)+h[sort(sort(s,index=T)$ix,index=T)$ix])*I)} i want to bootstrap this function ....... can u write for me the command?? by using boot() functions in r $\endgroup$
    – Haidy Nagi
    Commented Feb 22, 2023 at 11:44

0

Browse other questions tagged or ask your own question.