SED navigation bar go to SED home page go to Dataplot home page go to NIST home page SED Home Page SED Staff SED Projects SED Products and Publications Search SED Pages
Dataplot Vol 2 Vol 1

INTERVAL COUNT

Name:
    INTERVAL COUNT (LET)
Type:
    Let Subcommand
Purpose:
    Compute the number of elements in a variable that lie within a user-specified interval.
Syntax:
    LET <par> = INTERVAL COUNT <y>
                            <SUBSET/EXCEPT/FOR qualification>
    where <y> is the response variable;
                <par> is a parameter where the interval count is saved;
    and where the <SUBSET/EXCEPT/FOR qualification> is optional.

    The interval is specified with the commands

      LET LOWLIMIT = <value>
      LET UPPLIMIT = <value>
Examples:
    LET LOWLIMIT = 0
    LET LOWLIMIT = 10
    LET N = INTERVAL COUNT Y1
Note:
    If LOWLIMIT is not defined, then the smallest number (PROBE CPUMIN) is used. Likewise, if UPPLIMIT is not defined, then the largest number (PROBE CPUMAX) is used.
Note:
    Dataplot statistics can be used in a number of commands. For details, enter

Default:
    None
Synonyms:
    None
Related Commands:
    SIZE = Return the number of elements in a variable.
Applications:
    Data Management
Implementation Date:
    2018/08
Program:
     
    LET Y1 = NORMAL RANDOM NUMBERS FOR I = 1 1 10000
    LET Y2 = CAUCHY RANDOM NUMBERS FOR I = 1 1 10000
    LET LOWLIMIT = 3
    LET C1 = INTERVAL COUNT Y1
    LET C2 = INTERVAL COUNT Y2
    PRINT "NUMBER OF NORMAL RANDOM NUMBERS > 3 (OUT OF 10,000) = ^C1"
    PRINT "NUMBER OF CAUCHY RANDOM NUMBERS > 3 (OUT OF 10,000) = ^C2"
        
    The following output is returned
    NUMBER OF NORMAL RANDOM NUMBERS > 3 (OUT OF 10,000) = 9
    NUMBER OF CAUCHY RANDOM NUMBERS > 3 (OUT OF 10,000) = 996
        

Privacy Policy/Security Notice
Disclaimer | FOIA

NIST is an agency of the U.S. Commerce Department.

Date created: 10/16/2018
Last updated: 10/16/2018

Please email comments on this WWW page to alan.heckert@nist.gov.