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

ROOT MEAN SQUARE ERROR

Name:
    ROOT MEAN SQUARE ERROR (LET)
Type:
    Let Subcommand
Purpose:
    Compute the root means square error of a variable.
Description:
    The root mean square error has the formula:

      \( \mbox{RMS} = \sqrt{\frac{\sum_{i=1}^{n}{X_{i}^{2}}} {n}} \)
Syntax 1:
    LET <par> = ROOT MEAN SQUARE ERROR <y>
                            <SUBSET/EXCEPT/FOR qualification>
    where <y> is the response variable;
                <par> is a parameter where the computed root mean square error is saved;
    and where the <SUBSET/EXCEPT/FOR qualification> is optional.
Syntax 2:
    LET <par> = DIFFERENCE OF ROOT MEAN SQUARE ERROR <y1> <y2>
                            <SUBSET/EXCEPT/FOR qualification>
    where <y1> is the first response variable;
                <y2> is the second response variable;
                <par> is a parameter where the computed difference of root mean square errors is saved;
    and where the <SUBSET/EXCEPT/FOR qualification> is optional.

    This syntax computes the root mean square error of <y1> and <y2> and then computes the difference of the two root mean square error values.

Examples:
    LET A = ROOT MEAN SQUARE ERROR Y1
    LET A = ROOT MEAN SQUARE ERROR Y1 SUBSET TAG > 2
    LET A = DIFFERENCE OF ROOT MEAN SQUARE ERROR Y1 Y2
Note:
    Dataplot statistics can be used in a number of commands. This is documented in the STATISICS HELP.
Default:
    None
Synonyms:
    RMS
Related Commands:
    MEAN = Compute the mean of a variable.
    RANGE = Compute the range of a variable.
    STANDARD DEVIATION = Compute the standard deviation of a variable.
    VARIANCE = Compute the variance of a variable.
Applications:
    Statistics
Implementation Date:
    2010/1
Program:
     
    LET Y1 = NORMAL RANDOM NUMBERS FOR I = 1 1 100
    LET RMS = ROOT MEAN SQUARE ERROR Y1
        
    A value of 0.9256 is returned.

Privacy Policy/Security Notice
Disclaimer | FOIA

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

Date created: 09/08/2010
Last updated: 10/07/2016

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