*! version März 31, 2016 @ 19:32:27

Title

sqpercentageplot -- Stacked Bar Chart for Percentages of Elements by Order (with Overlayed Entropy)

Syntax

sqpercentageplot
[if] [in]
[,
options
]

Main
entropy Show Entropy by Ordervar

nosecond Do not show 2nd Line for Entropy

baropts(barlook_options) Appearance of Stacked Bars

lopts(connect_options) Appearance of Line for Entropy

l2opts(connect_options) Appearance of 2nd Line for Entropy

twoway_options

Description

sqpercentageplot shows stacked bar charts of the
percentage distribution of elements by the ordervar. Option
twoway overlays a line for the entropy.

Note that this plot is not a sequence analysis method in the
strict sense, as it does not treat the sequence holistically. However,
percentage plots such as this one are frequently used in the context
of sequence analysis.

Options

entropy overlays a line plot for the entropy by position

nosecond erases the shadow line. By default,
sqpercentageplot displays a tiny white border around the the
line for the entropy in order to make the line more standout. This is
often useful when displaying the line in the foreground of stacked
bars that already have many colors. The option nosecond turns
this shadow line off.

baropts() Options to control the appearance of the
bars. All options described under help barlook_options
are allowed.

lopts() Options to control the appearance of the entropy
line. All options described under help connect_options are allowed.

l2opts() Options to control the appearance of the shadow
line. All options described under help connect_options
are allowed.

twoway options are any options allowed for graph twoway;
see help twoway_options.

Example(s)

. sqpercentageplot

. sqpercentageplot, entropy

. sqpercentageplot, entropy noshadow

Acknowledgements

Christian Brzinsky-Fay provided an initial version of the program

Author

Ulrich Kohler
email: ukohler@uni-potsdam.de

References

XXXX