Displaying 3 results from an estimated 3 matches for "column_vector_1".
Did you mean:
column_vector_2
2006 Apr 20
1
Bootstrap error message: Error in statistic(data, origina l, ...) : unused argument(s) ( ...)
...y 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]]
>
> ______________________________________________
> R-help...
2006 Apr 20
0
Bootstrap error message: Error in statistic(data, original, ...) : unused argument(s) ( ...)
...l
desperately having 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]
...h 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]]
>
> ______________________________________________
> R-he...