📄 serrbar.hlp
字号:
{smcl}
{* 16mar2005}{...}
{cmd:help serrbar} {right:dialog: {bf:{dialog serrbar}}}
{hline}
{title:Title}
{p2colset 5 20 22 2}{...}
{p2col:{bf:[R] serrbar} {hline 2}}Graph standard error bar chart{p_end}
{p2colreset}{...}
{title:Syntax}
{p 8 16 2}
{cmd:serrbar}
{it:mvar}
{it:svar}
{it:xvar}
{ifin}
[{cmd:,} {it:options}]
{synoptset 27 tabbed}
{synopthdr}
{synoptline}
{syntab:Main}
{synopt:{opt sc:ale(#)}}scale length of graph bars; default is
{cmd:scale(1)}{p_end}
{syntab:Error bars}
{synopt:{it:{help twoway_rcap:rcap_options}}}affect rendition of capped spikes{p_end}
{syntab:Plotted points}
{synopt:{opth mvop:ts(scatter:scatter_options)}}affect rendition of plotted
points{p_end}
{syntab:Add plot}
{synopt:{opth "addplot(addplot_option:plot)"}}add other plots to generated graph{p_end}
{syntab:Y-Axis, X-Axis, Title, Caption, Legend, Overall}
{synopt:{it:{help twoway_options}}}any options other than {opt by()} documented in {bind:{bf:[G]} {it:twoway_options}}{p_end}
{synoptline}
{p2colreset}{...}
{title:Description}
{pstd}
{opt serrbar} graphs {it:mvar} +/- {opt scale()} * {it:svar} against
{it:xvar}. Usually, but not necessarily, {it:mvar} and {it:svar} will contain
means and standard errors or standard deviations of some variable so that a
standard error bar chart is produced.
{title:Options}
{dlgtab:Main}
{phang}
{opt scale(#)} controls the length of the bars. The upper
and lower limits of the bars will be {it:mvar} + {opt scale()} * {it:svar} and
{it:mvar} - {opt scale()} * {it:svar}. The default is {cmd:scale(1)}.
{dlgtab:Error bars}
{phang}
{it:rcap_options} affect the rendition of the plotted error bars (the capped
spikes). See {it:{help twoway_rcap}}.
{dlgtab:Plotted points}
{phang}
{opt mvopts(scatter_options)} affect the rendition of the plotted
points ({it:mvar} versus {it:xvar}). See {helpb scatter}.
{dlgtab:Add plot}
{phang}
{opt addplot(plot)} provides a way to add other plots to the generated
graph; see {it:{help addplot_option}}.
{dlgtab:Y-Axis, X-Axis, Title, Caption, Legend, Overall}
{phang}
{it:twoway_options} are any of the options documented in
{it:{help twoway_options}}, excluding {opt by()}. These include options for titling
the graph (see {it:{help title_options}}) and options for saving the graph to
disk (see {it:{help saving_option}}).
{title:Examples}
{cmd:. list}
date mean std
1. {res}8 192.4 3.94{txt}
2. {res}9 194.8 3.25{txt}
<output omitted>
{phang}{cmd}. serrbar mean std date, scale(2) yline(195)
{phang}
. serrbar mean std date, scale(2) title("Observed Weight Variation")
sub("San Francisco plant, 1/8 to 1/6") yline(195) yaxis(1 2)
ylab(195, axis(2)) ytitle("", axis(2))
{title:Also see}
{psee}
Manual: {bf:[R] serrbar}
{psee}
Online: {help qc}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -