Example: biology

The NPAR1WAY Procedure - SAS

SAS/STAT User s GuideThe NPAR1 WAYP rocedureThis document is an individual chapter fromSAS/STAT User s correct bibliographic citation for this manual is as follows: SAS Institute Inc. User s Guide. Cary, NC:SAS Institute User s GuideCopyright 2015, SAS Institute Inc., Cary, NC, USAAll Rights Reserved. Produced in the United States of a hard-copy book: No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or byany means, electronic, mechanical, photocopying, or otherwise, without the prior written permission of the publisher, SAS a web download or e-book: Your use of this publication shall be governed by the terms established by the vendor at the timeyou acquire this scanning, uploading, and distribution of this book via the Internet or any other means without the permission of the publisher isillegal and punishable by law.

6622 F Chapter 83: The NPAR1WAY Procedure Figure 83.1 Analysis of Variance The NPAR1WAY Procedure Analysis of Variance for Variable Gain Classified by Variable Dose Dose N Mean 0 16 222.187500 0.04 11 217.363636 0.07 12 175.000000 0.1 17 120.176471 0.13 11 118.363636 Source DF Sum of Squares Mean Square F Value Pr > F

Tags:

  Procedures, Npar1way, Npar1way procedure

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Transcription of The NPAR1WAY Procedure - SAS

1 SAS/STAT User s GuideThe NPAR1 WAYP rocedureThis document is an individual chapter fromSAS/STAT User s correct bibliographic citation for this manual is as follows: SAS Institute Inc. User s Guide. Cary, NC:SAS Institute User s GuideCopyright 2015, SAS Institute Inc., Cary, NC, USAAll Rights Reserved. Produced in the United States of a hard-copy book: No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or byany means, electronic, mechanical, photocopying, or otherwise, without the prior written permission of the publisher, SAS a web download or e-book: Your use of this publication shall be governed by the terms established by the vendor at the timeyou acquire this scanning, uploading, and distribution of this book via the Internet or any other means without the permission of the publisher isillegal and punishable by law.

2 Please purchase only authorized electronic editions and do not participate in or encourage electronicpiracy of copyrighted materials. Your support of others rights is Government License Rights; Restricted Rights:The Software and its documentation is commercial computer softwaredeveloped at private expense and is provided with RESTRICTED RIGHTS to the United States Government. Use, duplication, ordisclosure of the Software by the United States Government is subject to the license terms of this Agreement pursuant to, asapplicable, FAR , DFAR (a), DFAR (a), and DFAR , and, to the extent required under law, the minimum restricted rights as set out in FAR (DEC 2007).

3 If FAR is applicable, this provisionserves as notice under clause (c) thereof and no other notice is required to be affixed to the Software or documentation. TheGovernment s rights in Software and documentation shall be only those set forth in this Institute Inc., SAS Campus Drive, Cary, NC 27513-2414 July 2015 SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in theUSA and other countries. indicates USA brand and product names are trademarks of their respective 83 The NPAR1 WAY ProcedureContentsOverview: NPAR1 WAY Procedure ..6620 Getting Started: NPAR1 WAY Procedure .

4 6621 Syntax: NPAR1 WAY Procedure ..6630 PROC NPAR1 WAY Statement ..6630BY Statement ..6638 CLASS Statement ..6638 EXACT Statement ..6639 FREQ Statement ..6643 OUTPUT Statement ..6643 STRATA Statement ..6646 VAR Statement ..6648 Details: NPAR1 WAY Procedure ..6648 Missing Values ..6648 Tied Values ..6648 Statistical Computations ..6649 Simple Linear Rank Tests for Two-Sample Data ..6649 One-Way ANOVA Tests ..6651 Scores for Linear Rank and One-Way ANOVA Tests ..6651 Stratified Analysis ..6654 Hodges-Lehmann Estimation of Location Shift ..6655 Fligner-Policello Test ..6657 Multiple Comparisons Based on Pairwise Rankings.

5 6658 Tests Based on the Empirical Distribution Function ..6659 Exact Tests ..6661 Contents of the Output Data Set ..6664 Displayed Output ..6670 ODS Table Names ..6677 ODS Graphics ..6680 Examples: NPAR1 WAY Procedure ..6681 Example : Two-Sample Location Tests and Plots ..6681 Example : EDF Statistics and EDF Plot ..6685 Example : Exact Wilcoxon Two-Sample Test ..6686 Example : Hodges-Lehmann Estimation ..6688 Example : Exact Savage Multisample Test ..6688 References ..66906620 FChapter 83: The NPAR1 WAY ProcedureOverview: NPAR1 WAY ProcedureThe NPAR1 WAY Procedure performs nonparametric tests for location and scale differences across a one-wayclassification.

6 PROC NPAR1 WAY also provides a standard analysis of variance on the raw data, empiricaldistribution function statistics, pairwise multiple comparison analysis, and stratified NPAR1 WAY performs tests for location and scale differences based on the following rank-based scoresof a response variable: Wilcoxon, median, Van der Waerden (normal), Savage, Siegel-Tukey, Ansari-Bradley,Klotz, Mood, and Conover. In addition, PROC NPAR1 WAY provides tests that use the raw input data asscores. When the data are classified into two samples, tests are based on simple linear rank statistics. Whenthe data are classified into more than two samples, tests are based on one-way analysis of variance (ANOVA)statistics.

7 Both asymptotic and exactp-values are available for these tests. PROC NPAR1 WAY also providesHodges-Lehmann estimation of the location shift (with exact confidence limits) and the Fligner-Policello testfor two-sample NPAR1 WAY provides stratified analysis for two-sample data based on the following scores: Wilcoxon,median, Van der Waerden (normal), Savage, and raw data scores. Rank-based scores can be computed byusing within-stratum ranks or overall ranks; strata can be weighted by stratum size or by equal NPAR1 WAY also provides alignment by NPAR1 WAY computes empirical distribution function (EDF) statistics, which test whether thedistribution of a variable is the same across different groups.

8 These statistics include the Kolmogorov-Smirnov test, the Cram r von Mises test, and the Kuiper test. Exactp-values are available for the two-sampleKolmogorov-Smirnov NPAR1 WAY uses ODS Graphics to create graphs as part of its output. For general information aboutODS Graphics, see Chapter 21, Statistical Graphics Using ODS. For more information about the statisticalgraphics that PROC NPAR1 WAY produces, see the PLOTS= option in the PROC NPAR1 WAY statementand the section ODS Graphics on page Started: NPAR1 WAY ProcedureF6621 Getting Started: NPAR1 WAY ProcedureThis example illustrates how you can use PROC NPAR1 WAY to perform a one-way nonparametric data from Halverson and Sherwood (1930) consist of weight gain measurements for five different levelsof gossypol additive in animal feed.

9 Gossypol is a substance contained in cottonseed shells, and these datawere collected to study the effect of gossypol on animal following DATA step statements create the SAS data setGossypol:data Gossypol;input Dose n;do i=1 to n;input Gain @@;output;end;datalines;0 16228 229 218 216 224 208 235 229 233 219 224 220 232 200 208 11186 229 220 208 228 198 222 273 216 198 12179 193 183 180 143 204 114 188 178 134 208 17130 87 135 116 118 165 151 59 126 64 78 94 150 160 122 110 11154 130 130 118 118 104 112 134 98 100 104;The data setGossypolcontains the variableDose, which represents the amount of gossypol additive, and thevariableGain, which represents the weight are interested in whether there is a difference in weight gain among animals receiving thedifferent dose levels of gossypol.

10 The following statements invoke the NPAR1 WAY Procedure to perform anonparametric analysis of this problem:proc NPAR1WAY data=Gossypol;class Dose;var Gain;run;The variableDoseis the CLASS variable, and the VAR statement specifies the variableGainis the responsevariable. The CLASS statement is required, and you must name only one CLASS variable. You can nameone or more analysis variables in the VAR statement. If you omit the VAR statement, PROC NPAR1 WAYanalyzes all numeric variables in the data set except the CLASS variable, the FREQ variable, and the no analysis options are specified in the PROC NPAR1 WAY statement, the ANOVA, WILCOXON,MEDIAN, VW, SAVAGE, and EDF options are invoked by default.


Related search queries