Gallery - Error bars


Welcome     Gallery     Handbook


Manual page for Gallery_-_Error_bars(PL) This page contains a series of error bar examples. If the amount of error has been calculated in advance, use proc bars. If you want ploticus to compute the mean and standard deviation, use proc rangebar with the meanmode option.


Example 1 - vbars prefab

vbars prefab

The vbars prefab can create various error bar displays without requiring you to write any script code.


Example 2 - lines prefab

lines prefab

The lines prefab can also create error bars.


Example 3 - script

errbar2

Simple example where standard deviation was computed in advance.


Example 4 - script

mouse

Error bars to +/- one standard error were computed in advance.


Example 5 - script

errbar3

Simple example where mean and standard deviation were computed by proc rangebar.


Example 6 - script

errbar5

Multiple error bars, showing increased statistical power as sample size increases. Values computed externally, in advance.


Example 7 - script

errbar4

In this example, proc rangebar computed the means and standard deviations and displayed them as horizonal error bars.


Example 8 - script

scatterplot10

Error bars in both horizontal and vertical directions for a scatterplot.


Example 9 - script

errbar1

A more elaborate example. proc scatterplot was used to render points, and proc bars the error bars. The standard deviations were computed in advance.


data display engine  
Copyright Steve Grubb


Markup created by unroff 1.0,    March 01, 2002.