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

LINEAR SLOPE

Name:
    LINEAR SLOPE (LET)
Type:
    Let Subcommand
Purpose:
    Compute the slope parameter from a linear least squares fit between two variables.
Syntax:
    LET <par> = LINEAR SLOPE <y> <x>
                            <SUBSET/EXCEPT/FOR qualification>
    where <y> is dependent response variable;
                <x> is the independent response variable;
                <par> is a parameter where the linear slope value is saved;
    and where the <SUBSET/EXCEPT/FOR qualification> is optional.
Examples:
    LET A1 = LINEAR SLOPE Y X
    LET A1 = LINEAR SLOPE Y X SUBSET X > 1
Note:
    Dataplot's built-in statistics can be used with a number of commands. For details, enter HELP STATISTIC.
Default:
    None
Synonyms:
    None
Related Commands:
    LINEAR SLOPE SD = Compute the standard deviation of the slope parameter from a linear least squares fit.
    LINEAR INTERCEPT = Compute the intercept from a linear least squares fit.
    LINEAR INTERCEPT SD = Compute the standard deviation of the intercept parameter from a linear least squares fit.
    LINEAR RESSD = Compute the residual standard deviation from a linear least squares fit.
    LINEAR CORRELATION = Compute the correlation from a linear least squares fit.
Applications:
    Exploratory Data Analysis
Implementation Date:
    1988/03
Program 1:
    SKIP 25
    READ BERGER1.DAT Y X
    LET A = LINEAR SLOPE Y X
        
    The value of A is 0.7311.
Program 2:
    SKIP 25
    READ BERGER1.DAT Y X BATCH
    .
    LABEL CASE ASIS
    TITLE CASE ASIS
    TITLE OFFSET 2
    Y1LABEL Linear Slope
    X1LABEL Batch
    TITLE Linear Slope Plot
    CHARACTER X BLANK
    LINE BLANK SOLID
    TIC OFFSET UNITS SCREEN
    TIC MARK OFFSET 3 3
    LINEAR SLOPE PLOT Y X BATCH
        
    plot generated by sample program

Privacy Policy/Security Notice
Disclaimer | FOIA

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

Date created: 09/08/2010
Last updated: 11/16/2015

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