Skip to content
Back to formatted view

Raw Message

Message-ID: <68b1e2611001051445x5c54a8b8na96e81aabf239a1c@mail.gmail.com>
Date: 2010-01-05T22:45:53Z
From: Liviu Andronic
Subject: bootstrapping a matrix and calculating Pearson's correlation coefficient
In-Reply-To: <634d993a1001051427i758c2540x5852b6e74a6bf5ee@mail.gmail.com>

Hello

On 1/5/10, Lee William <leeonweb at gmail.com> wrote:
>  I have got matrix 'data' of dimension 22000x600. I want to make 50
>  independent samples of dimension 22000x300 from the original matrix 'data'.
>  And then want to calculate pearsons CC for each of the obtained 50 matrices.
>  It seems it is possible to do this using 'boot' function from library boot
>  but I am not able to figure out how? I am really stuck. Please help!
>
Initially consider constructing the bootstrap function on a much
smaller scale, with dummy data. For a dummy example on bootstrapping,
see one of my old posts [1]. Also, check this Quick-R page [2] and the
links at the bottom of the page for various explanations on the
procedure.
Liviu

[1] http://www.mail-archive.com/r-help at r-project.org/msg65667.html
[2] http://www.statmethods.net/advstats/bootstrapping.html