Displaying 1 result from an estimated 1 matches for "brunori".
Did you mean:
brunors
2013 Mar 20
1
boot with different sample sizes
...many thanks
paolo
> library(boot)
> blue<-c(4, 3, 4, 1, 2, 3, 1)
> red<-c(4, 3, 4, 1, 2, 3, 1, 2, 3, 1, 3, 2)
>
> test1<-function(x,y,d){
+ return(sum(x) - sum(y))
+ }
> b=boot(red blue, test1 ,R=10)
Error: unexpected symbol in "b=boot(red blue"
--
Paolo Brunori
Ricercatore in Economia Politica
Dipartimento di Scienze Economiche
Via C. Rosalba 53, 70124 Bari
tel +39 080 504 90 51
fax +39 080 504 9149