Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

bootstrapping

9 views
Skip to first unread message

Herbejie Rose Cuizon

unread,
Apr 23, 2013, 11:50:12 AM4/23/13
to
How to bootstrap a matrix (11x10) A for 1000 bootstrap samples and compute the 10 dimensional mean per bootstrap sample.

Art Kendall

unread,
Apr 25, 2013, 7:35:35 AM4/25/13
to
This is how to do it in SPSS. Note that the most of the syntax is to
generate some data. You would need only the last 2 lines if you had your
data open.
* simulate some data.
new file.
input program.
vector x (10,f3).
loop id = 1 to 11.
loop #p = 1 to 10.
compute x(#p) = rv.normal(50,10).
end loop.
end case.
end loop.
end file.
end input program.
* the default number of samples is 1000.
BOOTSTRAP.
DESCRIPTIVES Variables = x1 to x10 /statistics = mean.


Art Kendall
Social Research Consultants
0 new messages