Displaying 3 results from an estimated 3 matches for "column_vector_2".
Did you mean:
column_vector_1
2006 Apr 20
1
Bootstrap error message: Error in statistic(data, origina l, ...) : unused argument(s) ( ...)
...de?
>
> Thanks a lot!
>
> ------------------------
> Error Message:
>
> > bootResults=boot(X, myFun, R=10000);
> Error in statistic(data, original, ...) : unused argument(s) ( ...)
>
> ------------------------
> My code is:
>
> X=cbind(column_vector_1, column_vector_2);
> myFun=function(X)
> {
> return(mean(X[, 1])/var(X[, 2]));
> }
>
> bootResults=boot(X, myFun, R=10000);
>
> ---------------------
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.eth...
2006 Apr 20
0
Bootstrap error message: Error in statistic(data, original, ...) : unused argument(s) ( ...)
...ing absolutely no clue:
What's wrong with my bootstraping code?
Thanks a lot!
------------------------
Error Message:
> bootResults=boot(X, myFun, R=10000);
Error in statistic(data, original, ...) : unused argument(s) ( ...)
------------------------
My code is:
X=cbind(column_vector_1, column_vector_2);
myFun=function(X)
{
return(mean(X[, 1])/var(X[, 2]));
}
bootResults=boot(X, myFun, R=10000);
---------------------
[[alternative HTML version deleted]]
2006 Apr 20
1
Bootstrap error message: Error in statistic(data, origina l, ...) : unused argument(s) ( ...) [Broadcast]
...code?
>
> Thanks a lot!
>
> ------------------------
> Error Message:
>
> > bootResults=boot(X, myFun, R=10000);
> Error in statistic(data, original, ...) : unused argument(s) ( ...)
>
> ------------------------
> My code is:
>
> X=cbind(column_vector_1, column_vector_2);
> myFun=function(X)
> {
> return(mean(X[, 1])/var(X[, 2]));
> }
>
> bootResults=boot(X, myFun, R=10000);
>
> ---------------------
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@stat.math.ethz...