hi, i am new in this field.

I am now writing a code in robustness simulation study. I have written a brief 
code "for loop" for the factor (samples sizes d,std deviation ) , i wish to 
test them in gamma distribution with equal and unequal skewness, with the above 
for loop in a single code if possible. Can i ask is that any suitable loop 
statement for this situation.

This is my ideas ,all the two for loop runs then run for the first set of gamma 
distribution with equal skewness then store the result,
then,
all the two for loops run again and then run for the second set of gamma 
distribution with unequal skewness then store the result again.

if-else statement look like is not quite suitable in this situation as it will 
run one set only.
Please, i hope can get some help here. Thanks.

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to