SED navigation bar go to SED home page go to Dataplot home page go to NIST home page SED Home Page SED Contacts SED Projects SED Products and Publications Search SED Pages
Dataplot Vol 2 Auxiliary Chapter

DIFFERENCE OF COUNT

Name:
    DIFFERENCE OF COUNT (LET)
Type:
    Let Subcommand
Purpose:
    Compute the difference between the count (sample size) for two response variables.
Description:
    The count is the number of obserations in a response variable.

    For the differeence of counts, the count is computed for each of two samples then their difference is taken.

Syntax:
    LET <par> = DIFFERENCE OF COUNT <y1> <y2>
                            <SUBSET/EXCEPT/FOR qualification>
    where <y1> is the first response variable;
                <y2> is the first response variable;
                <par> is a parameter where the computed difference of the counts is stored;
    and where the <SUBSET/EXCEPT/FOR qualification> is optional.
Examples:
    LET A = DIFFERENCE OF COUNT Y1 Y2
    LET A = DIFFERENCE OF COUNT Y1 Y2 SUBSET X > 1
Default:
    None
Synonyms:
    DIFFERENCE OF SIZE and DIFFERENCE OF NUMBER are synonyms for DIFFERENCE OF COUNT.
Related Commands:
    COUNT = Compute the count.
    MINIMUM = Compute the minimum.
    MAXIMUM = Compute the maximum.
    SUM = Compute the sum.
    DIFFERENCE OF MINIMUM = Compute the difference of the minimums.
    DIFFERENCE OF MAXIMUM = Compute the difference of the maximums.
    DIFFERENCE OF SUM = Compute the difference of sums.
Applications:
    Data Analysis
Implementation Date:
    3/2003
Program:
    SKIP 25 
    READ AUTO83B.DAT Y1 Y2 
    . 
    RETAIN Y2 SUBSET Y2 > -900 
    LET A = DIFFERENCE OF COUNT Y1 Y2 
        

Date created: 3/27/2003
Last updated: 4/4/2003
Please email comments on this WWW page to alan.heckert@nist.gov.