嗨,大家好!
我想知道是否有一種方法/腳本可以將最小值、中位數和最大值移動到平均值和標準偏差區域。
謝謝 !
dt = Open( "$SAMPLE_DATA\Big Class.jmp",invisible(1) );<BR /><BR />ow= dt<<ONEWAY></ONEWAY>

嗨特克斯尼爾森!
非常感謝您再次提供協助。
是的,這就是我一直在尋找的,我將透過程式碼學習並理解它
這是一個非常硬編碼的範例,說明了一種方法:

dt = Open( "$SAMPLE_DATA\Big Class.jmp", invisible( 1 ) );
colListY="height";
colListX="sex";
ow = dt << Oneway(
Y( :Eval( colListY ) ),
X( :Eval( colListX ) ),
All Graphs( 0 ),
Quantiles( 1 ),
Means and Std Dev( 1 ),
Plot Quantile by Actual( 1 ),
Line of Fit( 0 ),
Points( 0 ),
Box Plots( 1 ),
Mean Error Bars( 1 ),
Std Dev Lines( 1 ),
SendToReport(
Dispatch( {"Quantiles"}, "", TableBox, {Set Shade Headings( 1 ), Set Shade Alternate Rows( 0 )} ),
Dispatch( {"Quantiles"}, "10%", NumberColBox, {Visibility( "Collapse" )} ),
Dispatch( {"Quantiles"}, "25%", NumberColBox, {Visibility( "Collapse" )} ),
Dispatch( {"Quantiles"}, "75%", NumberColBox, {Visibility( "Collapse" )} ),
Dispatch( {"Quantiles"}, "90%", NumberColBox, {Visibility( "Collapse" )} ),
Dispatch(
{"Normal Quantile Plot"},
"2",
ScaleBox,
{Format( "Percent", 9, 2 )}
)
),
);
// calculate the required new statistics
summarize(byGroup=by(as column(colListX)),byMax=Max(as column(colListY)),
byMin=Min(as column(colListY)),byMedian=Quantile(as column(colListY),.5)
);
// Access the report output
repOW = ow << report;
// Capture the names of the columns in the current table box output
namesList = repOW["Means and Std Deviations"][tablebox(1)] << get names;
// Get the values from the current columns in the table box
levels = repOW["Means and Std Deviations"][stringcolbox(1)]<<GET></GET>