📄 scoreplot.hlp
字号:
{smcl}
{* 06apr2005}{...}
{cmd:help scoreplot}, {cmd:help loadingplot}{...}
{right:dialogs: {bf:{dialog scoreplot} {dialog loadingplot}}}
{hline}
{title:Title}
{p2colset 5 23 25 2}{...}
{p2col :{hi:[MV] scoreplot} {hline 2}}Score and loading plots
after {cmd:factor} and {cmd:pca}{p_end}
{title:Syntax}
{pstd}
Plot score variables
{phang2}
{cmd:scoreplot}{space 3}[{cmd:,} {it:options} ]
{pstd}
Plot the loadings (factors or components)
{phang2}
{cmd:loadingplot} [{cmd:,} {it:options} ]
{synoptset 23 tabbed}
{synopthdr}
{synoptline}
{syntab:Main}
{synopt:{opt fac:tors(#)}}number of factors/scores to be plotted;
default is {cmd:factors(2)}{p_end}
{synopt:{opt com:ponents(#)}}synonym for {cmd:factors()}{p_end}
{synopt:{opt norot:ated}}use unrotated results, even if rotated results are
available{p_end}
{synopt:{it:{help marker_options}}}change look of markers (color, size, etc.){p_end}
{synopt:{it:{help marker_label_options}}}change look or position of marker labels{p_end}
{p2coldent:* {opt max:length(#)}}abbreviate variable names to {it:#};
default is {cmd:maxlength(12)}{p_end}
{synopt:{opt matrix}}graph as a scatterplot matrix when multiple plots are
produced{p_end}
{synopt:{opt combine:d}}graph as a combined graph when multiple plots are
produced{p_end}
{synopt:{it:{help graph_matrix:graph_matrix_options}}}affect the rendition of
the matrix graph{p_end}
{synopt:{it:{help graph_combine:combine_options}}}affect the rendition of
the combined graph{p_end}
{p2coldent:+ {opt score:opt(pred_opts)}}options for {cmd:predict} generating
score variables{p_end}
{syntab:Y-Axis, X-Axis, Title, Caption, Overall}
{synopt:{it:{help twoway_options}}}any options other than {opt by()}
documented in {bind:{bf:[G]} {it:twoway_options}}{p_end}
{synoptline}
{p2colreset}{...}
{p 4 6 2}* {opt max:length(#)} is only allowed with {cmd:loadingplot}.{p_end}
{p 4 6 2}+ {opt score:opt(pred_opts)} is only allowed with {cmd:scoreplot}.{p_end}
{title:Description}
{pstd}
{cmd:scoreplot} produces scatterplots of the score variables after
{cmd:factor}, {cmd:factormat}, {cmd:pca}, or {cmd:pcamat}.
{pstd}
{cmd:loadingplot} produces scatterplots of the loadings (factors or
components) after {cmd:factor}, {cmd:factormat}, {cmd:pca}, or {cmd:pcamat}.
{title:Options}
{dlgtab:Main}
{phang}{cmd:factors(#)}
produces plots for all combination of score variables up to {it:#}.
{it:#} should not exceed the number of retained factors (components),
and defaults to 2. {opt components()} is a synonym. No plot is
produced with {cmd:factors(1)}.
{phang}{opt norotated}
uses unrotated results, even when rotated results are available. The default
is to use rotated results if they are available. {opt norotated} is ignored
if rotated results are not available.
{phang}
{it:marker_options}
affect the rendition of markers drawn at the plotted points, including
their shape, size, color, and outline; see {it:{help marker_options}}.
{phang}
{it:marker_label_options}
specify if and how the markers are to be labeled; see
{it:{help marker_label_options}}.
{phang}{opt maxlength(#)},
an option used with {cmd:loadingplot},
causes the variable names (used as point markers in {cmd:loadingplot}) to be
abbreviated to {it:#} characters. The {helpb abbrev()} function performs the
abbreviation, and if {it:#} is less than 5 it is treated as 5.
{phang}{opt matrix}
specifies that plots are produced using {helpb graph matrix}. This is the
default when 3 or more factors are specified.
This option may not be used with {opt combined}.
{phang}{opt combined}
specifies that plots are produced using {helpb graph combine}.
This option may not be used with {opt matrix}.
{phang}{it:graph_matrix_options}
affect the rendition of the matrix plot; see {helpb graph matrix}.
{phang}{it:combine_options}
affect the rendition of the combined plot; see {helpb graph combine}.
{it:combine_options} may not be specified unless {cmd:factors()} is greater
than 2.
{phang}{opt scoreopt(options)}
({cmd:scoreplot} only) specifies options for {helpb predict} to generate the
score variables. For example, after {cmd:factor}, {cmd:scoreopt(bartlett)}
specifies that Bartlett scoring be applied.
{dlgtab:Y-Axis, X-Axis, Title, Caption, Overall}
{phang}
{it:twoway_options} are any of the options documented in
{it:{help twoway_options}}, excluding {cmd: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:Remarks}
{pstd}
As the number of {opt factors()} or {opt components()} increases, the graphing
area for each plot gets smaller. While the default matrix view (option
{opt matrix}) may be the most natural, the combined view (option
{opt combined}) displays half as many graphs. However, the combined view uses
more space for the labeling of axes than the matrix view. Regardless of the
choice, with numerous requested factors or components the graphs become too
small to be of any use. In {cmd:loadingplot} the {opt maxlength()} option
will trim the variable name marker labels that are automatically included.
This may help reduce overlap when multiple small graphs are shown. You can go
further, and remove these marker labels by using the {opt mlabel("")} graph
option.
{title:Examples}
{cmd:. pca price trunk rep78 head disp gear, comp(3)}
{cmd:. loadingplot}
{it:({stata `"scoreplot_help loadingplot"':click to run})}
{cmd:. loadingplot, comp(3)}
{it:({stata `"scoreplot_help `"loadingplot, comp(3)"'"':click to run})}
{cmd:. scoreplot, mlabel(make)}
{it:({stata `"scoreplot_help `"scoreplot, mlabel(make)"'"':click to run})}
{cmd:. factor price trunk rep78 head disp gear, factor(3) ml}
{cmd:. loadingplot}
{cmd:. loadingplot, factors(3)}
{cmd:. scoreplot, factors(3) scoreopt(bartlett)}
{title:Also see}
{psee}
Manual: {bf:[MV] scoreplot}
{psee}
Online: {helpb factor}, {help factor postestimation},
{helpb pca}, {help pca postestimation}, {helpb screeplot}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -