given a data table setup like this:
![txnelson_0-1650597282531.png txnelson_0-1650597282531.png](https://community.jmp.com/t5/image/serverpage/image-id/41961i70C9712050E10A4F/image-size/medium?v=v2&px=400)
Where the samples is the sample size of the groups, you can then run the below script
Names Default To Here( 1 );
dt = Current Data Table();
nw = New Table( "simulate", New Column( "group", character ), New Column( "value" ) );
For( i = 1, i <= N Rows( dt ), i++,
For( k = 1, k <= dt:samples[k], k++,
nw << add rows( 1 );
rr = N Rows( nw );
nw:group[rr] = dt:group[i];
nw:value[rr] = Random Normal( dt:mean[i], dt:stdev[i] );
)
);
nw << Oneway(
Y( :value ),
X( :group ),
All Pairs( 1 ),
Wilcoxon Each Pair( 1 ),
SendToReport(
Dispatch(
{},
"Nonparametric Comparisons For Each Pair Using Wilcoxon Method",
OutlineBox,
{Close( 1 )}
)
)
);
And get the below results
![txnelson_1-1650597452509.png txnelson_1-1650597452509.png](https://community.jmp.com/t5/image/serverpage/image-id/41962i1F1D510E626F67F2/image-dimensions/575x574?v=v2)
Jim