Hi,
I would like to reshape/ reorganize the following data in a way that the "Signals" appear as a column. I have tried various versions of "reshape" without success. Would you be able to help? Thanks!
I would like to reshape/ reorganize the following data in a way that the "Signals" appear as a column. I have tried various versions of "reshape" without success. Would you be able to help? Thanks!
Code:
Code:* Example generated by -dataex-. For more info, type help dataex clear input str12 Signals str14 var double(N mean sd min max) "Selected" "N_right" 425 229.64285714285714 5.285788535267035 223 239 "Not Selected" "N_right" 425 218.54716981132074 7.0860454086037485 199 238 "Group" "N_right" 425 212.4 6.913754406977442 201 218 "Selected" "Pr_right" 425 54.03361344537815 1.2437149494745954 52.470588235294116 56.23529411764706 "Not Selected" "Pr_right" 425 51.42286348501664 1.667304802024411 46.82352941176471 56.00000000000001 "Group" "Pr_right" 425 49.9764705882353 1.6267657428182214 47.294117647058826 51.294117647058826 "Selected" "ret_right" 425 2.1380285973622435 .04997049898556589 2.0475615641237015 2.19129651208394 "Not Selected" "ret_right" 425 2.061303352200747 .06339979617727588 1.8296189141220054 2.2629720850907895 "Group" "ret_right" 425 1.9862875675356935 .06382428378242706 1.9201228357353797 2.076130980472927 "Selected" "ret_right_down" 425 1.118020891869038 .05670995262716436 1.0565272683244855 1.22791802387336 "Not Selected" "ret_right_down" 425 1.0907402348141015 .05401912243710132 .956754846683037 1.2415243148862527 "Group" "ret_right_down" 425 1.0374702878669528 .10355967236575743 .8552746089950481 1.112998288330463 "Selected" "ret_right_up" 425 1.0200156098083142 .059945812986017616 .903174930981471 1.1059469209133932 "Not Selected" "ret_right_up" 425 .97048864313748 .0643576317491257 .7881862432306178 1.1718841308231127 "Group" "ret_right_up" 425 .9488172796687404 .10863041684148517 .8071245474049166 1.0882516418546624 "Selected" "ret_wrong" 425 -1.9659220785522291 .05828682437295992 -2.072704714849277 -1.8974397648699695 "Not Selected" "ret_wrong" 425 -2.055880384734483 .06668176579951289 -2.3045727590277565 -1.866029194803875 "Group" "ret_wrong" 425 -2.1312993990262354 .06425398384804111 -2.205020694272133 -2.040178471992716 end
Comment