Thanks!
I want to add cpk or cp after other caption index in the graph builder, how to do it?
How can I get the mean value of the caption box? Especially when the X group variable has multiple categories.

Graph Builder(
Size( 532, 454 ),
Show Control Panel( 0 ),
Variables( Y( :height ), Group X( :sex ) ),
Elements(
Points( Y, Legend( 7 ) ),
Caption Box(
Y,
Legend( 8 ),
Summary Statistic( "Mean" ),
Summary Statistic 2( "Std Dev" ),
Summary Statistic 3( "Max" ),<BR /> #Summary Statistic 3( "Cpk" )
)
)
)
TKS! How do I get the mean value of the left half of the text box, the number of samples, I would like to build a loop that reads these values and then calculates the cpk based on these values
I would suggest you calculate them outside of graph builder. They can be easily calculated with Summary table, Tabulate platform Distribution platform or Summarize() function for example. Or you can create new columns to your table using Col Mean() with grouping variables.