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

DEX CONFOUND

Name:
    DEX CONFOUND (LET)
Type:
    Let Subcommand
Purpose:
    Determine the confounding structure for 2-level full and fractional factorial designs.
Description:
    The "dex10stepanalysis.dp" macro can be used to analyze 2-level full or fractional factorial designs. A key step in the analysis of these designs is the estimation of the effects and the determination of the confounding structure. The "dex10stepanalysis.dp" macro calls the "compute_effect_estimates_and_confounding.dp" macro to perform the effect estimation. The DEX CONFOUND command is a utility command used in the "compute_effect_estimates_and_confounding.dp" macro and is not typically used outside of this context.

    Previous versions of the 10-step analysis macros contained a "conf.dp" macro. The DEX CONFOUND command emulates the computations of this macro. This command was added for performance reasons (i.e., using the DEX CONFOUND command is significantly faster than using the CONF.DP macro).

    The input to this command is the factor variables of the design matrix. The response variable is not needed.

Syntax:
    LET <conftag1> <conftag2> = DEX CONFOUND <x1> ... <xk>
                            <SUBSET/EXCEPT/FOR qualification>
    where <x1> ... <xk> is a list of 1 to k variable names;
                <conftag1> is a vector containing the merged first component of the tags for the k main effects and the first component tags of the 2-term interactions;
                <conftag2> is a vector containing the merged second component of the tags for the k main effects and the second component tags of the 2-term interactions;
    and where the <SUBSET/EXCEPT/FOR qualification> is optional.

    The <conftag1> and <conftag2> variables are typically called CONFTAG1 and CONFTAG2.

    In addition to <conftag1> and <conftag2>, a number of strings starting with "STC" and "STT" are automatically created and saved. It is these strings which are of primary interest. The STC strings are the strings for the confounding and the STT strings are the strings for the primary tags. These strings are used by subsequent macros in the 10-step analysis for labeling the plots with the confounding structure.

Examples:
    LET CONFTAG1 CONFTAG2 = DEX CONFOUND X1 X2 X3
    LET CONFTAG1 CONFTAG2 = DEX CONFOUND X1 X2 X3 X4 X5

    LET STALL = STRING COMBINE X1 TO X8
    LET CONFTAG1 CONFTAG2 = DEX CONFOUND ^STALL

Default:
    None
Synonyms:
    None
Related Commands:
    DEX CORE = Determine the core vectors spanning the (n-1) space (or a large part of it) for effect estimation in the analysis of 2-level full and fractional factorial designs.
    CODE DEX = Convert data to -1, 0, +1 coding.
    CODE DEX 2-LEVEL = Generate a coded variable for a factor variable used in analyzing a 2-level full or fractional factorial design.
    DEX CHECK CLASSIC = Check if factor variables are in classic ("-1", "+1") form.
    DEX CHECK CENTER POINTS = Given a list of factor variables, create a tag variable that will identify center points.
Applications:
    Analysis of 2-level full and fractional factorial designs
Implementation Date:
    2018/02
Program:
     
    skip 25
    read scott_8_16.dat y x1 to x8
    let stall = string combine x1 to x8
    let conftag1 conftag2 = dex confound ^stall
    set write decimals 3
    print conftag1 conftag2
    status f
        
    The following output is returned
     
          *******************************
          **  print conftag1 conftag2  **
          *******************************
     
     
    ------------------------------
           CONFTAG1       CONFTAG2
    ------------------------------
              1.000       -999.000
              2.000       -999.000
              3.000       -999.000
              4.000       -999.000
              5.000       -999.000
              6.000       -999.000
              7.000       -999.000
              8.000       -999.000
              1.000          2.000
              1.000          3.000
              1.000          4.000
              1.000          5.000
              1.000          6.000
              1.000          7.000
              1.000          8.000
              2.000          3.000
              2.000          4.000
              2.000          5.000
              2.000          6.000
              2.000          7.000
              2.000          8.000
              3.000          4.000
              3.000          5.000
              3.000          6.000
              3.000          7.000
              3.000          8.000
              4.000          5.000
              4.000          6.000
              4.000          7.000
              4.000          8.000
              5.000          6.000
              5.000          7.000
              5.000          8.000
              6.000          7.000
              6.000          8.000
              7.000          8.000
     
     
          ****************
          **  status f  **
          ****************
     
    FUNCTION  PROBESTR--OFF
    FUNCTION  ZZZV1   --Y
    FUNCTION  ZZZV2   --X1
    FUNCTION  ZZZV3   --X2
    FUNCTION  ZZZV4   --X3
    FUNCTION  ZZZV5   --X4
    FUNCTION  ZZZV6   --X5
    FUNCTION  ZZZV7   --X6
    FUNCTION  ZZZV8   --X7
    FUNCTION  ZZZV9   --X8
    FUNCTION  STALL   --X1 X2 X3 X4 X5 X6 X7 X8
    FUNCTION  STT1    --1
    FUNCTION  STC1    ---999
    FUNCTION  STT2    --2
    FUNCTION  STC2    ---999
    FUNCTION  STT3    --3
    FUNCTION  STC3    ---999
    FUNCTION  STT4    --4
    FUNCTION  STC4    ---999
    FUNCTION  STT5    --5
    FUNCTION  STC5    ---999
    FUNCTION  STT6    --6
    FUNCTION  STC6    ---999
    FUNCTION  STT7    --7
    FUNCTION  STC7    ---999
    FUNCTION  STT8    --8
    FUNCTION  STC8    ---999
    FUNCTION  STT9    --12
    FUNCTION  STC9    --37+48+56
    FUNCTION  STT10   --13
    FUNCTION  STC10   --27+46+58
    FUNCTION  STT11   --14
    FUNCTION  STC11   --28+36+57
    FUNCTION  STT12   --15
    FUNCTION  STC12   --26+38+47
    FUNCTION  STT13   --16
    FUNCTION  STC13   --25+34+78
    FUNCTION  STT14   --17
    FUNCTION  STC14   --23+45+68
    FUNCTION  STT15   --18
    FUNCTION  STC15   --24+35+67
    FUNCTION  STT16   --23
    FUNCTION  STC16   --17+45+68
    FUNCTION  STT17   --24
    FUNCTION  STC17   --18+35+67
    FUNCTION  STT18   --25
    FUNCTION  STC18   --16+34+78
    FUNCTION  STT19   --26
    FUNCTION  STC19   --15+38+47
    FUNCTION  STT20   --27
    FUNCTION  STC20   --13+46+58
    FUNCTION  STT21   --28
    FUNCTION  STC21   --14+36+57
    FUNCTION  STT22   --34
    FUNCTION  STC22   --16+25+78
    FUNCTION  STT23   --35
    FUNCTION  STC23   --18+24+67
    FUNCTION  STT24   --36
    FUNCTION  STC24   --14+28+57
    FUNCTION  STT25   --37
    FUNCTION  STC25   --12+48+56
    FUNCTION  STT26   --38
    FUNCTION  STC26   --15+26+47
    FUNCTION  STT27   --45
    FUNCTION  STC27   --17+23+68
    FUNCTION  STT28   --46
    FUNCTION  STC28   --13+27+58
    FUNCTION  STT29   --47
    FUNCTION  STC29   --15+26+38
    FUNCTION  STT30   --48
    FUNCTION  STC30   --12+37+56
    FUNCTION  STT31   --56
    FUNCTION  STC31   --12+37+48
    FUNCTION  STT32   --57
    FUNCTION  STC32   --14+28+36
    FUNCTION  STT33   --58
    FUNCTION  STC33   --13+27+46
    FUNCTION  STT34   --67
    FUNCTION  STC34   --18+24+35
    FUNCTION  STT35   --68
    FUNCTION  STC35   --17+23+45
    FUNCTION  STT36   --78
    FUNCTION  STC36   --16+25+34
        

Privacy Policy/Security Notice
Disclaimer | FOIA

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

Date created: 11/26/2018
Last updated: 11/26/2018

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