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
The vbars prefab
can create various error bar displays without requiring you to write any script code.
Example 2 - lines prefab
The lines prefab
can also create error bars.
Example 3 - script
Simple example where standard deviation was computed in advance.
Example 4 - script
Error bars to +/- one standard error were computed in advance.
Example 5 - script
Simple example where mean and standard deviation were computed by
Example 6 - script
Multiple error bars, showing increased statistical power
as sample size increases. Values computed externally, in advance.
Example 7 - script
In this example, proc rangebar computed the means and
standard deviations and displayed them as horizonal error bars.
Example 8 - script
Error bars in both horizontal and vertical directions for a scatterplot.
Example 9 - script
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