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

📄 svy_intreg.hlp

📁 是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到
💻 HLP
字号:
{smcl}
{* 29mar2005}{...}
{cmd:help svy: intreg}{...}
{right:dialog:  {bf:{dialog svy_intreg}}{space 16}}
{right:also see:  {help "svy: intreg postestimation"}}
{hline}

{title:Title}

{p2colset 5 26 28 2}{...}
{synopt :{hi:[SVY] svy: intreg} {hline 2}}Interval
regression for survey data{p_end}
{p2colreset}{...}


{title:Syntax}

{p 8 42 2}
{cmd:svy} [{it:vcetype}] [{cmd:,} {it:svy_options}]
	{cmd::} {cmd:intreg} {depvar:1}  {depvar:2}
	[{indepvars}]{break}{ifin} [{cmd:,} {it:options}]


{synoptset 28 tabbed}{...}
INCLUDE help svy_optable


{synopthdr:options}
{synoptline}
{syntab:Model}
{synopt :{opt nocon:stant}}suppress the constant term{p_end}
{synopt :{opt h:et}{cmd:(}{it:varlist} [{cmd:,} {opt nocons:tant}]{cmd:)}}independent
	variables to model the variance; use {opt noconstant} to suppress the
	constant term{p_end}
{synopt :{opt off:set(varname)}}include
	{it:varname} in model with coefficient constrained to 1{p_end}
{synopt :{opt const:raints(constraints)}}apply
	specified linear constraints{p_end}

{syntab:Max options}
{synopt :{it:{help maximize:maximize_options}}}control
	the maximization process; seldom used{p_end}
{synoptline}
{p2colreset}{...}


{title:Description}

{pstd}
{cmd:svy: intreg} fits interval and censored linear regression models for
complex survey data;
see {helpb intreg} for a description of this model involving nonsurvey data,
{helpb "svy: regress"} for linear regression (uncensored), and
{helpb "svy: ivreg"} for instrumental variables regression for survey
data.

{pstd}
{it:depvar1} and {it:depvar2} should have the following form:

{center:Type of data {space 16} {it:depvar1}  {it:depvar2}}
{center:{hline 46}}
{center:point data       {it:a} = [{it:a},{it:a}]       {it:a}        {it:a}   }
{center:interval data        [{it:a},{it:b}]       {it:a}        {it:b}   }
{center:left-censored data   (-inf,{it:b}]    {cmd:.}        {it:b}   }
{center:right-censored data  [{it:a},inf)     {it:a}        {cmd:.}   }
{center:{hline 46}}


{pstd}
Hence, {cmd:svy: intreg} can be used to fit tobit models or models with
more general types of censoring for complex survey data.  See {hi:[R] intreg}
for more information.


{title:Options}

{phang}
{it:svy_options}; see {helpb svy}.

{dlgtab:Model}

{phang}
{opt noconstant}; see {help estimation options}.

{phang}
{opt het}{cmd:(}{it:varlist} [{cmd:,} {opt noconstant}]{cmd:)} specifies that
{it:varlist} be included in the specification of the conditional variance.
This {it:varlist} enters the variance specification collectively as
multiplicative heteroskedasticity.

{phang}
{opt offset(varname)}, {opt constraints(constraints)};
see {help estimation options}.

INCLUDE help svy_ml_maximize_options


{title:Examples}

{phang}
{cmd:. webuse nhis03adult}
{p_end}
{phang}
{cmd:. svyset psu [pweight=wtfa_sa], strata(stratum)}
{p_end}
{phang}
{cmd:. svydes}
{p_end}
{phang}
{cmd:. describe educ}
{p_end}
{phang}
{cmd:. generate byte leduc = educ if educ < 12}
{p_end}
{phang}
{cmd:. generate byte ueduc = educ if educ < 12}
{p_end}
{phang}
{cmd:. replace leduc = 11 if educ == 12}
{p_end}
{phang}
{cmd:. replace ueduc = 12 if educ == 12}
{p_end}
{phang}
{cmd:.} {it:...}
{p_end}
{phang}
{cmd:. svy: intreg leduc ueduc}
{p_end}


{title:Also see}

{psee}
Manual:  {bf:[SVY] svy: intreg}

{psee}
Online:  {help "svy: intreg postestimation"};{break}
{helpb intreg},
{helpb "svy: regress"}
{p_end}

⌨️ 快捷键说明

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