J
jiao88
Hi all,
I am new to Minitab. Refer to my code, if I were to run the code as simulation for like 1000 time, how can I store the 1000 results for my coefficient every time I run it? My current code will replace the coefficient to the latest coefficient only :truce: Please advice.
Name C1 "u"
Name C2 "t"
Name C4 "x"
Name C5 "COEF1"
Name C6 "SECO1"
Name C7 "CLCO1"
Name C8 "CLCO2"
Random 20 c1;
Uniform 0.0 1.0.
Random 20 c4;
Normal 0.0 1.0.
let c2=exp(0.4*log(-log(1-u))+3+3*x)
Lregression 't'=x;
Weibull;
Coefficient 'COEF1';
Secoefficient 'SECO1';
Clcoefficient 'CLCO1'-'CLCO2';
Brief 2;
Confidence 95.0.
let k1=1
let k2=10
let Ck2(1)=C5(1)
let Ck2(2)=C5(2)
let Ck2(3)=C5(3)
let k1=k1+1
let k2=k2+1
I am new to Minitab. Refer to my code, if I were to run the code as simulation for like 1000 time, how can I store the 1000 results for my coefficient every time I run it? My current code will replace the coefficient to the latest coefficient only :truce: Please advice.
Name C1 "u"
Name C2 "t"
Name C4 "x"
Name C5 "COEF1"
Name C6 "SECO1"
Name C7 "CLCO1"
Name C8 "CLCO2"
Random 20 c1;
Uniform 0.0 1.0.
Random 20 c4;
Normal 0.0 1.0.
let c2=exp(0.4*log(-log(1-u))+3+3*x)
Lregression 't'=x;
Weibull;
Coefficient 'COEF1';
Secoefficient 'SECO1';
Clcoefficient 'CLCO1'-'CLCO2';
Brief 2;
Confidence 95.0.
let k1=1
let k2=10
let Ck2(1)=C5(1)
let Ck2(2)=C5(2)
let Ck2(3)=C5(3)
let k1=k1+1
let k2=k2+1