Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.

# Re: st: nldecompose and svy subpopulation

 From Steve Samuels To statalist@hsphsun2.harvard.edu Subject Re: st: nldecompose and svy subpopulation Date Tue, 5 Jun 2012 18:00:01 -0400

```Then you have not updated it to the latest version Distribution-Date: 20110825

S.

On Jun 5, 2012, at 5:29 PM, meenakshi beri wrote:

I am sorry, Austin. But when I type help oaxaca in my stata 11, here is what I get in the main options (I have tried updating oaxaca also, still I get the following):

------------------------------------------------------------------------------------------------------------------------

help oaxaca                                                     (SJ8-4: st0151)
-------------------------------------------------------------------------------

Title

oaxaca -- Blinder-Oaxaca decomposition of outcome differentials

Syntax

oaxaca depvar [indepvars] [if] [in] [weight], by(groupvar) [options]

options                    description
-------------------------------------------------------------------------
Main
by(groupvar)             specify the groups; by() is required
swap                     swap groups
detail[(dlist)]          display detailed decomposition

Decomposition type
threefold[(reverse)]     threefold decomposition; the default
weight(# [# ...])        twofold decomposition based on specified
weights
pooled[(model_opts)]     twofold decomposition based on pooled model
including groupvar
omega[(model_opts)]      twofold decomposition based on pooled model
excluding groupvar
reference(name)          twofold decomposition based on stored model
split                    split unexplained part of twofold
decomposition

X-values
x1(names_and_values)     provide custom X-values for group 1
x2(names_and_values)     provide custom X-values for group 2
categorical(clist)       identify dummy-variable sets and apply
deviation contrast transform

SE/SVY
svy[(svyspec)]           survey-data estimation
vce(vcetype)             vcetype can be analytic, robust,
cluster clustvar, bootstrap, or jackknife
cluster(varname)         adjust standard errors for intragroup
correlation (Stata 9)
fixed[(varlist)]         assume nonstochastic regressors
[no]suest                do not/do use suest to obtain joint variance
matrix
nose                     suppress computation of standard errors

Model estimation
model1(model_opts)       estimation details for group 1 model
model2(model_opts)       estimation details for group 2 model
noisily                  display model estimation output

Reporting
xb                       display a table with coefficients and means
level(#)                 set confidence level; default is level(95)
eform                    report exponentiated results
nolegend                 suppress legend
-------------------------------------------------------------------------

Regards,
Meenakshi
_______________________________
Meenakshi Beri
Department of Economics
Wayne State University
dy5651@wayne.edu

----------------------------------------
> Date: Tue, 5 Jun 2012 17:14:20 -0400
> Subject: Re: st: nldecompose and svy subpopulation
> From: austinnichols@gmail.com
> To: statalist@hsphsun2.harvard.edu
>
> meenakshi beri <berimeenakshi@hotmail.com>:
> I beg to differ.
> http://fmwww.bc.edu/repec/bocode/o/oaxaca.html
>
> On Tue, Jun 5, 2012 at 5:04 PM, meenakshi beri
> <berimeenakshi@hotmail.com> wrote:
>> Thanks Austin!
>> However, logit is not an option with oaxaca.
>>
>> Regards,
>> Meenakshi
>>
>> Meenakshi Beri
>> Department of Economics
>> Wayne State University
>> dy5651@wayne.edu
>>
>>
>>> Date: Tue, 5 Jun 2012 16:37:07 -0400
>>> Subject: Re: st: nldecompose and svy subpopulation
>>> From: austinnichols@gmail.com
>>> To: statalist@hsphsun2.harvard.edu
>>>
>>> meenakshi beri <berimeenakshi@hotmail.com>:
>>> Or switch to -oaxaca- on SSC, described in
>>> http://www.stata-journal.com/sjpdf.html?articlenum=st0151
>>>
>>> webuse nhanes2, clear
>>> oaxaca highbp age black orace, logit svy by(female)
>>> oaxaca highbp age, logit svy(,subpop(black)) by(female)
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
```