📄 svy_jackknife.hlp
字号:
{smcl}
{* 30mar2005}{...}
{cmd:help svy jackknife}{...}
{right:dialog: {bf:{dialog svy_jackknife}}{space 5}}
{right:also see: {help svy_postestimation:svy postestimation}}
{hline}
{title:Title}
{pstd}
{hi:[SVY] svy jackknife} {hline 2} Jackknife estimation for survey data
{title:Syntax}
{p 8 15 2}
{cmd:svy} {cmdab:jack:knife}
{it:{help exp_list}}
[{cmd:,}
{it:svy_options}
{it:jackknife_options}
]
{cmd::} {it:command}
{synoptset 23 tabbed}{...}
{synopthdr:svy_options}
{synoptline}
{syntab:if/in}
{synopt :{opt sub:pop()}}identify a subpopulation{p_end}
{syntab:Reporting}
{synopt :{opt l:evel(#)}}set confidence level; default is {cmd:level(95)}{p_end}
{synopt :{opt noh:eader}}suppress the table header{p_end}
{synopt :{opt nol:egend}}suppress the table legend{p_end}
{synopt :{opt noadj:ust}}do not adjust model Wald statistic{p_end}
{synoptline}
{synopthdr:jackknife_options}
{synoptline}
{syntab:Main}
{synopt :{opt e:class}}number of observations is in {cmd:e(N)}{p_end}
{synopt :{opt r:class}}number of observations is in {cmd:r(N)}{p_end}
{synopt :{opt n(exp)}}specify {it:exp} that evaluates to number of observations
used{p_end}
{syntab:Options}
{synopt :{help prefix_saving_option:{bf:saving(}{it:filename}{bf:, ...)}}}save
results to {it:filename}; save statistics in double precision; save
results to {it:filename} every {it:#} replications{p_end}
{synopt :{opt keep}}keep pseudovalues{p_end}
{synopt :{opt mse}}use MSE formula for variance estimate{p_end}
{syntab:Reporting}
{synopt :{opt v:erbose}}display the full table legend{p_end}
{synopt :{opt nodots}}suppress the replication dots{p_end}
{synopt :{opt noi:sily}}display any output from {it:command}{p_end}
{synopt :{opt tr:ace}}trace the {it:command}{p_end}
{synopt :{opt ti:tle(text)}}use {it:text} as title for jackknife results{p_end}
{syntab:Advanced}
{synopt :{opt nodrop}}do not drop observations{p_end}
{synopt :{opt reject(exp)}}identify invalid results{p_end}
{synoptline}
{pstd}
{opt weights} are not allowed in {it:command}.
{p_end}
INCLUDE help svy_notes_common
{title:Description}
{pstd}
{cmd:svy} {cmd:jackknife} performs jackknife variance estimation for complex
survey data. Typing
{pin}
{cmd:. svy jackknife} {it:exp_list} {cmd::} {it:command}
{pstd}
executes {it:command} once for each primary sampling unit (PSU) in the
dataset, leaving the associated PSU out of the calculations that
make up {it:exp_list}.
{phang}
{it:command} defines the statistical command to be executed.
Most Stata commands and user-written programs can be used with
{cmd:svy} {cmd:jackknife},
as long as they follow {help language:standard Stata syntax},
allow the {it:{help if}} qualifier,
and allow {cmd:pweight}s and {cmd:iweight}s; see {help weights}.
The {cmd:by} prefix is not allowed to be part of {it:command}.
{phang}
{it:{help exp_list}} specifies the statistics to be retrieved after the
execution of {it:command}.
{it:exp_list} is required unless {it:command} has the {cmd:svyj} program
property, in which case {it:exp_list} defaults to {cmd:_b}; see
{help program properties}.
{title:Options}
{phang}
{it:svy_options}; see {helpb svy}.
{dlgtab:Main}
{phang}
{opt eclass}, {opt rclass}, and {opt n(exp)} specify where
{it:command} saves the number of observations on which it based the calculated
results. You are strongly advised to specify one of these options.
{pin}
{opt eclass} specifies that {it:command} saves the number of observations
in {hi:e(N)}.
{pin}
{opt rclass} specifies that {it:command} saves the number of observations
in {hi:r(N)}.
{pin}
{opt n(exp)} allows you to specify an expression
that evaluates to the number of observations used. Specifying
{cmd:n(r(N))} is the same as specifying option {opt rclass}; specifying
{cmd:n(e(N))} is the same as specifying option {opt eclass}. If
{it:command} saved the number of observations in {cmd:r(N1)}, you would
specify {cmd:n(r(N1))}.
{pin}
If you don't specify any of these options, {cmd:svy} {cmd:jackknife} will
assume {opt eclass} or {opt rclass} depending upon which of {hi:e(N)} and
{hi:r(N)} is not missing (in that order). If both {hi:e(N)} and {hi:r(N)} are
missing, {cmd:svy} {cmd:jackknife} assumes that all observations in the
dataset contribute to the calculated result. If that assumption is incorrect,
the reported standard errors will be incorrect. See {hi:[R] jackknife} for
further details.
{dlgtab:Options}
INCLUDE help prefix_saving_option
{pmore}
See {it:{help prefix_saving_option}}, for details about {it:suboptions}.
{phang}
{opt keep} specifies that new variables be added to the dataset
containing the pseudovalues of the requested statistics.
See {hi:[R] jackknife} for details. When the {cmd:cluster()} option is given,
each cluster is given at most one nonmissing pseudovalue. This option
implies the {opt nodrop} option.
{phang}
{opt mse} indicates that {cmd:svy} {cmd:jackknife} compute the variance using
deviations of the replicates from the observed value of the statistics based
on the entire dataset. By default, {cmd:svy} {cmd:jackknife} computes the
variance using the sample variance of the pseudovalues.
{dlgtab:Reporting}
{phang}
{opt verbose} requests that the full table legend be displayed. By default,
coefficients and standard errors are not displayed.
{phang}
{opt nodots} suppresses the replication dots from being displayed. By
default, a single dot character is printed for each successful replication;
however, a single red `x' is printed if {it:command} returns with an error, or
one of the values in {it:exp_list} is missing.
{phang}
{opt noisily} requests that any output from {it:command} be displayed.
This option implies the {opt nodots} option.
{phang}
{opt trace} causes a trace of the execution of {it:command} to be displayed.
This option implies the {opt noisily} option.
{phang}
{opt title(text)} specifies a title to be displayed above the
table of jackknife results.
{dlgtab:Advanced}
{phang}
{opt nodrop} prevents observations outside {cmd:e(sample)} and the
{it:if}/{it:in} options from being dropped.
{phang}
{opt reject(exp)} identifies an expression that indicates when results should
be rejected. When {it:exp} is true, the resulting values are reset to missing
values.
{title:Examples}
{phang}
{cmd:. webuse nhanes2jknife}
{p_end}
{phang}
{cmd:. svyset}
{p_end}
{phang}
{cmd:. svy jackknife slope = _b[weight] : regress weight height}
{p_end}
{phang}
{cmd:. svy jackknife slope = _b[weight], mse : regress weight height}
{p_end}
{phang}
{cmd:. webuse nhanes2}
{p_end}
{phang}
{cmd:. svy jackknife slope = _b[weight] : regress weight height}
{p_end}
{title:Also see}
{psee}
Manual: {hi:[SVY] svy jackknife}
{psee}
Online: {help svy postestimation};{break}
{helpb jackknife},
{helpb svy brr}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -