Names Default To Here(1); //this deals with variable scope, good to start all scripts with this so names of // variables used in other places don't concflict with names in this script metaData = []; //so we have some sample data to work with For (i = 5, i < 250, i = i + 5, finalMatrix2 = []; finalMatrix = []; //make report window with all outputs //be sure to end each anaysis call with a semicolon, which won't be //there by default when you save an analysis script nExp = 1000; for(exp=1,exp<=nExp,exp++, dt = New Table( "Exp", Add Rows( 20), Private, New Column( "Year", Numeric, Continuous, Formula(Round( Random Uniform( 1990, 2030 ), 0 )) ), New Column( "Words", Numeric, Nominal, Formula( ((6701.8923 - 3.3 * :Year) + Random Normal( 0, i ))) ), New Column( "Split", Numeric, Nominal, Formula(If(:Year <= 2010, 0, 1)) ) ); model = Platform(dt, m1 = Bivariate( Y( :Words ), X( :Year ), Fit Line( {Line Color( {208, 64, 86} )} ) ); m2 = Oneway( Y( :Words ), X( :Split ), Means( 1 ), Mean Diamonds( 1 ) ); ); modelReport = m1 << Report; //Grab the fixed effect test results as a matrix //resultsAsMatrix = modelReport["Analysis Of Variance"][Table Box( 1 )]<< Get as Matrix; //Show(resultsAsMatrix); SSB = modelReport[NumberColBox(9)]<< Get as Matrix; SSB = Transpose(SSB); PB = modelReport[NumberColBox(12)] << Get as Matrix; PB = Transpose(PB); //Show(PB); //Vertically concat the new results with the previous results //finalMatrix = VConcat(finalMatrix,resultsAsMatrix); //Show("NEW REPORT"); modelReport = m2 << Report; SSO = modelReport[NumberColBox(7)]<< Get as Matrix; SSO = Transpose(SSO); PO = modelReport[NumberColBox(10)] << Get as Matrix; PO = Transpose(PO); //Show(PO); rowrow = concat(SSB, PB, SSO, PO); //Show(rowrow); //Vertically concat the new results with the previous results finalMatrix2 = VConcat(finalMatrix2,rowrow); ); finalResults2=AsTable(finalMatrix2, <