⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ml_score.hlp

📁 是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到
💻 HLP
字号:
{smcl}
{* 03apr2005}{...}
{cmd:help ml score}{...}
{right:also see:  {help ml}}
{hline}

{title:Title}

{pstd}
{hi:ml score} {hline 2}
Generating scores after maximum-likelihood estimation


{title:Syntax}

{pstd}
Syntax for the scores from a specified equation:

{pmore}
{cmd:ml} {cmd:score} {newvar} {ifin}
	[{cmd:,}
		{opt eq:uation(eqname)}
		{opt force:scores}
	]


{pstd}
Syntax for the scores from all equations:

{pmore}
{cmd:ml} {cmd:score} {it:newvarlist} {ifin}

{pmore}
{cmd:ml} {cmd:score} [{it:type}] {it:stub}{cmd:*} {ifin}


{title:Description}

{pstd}
{cmd:ml} {cmd:score} creates new variables containing the observation level
contributions to the score.  The variables generated by {cmd:ml} {cmd:score}
are equivalent to those generated by specifying the {opt score()} to {cmd:ml}
{cmd:maximize} (and {cmd:ml} {cmd:model} ... {cmd:,} ... {cmd:maximize}).


{title:Options}

{phang}
{opt equation(eqname)} identifies which equation the observation scores are
to come from.  This option may only be used when generating a single variable.

{phang}
{opt forcescores} causes {cmd:ml} {cmd:score} to generate scores from results
generated from methods {cmd:d1} and {cmd:d2} even though the estimation
command does not have the {cmd:ml_score} property.


{title:Remarks}

{pstd}
{cmd:ml} {cmd:score} is always allowed when used after estimation commands
that use method {cmd:lf} likelihood evaluators.

{pstd}
{cmd:ml} {cmd:score} requires the estimation command to have "ml_score" as a
property if it uses method {cmd:d1} or {cmd:d2} likelihood evaluators.  This
will only work properly if the likelihood evaluator returns scores.

{pstd}
It is an error to call {cmd:ml} {cmd:score} after estimation commands that do
not use method {cmd:lf}, {cmd:d1}, or {cmd:d2} likelihood evaluators.


{title:Examples}

{pstd}
Single equation model:{p_end}

{phang}{cmd:. poisson accidents}{p_end}
{phang}{cmd:. ml score score}{p_end}

{pstd}
Two equation model (generates variables {cmd:sc_1} and {cmd:sc_2}):{p_end}

{phang}{cmd:. nbreg deaths coh2 coh3, exposure(obstime)}{p_end}
{phang}{cmd:. ml score sc_*}{p_end}

{pmore}
or

{phang}{cmd:. nbreg deaths coh2 coh3, exposure(obstime)}{p_end}
{phang}{cmd:. ml score sc_1, equation(#1)}{p_end}
{phang}{cmd:. ml score sc_2, equation(#2)}{p_end}


{title:Also see}

{psee}
Manual:  {hi:[R] ml}

{psee}
Online:  help for
{help ml},
{help predict}
{p_end}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -