Code:
matrix table1=J(6,6,.) ttest preaddition == postaddition matrix table1[1,1] = r(mu_1) matrix table1[1,2] = r(sd_1)/sqrt(r(N_1)) matrix table1[1,3] = r(mu_2) matrix table1[1,4] = r(sd_2)/sqrt(r(N_2)) matrix table1[1,5] = r(t) ttest predeletion == postdeletion matrix table1[2,1] = r(mu_1) matrix table1[2,2] = r(sd_1)/sqrt(r(N_1)) matrix table1[2,3] = r(mu_2) matrix table1[2,4] = r(sd_2)/sqrt(r(N_2)) matrix table1[2,5] = r(t) ttest pretotal == posttotal matrix table1[3,1] = r(mu_1) matrix table1[3,2] = r(sd_1)/sqrt(r(N_1)) matrix table1[3,3] = r(mu_2) matrix table1[3,4] = r(sd_2)/sqrt(r(N_2)) matrix table1[3,5] = r(t) matrix list table1
0 Response to Can anyone help me loop these lengthy codes?
Post a Comment