📄 hotel.hlp
字号:
{smcl}
{* 04apr2005}{...}
{cmd:help hotelling}{right:dialog: {bf:{dialog hotelling}}}
{hline}
{title:Title}
{p2colset 5 23 25 2}{...}
{p2col :{bf:[MV] hotelling} {hline 2}}Hotelling's T-squared generalized means
test{p_end}
{p2colreset}{...}
{title:Syntax}
{p 8 15 2}{cmd:hotelling} {varlist} {ifin} {weight} [{cmd:,}
{opth by(varname)} {opt not:able}]
{pstd}
{cmd:aweight}s and {cmd:fweight}s are allowed; see help {help weights}.
{pstd}
Note: {cmd:hotel} is a synonym for {cmd:hotelling}.
{title:Description}
{pstd}
{cmd:hotelling} performs Hotelling's T-squared test of whether a set of means
is zero or, alternatively, equal between two groups.
{title:Options}
{dlgtab:Model}
{phang}{cmd:by(}{it:varname}{cmd:)} specifies a variable identifying two
groups; a test of equality of means between groups is performed. If
{cmd:by()} is not specified, a test of means being jointly zero is performed.
{phang}{cmd:notable} suppresses printing a table of the means being compared.
{title:Examples}
{phang}{cmd:. webuse gasexp}{p_end}
{phang}{cmd:. gen diff1 = ampg1 - bmpg1}{p_end}
{phang}{cmd:. gen diff2 = ampg2 - bmpg2}{p_end}
{phang}{cmd:. hotelling diff1 diff2}{p_end}
{phang}{cmd:. webuse gasexp2}{p_end}
{phang}{cmd:. hotelling mpg1 mpg2, by(additive)}{p_end}
{title:Also see}
{psee}
Manual: {bf:[MV] hotelling}
{psee}
Online: {helpb manova}, {helpb regress}, {helpb ttest}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -