Chapter Contents

Previous

Next
The UNIVARIATE Procedure

Example 9: Displaying a Reference Line on a Normal Probability Plot


Procedure features:
PROC UNIVARIATE statement options:
NOPRINT
INSET statement options:
FORMAT=
HEADER=
POSITION=
REFPOINT=
statistical-keyword
PROBPLOT statement options:
MU=
NORMAL
PCTLMINOR
SIGMA=
VAR statement
Other features:
GOPTIONS statement
SYMBOL statement
Data Set: DISTRDATA

This example


Program
 Note about code
goptions htitle=4 htext=3 ftext=swissb ftitle=swissb;
 Note about code
symbol value=star;
 Note about code
 proc univariate data=distrdata noprint;
   var Normal_x;
 Note about code
probplot normal_x /normal(mu=est sigma=est) pctlminor;
 Note about code
   inset mean std / format=3.0 header='Normal Parameters'
                    position=(95,5) refpoint=br;
 Note about code
title1 '100 Obs Sampled from a Normal Distribution';
title2 'Normal Probability Plot';
run;


Output

Normal Probability Plot with a Normal Reference Line and a Customized Inset

[IMAGE]


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.