Instruction Report W-93-1 February 1993 ELECTE US Army ... February 1993 ELECTE * US Army Corps

download Instruction Report W-93-1 February 1993 ELECTE US Army ... February 1993 ELECTE * US Army Corps

of 71

  • date post

    04-Aug-2018
  • Category

    Documents

  • view

    212
  • download

    0

Embed Size (px)

Transcript of Instruction Report W-93-1 February 1993 ELECTE US Army ... February 1993 ELECTE * US Army Corps

  • Instruction Report W-93-1February 1993

    ELECTE* US Army Corps MAR30 1993 f

    Waterways Experiment

    station AD-A262i 11111 l 632

    Water Operations Technical Support Program

    Sampling Design SoftwareUser's Manual

    by Robert F. GaugushEnvironmental Laboratory

    Approved For Public Release; Distribution Is Unlimited

    Reproduced From

    93-06527 Best Available Copy

    Prepared for Headquarters, U.S. Army Corps of Engineers

    /~~ 02OOQ 0~

  • The contents of this report are not to be used for advertising,publication, or promotional purposes. Citation of trade namesdoes not constitute an official endorsement or approval of the useof such commercial products.

    Notice to Program Recipients

    Th1is program is furnished by the U.S. Government and Is accepted and used by therecipient with the express understanding that the Government makes no warranty.expressed or implied, concerning the accuracy, completeness, reliability, usability, orsuitability for any particular purpose of the information and data contained in thisprogram or furnished in connection therewith, and the United States shall be under noliability whatsoever to any person by reason of any use madz thereof. T'he programbelongs to the Government. Therefore, the recipicnt further agrees not to assert anyproprietary rights therein or to represent this program to anyone as other than a Govern-ment program.

    All documents and reports conveying information obtained as a result of the use of theprogram by the recipient will acknowledge the U.S. Army Engineer Waterways Experi-ment Station, Corps of Engineers, Department of the Army, as the origin of the nrogram.All such documentation will state the name and version of the program u".~ by therecipient.

    W INTW ON RECYCLED PAPfl

  • Water Operations Technical Instruction Report W-93-1. Support Program February 1993Sampling Design SoftwareUser's Manualby Robert F. Gaugush

    Environmental Laboratory

    U.S. Army Corps of EngineersWaterways Experiment Station3909 Halls Ferry RoadVicksburg, MS 39180-6199

    Final reportApproved for public release; distribution Is unlimrnld .ceslon For

    DTIC TABI~Unannounced 0

    Justification

    BySDistribution I

    DTIC QUA" cAvadability CodesDi Avail andior

    1st Special

    Prepared for U.S. Army Corps of EngineersWashington, DC 20314-1000

  • US Army Corpsof EngineersWaterways ExperimentSon Data

    Lamm

    1l A a L ~ IIN*mI N o t R

    W aterways Exp earment Station Cataloging-In-Publication Data

    Gaugush, Robert F.

    campling Design Software : useCls manual by Robert F. Gaugushprepared for U.S. Army Corps of Engineers.

    70 p. : Ill. ; 28 cm. - (InstVuction eriert ; W-93-1)Includes bibliographical references.I1. Water quality -- Measurement - Statistical methods -- Computer

    progrmn-s. 2. Sampling (Statistics) -- Computer programs. 3. Statisti-call decision -- Data processing. 4. Cluster analysis -- Computer programs. 1. United States. Army. Corps of Engineers. 11. U.S. ArmyEngineer Waterways Experiment Station. Ill. Title. IV. Title: SamplingDesign Software user's manual. V. Series: Instruction report (U.S. ArmyO

    Engineer Waterways Experiment Station) ; W-93-1TA7 W341 no.W-93-1

  • Contents

    Preface......................................... v

    I-Introduction .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .......

    Background .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .....Contents of the SDS Disk. .. .. .. .. .. .. .. .. .. .. .. .....Installation .. .. .. .. .. .. .. .. .. .. .. .. .. .. .... .... 3Hardware Requirements .. .. .. .. .. .. .. .. .. .. .. .. .... 4User Assistance. .. .. .. .. .. .. .. .. .. . ..... .. .. ..... 4

    2-Decision Matrices .. .. .. .. .. .. .. .. .. .. .. .. .. ...... 5

    Program Execution. .. .. .. .. .. .. .. .. .. .. .. .. .. .... 5Data Entry .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .... 6Error Messa~es .. .. .. .. .. .. .. .. .. . .... .. .. .. ..... 7Documented Session .. .. .. .. .. .. .. .. .. .. .. .. .. .... 8Example O'utput File. .. .. .. .. .. .. .. .. .. .. .. .. .. ... 17

    3-Variance Component Analysis. .. .. .. .. .. .. .. .. .. ..... 18

    Data Set Preparation. .. .. .. .. .. .. .. .. .. .. .. .. ..... 18Prgam Execution .. .. .. .. .. .. .. .. .. .. .. ......... 22

    Error Messages................................. 23Documented Session.............................. 23Example Output File.............................. 29

    4-Error Analysis................................. 30

    Data Set Preparation. .. .. .. .. .. .. .. .. .. .. .. .. ..... 30Program Execution .. .. .. .. .. .. .. .. .. .. .. .. .. ..... 31Error Messages. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .... 32Documented Session. .. .. .. .. .. .. .. .. .. .. .. .. ..... 32Example Output File. .. .. .. .. .. .. .. .. .. .. .. .. ..... 43

    5-Clauster Analysis .. .. .. .. .. .. .. .. .. .. .. .. .. .. .... 44

    Data Set Preparation.............................. 45-Program Execution............................... 46

    Error Messages................................. 46

  • Documented Session .. .. .. .. .. .. .. .. .. .. .. .... ..... 47Example Output File .. .. .. .. .. .. .. .. .. .. .. .... ..... 59

    References .. .. .. .. .. .. .. .. .. .. .. .... .. .... .. ....... 61

    Bibliography .. .. .. .. .. .. .. .. .. .. .. .... .. .... .. ..... 62

    IV

  • Preface

    This report was prepared by the Environmental Laboratory (EL) of theU.S. Army Engineer Waterways Experiment Station (WES), as part of theWater Quality Management for Reservoirs and Tailwaters Demonstrationof the Water Operations Technical Support (WOTS) Program, sponsoredby the U.S. Army Corps of Engineers (HQUSACE). Mr. Pete Juhle,HQUSACE, is Technical Monitor. The WOTS is managed under theEnvironmental Resources Research and Assistance Programs (ERRAP),Mr. J. Lewis Decell, WES, Manager. Dr. A. J. Anderson was AssistantManager, ERRAP, for the WOTS program.

    This report was prepared by Dr. Robert F. Gaugush of the AquaticProcesses and Effects Group (APEG), EL, under th- direct supervision ofDr. Robert H. Kennedy, APEG, and under the general supervision ofMr. Donald L. Robey, Chief, Ecosystem Research and Simuletion Divi-sion, EL, and Dr. John Harrison, Chief, EL.

    At the time of publication of this report, Director of WES was Dr. Rob-ert W. Whalin. Commander was COL Leonard G. Hassell, EN.

    This report should be cited as follows:

    Gaugush, Robert F. 1993. Sample Design Software User'sManual. Instruction Report W-93-1. Vicksburg, MS: U.S.Army Engineer Waterways Experiment Station.

    V

  • i~/'

    1 Introduction

    Background

    The Sampling Design Software (SDS, Version 2.0) was developed as acompanion to the Instruction Report "Sampling De-sign for ReservoirWater Quality Investigations" (Gaugush 1987). Four programs were de-veloped to assist the user with problems with sampling design and its eval-uation. The programs aid the decision-making process in sampling designthrough the use of decision matrices (the DECMATRX program). Samplingdesign evaluation is performed using variance component analysis (theVARCOM program), error analysis (the ERROR program), and clusteranalysis (the CLUSTER progrrm).

    The purpose of this user's manual and the SDS disk provided with it isto assist the user in the implementation of these programs and is not in-tended to provide instruction on the assumptions and calculation methodsof the statistical techniques used by these programs. The Bibliographypresents a number of sources for basic statistics, sampling design, andmore advanced statistical topics. The instruction report mentioned pre-viously represents an introduction to the topic of sampling design. An in-troduction to statistics from a reservoir water quality perspective can befound in "Sttistical Methods for Reservoir Water Quality Investigations"(Gaugush 1986).

    Contents of the SDS Disk

    A total of 39 files are provided on the SDS disk. The .EXE files arethe compiled program files for DECMATRX, VARCOM, ERROR, andCLUSTER. These programs were developed and compiled using TurboPascal 5.5 (Borland International, Copyright 1984, 1989). The programfiles also have associated help files (files with an extension of .Hxx).Three example data sets are provided for the programs VARCOM,ERROR, and CLUSTER. These data sets are EG.VAR, EG.ERR, andEG.CLS, respectively.

    CWf I k~roww

    j N,,

  • Some files are required for all of the programs. The files with an exten-sion of .BGI are graphics device drivers. Only one of these files will beused for any particular application, but all art provided for maximum com-patibility with the numerous graphics cards to be found in personal com-puters (PC's). The files with an extension of .CHR are graphics charactersets that are used in the introductory screens for each program. Thesefiles are supplied with the Turbo Pascal 5.5 compiler (Borland Internation-al, Copyright 1984, 1989).

    The COLORS.DAT file is a short ASCII-forrmat text file that is read byall of the programs to set the screen colors. If, after running theprograms, you would like to change the screen colors, then simply editthis file. Notes on color selection are included in the file.

    A complete listing of the files on the SDS disk is provided telow:

    Decision Matrices files:

    DECMATRX.EXE - program file

    DECMATRX.HOI - help filesDECMATM,.H02DECMATRX.H03DECMATRX.H04DECMATRX.H05

    Variance Component Analysis files:'

    VARCOM.EXE - program file

    / VARCOM.H01 - help filesVARCOM.H02VARCOM.H03

    EG.VAR - example data file

    Error Analysis files:

    ERROR.EXE - program file

    ERROR.H01 - help filesERROR.H02ERROR.H03ERROR.H04ERROR.HO5

    S /EG.ERR - exampl