Displaying 3 results from an estimated 3 matches for "ssd_index".
Did you mean:
sid_index
2016 Apr 05
0
R-dvel [robustness Simulation study of 2 sample test on several combination of factors ]
...nrow=2)
# see what it looks like
sample_sizes
ssds<-c(4,4.4,5,6,8)
nssds<-length(ssds)
results<-list()
# first loop steps through the sample
for(ss in 1:dim(sample_sizes)[2]) {
# get the two sample sizes
ss1<-sample_sizes[1,ss]
ss2<-sample_sizes[2,ss]
then step through your SDs:
ssd_index<-1
for(ssd in ssds) {
# generate the two samples with the SDs
sample1<-rnorm(ss1,ssd)
sample2<-rnorm(ss2,ssd)
# here run your tests, recording the results that you want
results[[(ss-1)*nssds+ssd_index]]<-<your_test>
ssd_index<-ssd_index+1
}
}
The list "resu...
2016 Apr 06
0
R-dvel [robustness Simulation study of 2 sample test on several combination of factors ]
...Equal
matrix_Unequal
matrix_mann
Jim
On Wed, Apr 6, 2016 at 12:43 AM, tan sj <sj_style_1125 at outlook.com> wrote:
> Hi, Jim, i read through your example,
> I tried to write a code modified yours example and my ideas ...
> In last email, you replied that "results[[(ss-1)*nssds+ssd_index]]<-<your_test>" ,can i know further about this ? Because i am not very understand about this .
> I am sorry that i am really a new bird in this field...
> but the code turn out it have some error ...
> Below shown my attempt...
>
> ## Put the samples sizes into matrix...
2016 Apr 06
0
R-dvel [robustness Simulation study of 2 sample test on several combination of factors ]
...nn
>
> Jim
>
> On Wed, Apr 6, 2016 at 12:43 AM, tan sj <sj_style_1125 at outlook.com> wrote:
>> Hi, Jim, i read through your example,
>> I tried to write a code modified yours example and my ideas ...
>> In last email, you replied that "results[[(ss-1)*nssds+ssd_index]]<-<your_test>" ,can i know further about this ? Because i am not very understand about this .
>> I am sorry that i am really a new bird in this field...
>> but the code turn out it have some error ...
>> Below shown my attempt...
>>
>> ## Put the sample...