PVALUEw.d Format

Writes p-values.
Category: Numeric
Alignment: right

Syntax

PVALUEw.d

Syntax Description

w
specifies the width of the output field.
Default:6
Range:3–32
d
specifies the number of digits to the right of the decimal point in the numeric value. This argument is optional.
Default:the minimum of 4 and w–2
Range:1–30
Restriction:must be less than w

Comparisons

The PVALUEw.d format follows the rules for the w.d format, except in the following conditions:
  • if the value x is such that 0 <= x < 10-d, x prints as “<.0...01” with d-1 zeros
  • missing values print as “.” unless you specify a different character by using the MISSING= system option

Example

put x pvalue6.4; 
Value of x
Result
 
----+----1
.05
0.0500
0.000001
<.0001
0
<.0001
.0123456
0.0123