Hi,
I am plotting means of a response of three groups (BASE, LIV, SHAM) over time using graph builder. So far I have been able to plot the means and STD, as you can see.
![plot.png plot.png](https://community.jmp.com/t5/image/serverpage/image-id/9449i8A66904ADB3ED67B/image-size/medium?v=v2&px=400)
I would like to add p-values from a t-test comparing LIV vs. SHAM at each time point without having to do in manuallly by adding a text box to the image, similar to what I did here.
![plot_p-values.png plot_p-values.png](https://community.jmp.com/t5/image/serverpage/image-id/9450i132F097D70BAF143/image-size/medium?v=v2&px=400)
Is this possible?
My current script is below:
Graph Builder(
Size( 757, 640 ),
Variables( X( :time ), Y( :distal epi trab BMD ), Overlay( :study group ) ),
Elements(
Points(
X,
Y,
Legend( 46 ),
Summary Statistic( "Mean" ),
Error Bars( "Standard Deviation" )
),Line( X, Y, Legend( 13 ) )
)
);