How do I change the logworth value to alpha 0.07? I would like the logworth effect summary line to be calculated for the alpha value I want.
This example demonstrates a more direct way to change the reference line for the LogWorth criterion:
// calculate logworth criterion alpha = 0.07; criterion = -Log10( alpha_level ); // add reference line for criterion rpt = Current Report(); rpt["Effect Summary"][PlotColBox(1)] << Set Reference Line( criterion );
Hi @ivanpicchi ,
It seems that there is no GUI to change the blue line of logworth. You have to use a script to change the line.Here is an example.
//Calculate logworth from alpha alpha_level = 0.07; logworth_values = -Log10( alpha_level ); //Get a reference for the report rpt = Current Report(); value_matrix = rpt[Outline Box( "Effect Summary" )][Plot Col Box( 1 )] << get as matrix; count_n = N Row( value_matrix ); line_value = J( count_n, 1, logworth_values ); //Change the line rpt[Outline Box( "Effect Summary" )][Plot Col Box( 1 )] << lower( line_value ); rpt[Outline Box( "Effect Summary" )][Plot Col Box( 1 )] << upper( line_value );
Hope it helps.
Where do I click to change these scripts?
Choose File > New > Script and paste the script. I think Mark's script is better than mine.After you have created a report, go to the Edit menu in the script editor and choose Run Script.
Works, thx a lot!