Displaying 3 results from an estimated 3 matches for "bootrap".
Did you mean:
boostrap
2013 Apr 23
1
Bootstrapping a 11x10 matrix
...Rose
I need your help for me to compute the following:
I just want to ask on how to bootstrap a 11x10 matrix to obtain 1000
bootstrap samples and compute the 10 dimensional mean per bootstrap sample.
the 11x10 dimension of the matrix has 11 subjects and 10 variables. Just
want to have 11x10 per bootrap sample with replacement and compute the 10
dimensional mean.
Hope to have a positive response on this matter..
Thank you so much.
Sincerely yours,
Herbejie Rose
[[alternative HTML version deleted]]
2012 Feb 13
2
Error in apply(x2, 1, diff) : dim(X) must have a positive length
Anyone knows hat might be the cause of this error? Thanks for any help!
>library(MASS)
> dif.mns = function(x2,tr1=.2,tr2=.3){
+ #generates four different 'means' using
+ #difference scores from x2, an n x 2 matrix
+ #for use w/ bootstrap comparisons
+ diffs = apply(x2,1,diff)
+ mn1=mean(diffs)
+ mn2=mean(diffs,tr=.2)
+ mn3=mean(diffs,tr=.3)
+
2010 Aug 24
0
mlm for within subject design
....com/Plotting-multiple-histograms-on-same-panel-tp2335426p2335426.html
Sent from the R help mailing list archive at Nabble.com.
--Forwarded Message Attachment--
From: dtran7 at student.gsu.edu
To: r-help at r-project.org
Date: Mon, 23 Aug 2010 13:40:12 -0700
Subject: Re: [R] An example of using bootrap to find confidence interval from a corrected correlation value
Good afternoon Mr. William,
Hope you had a wonderful weekend. I am reading material on Splus to try to find a example of how to find confidence interval from a corrected correlation value.
I saw example in R but i have not foun...