s-news
[Top] [All Lists]

Bootstrap; How can I get the replicates themselves?

To: s-news@lists.biostat.wustl.edu
Subject: Bootstrap; How can I get the replicates themselves?
From: Weigl Klemens <weiglk@stud.uni-graz.at>
Date: Mon, 10 Sep 2007 22:20:05 +0200
User-agent: Internet Messaging Program (IMP) 3.2.2
Dear S-News Members!


--> I´m bootstrapping a correlation-coefficient as statistic of interest for
two columns of a dataset. This works fine, but I´d also want to know the
following: 

(1) How can I get all the, for example 1000, replicates of the
correlation-coefficient (for further calculations)?


(2) Furthermore, exists there a simple function/code/syntax to get all the
replicates in a "new" column of a new created dataset (whichone S-Plus creates
automatically)? I think it should be easy with the right Syntax/code, but I
still haven´t found the right one yet.


This works not that bad: 
>x[ indices[ 1, ] ]

but exists there another, better solution?


Additional information:
I´m working with "Resample-library" on Windows XP and S-Plus Version 7.0.

Apologies for my question, but I´m a beginner.
I´d be very happy, if anyone could help me.

Thanks und best wishes,
Weigl Klemens


----------------------------------------------------
Sent through IMP on https://webmail.stud.uni-graz.at

<Prev in Thread] Current Thread [Next in Thread>