cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.
  • JMP will suspend normal business operations for our Rest and Recharge Day on Friday, October 2, 2026.
    Regular business hours will resume on Monday, October 5, 2026.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
l_yampolsky
Level III

change p-value output format in preferences

Simple question. I understand the reasons why reporting p<0.0001 as "<0.0001"; I also understand how to change the number format in individual outputs. However, for some downtream analyses (like FDR calculation) it is necessary to have the exact p-value AND it is difficult to change format in a large output with thousands of tests. Is there a way to change the preference for p-value output system-wide? Or at least for each analysis separately, but before the output has been generated?

 

Thanks!

4 REPLIES 4

Re: change p-value output format in preferences

If you will be calculating FDR then you will have a lot of p-values. A script can extract the p-vaue. The format only affects the display of this value. The value extracted will be full-precision regardless of the format.

l_yampolsky
Level III

Re: change p-value output format in preferences

Could you post an example of a script that extracts p-values? I usually do this by copying the output into a table and parsing it, works ok. But yes, sure, a script would be easier.

Re: change p-value output format in preferences

This example illustrates the basic steps. You could extend it in many ways to suit a particular case.

// set namespace
Names Default to Here( 1 );

// open data set
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

// launch platform and estimate parameters
biv = dt << Bivariate( Y( :weight ), X( :height ), Fit Line );

// obtain reference to report layer
biv rep = biv << Report;

// obtain p-value for parameter estimate from report layer
pVal = biv rep["Parameter Estimates"][NumberColBox("Prob>|t|")] << Get( 2 );
l_yampolsky
Level III

Re: change p-value output format in preferences

Thanks, this is really helpful!

 

Recommended Articles