Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Making vce(robust) the default


From   Billy Schwartz <wkschwartz@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Making vce(robust) the default
Date   Thu, 4 Aug 2011 11:53:36 -0400

Use the NOoption form (help syntax##optionally_off). Call the option
"norobust" and write

if "`robust'" == "" local robust vce(robust)

On Thu, Aug 4, 2011 at 12:40 PM, Richard Williams
<richardwilliams.ndu@gmail.com> wrote:
>
> I am writing a program and want to make vce(robust) the default if vce is not otherwise specified. How can I do that? My first impulse was to specify something like
>
> if "`vce'" == "" local vce(robust)
>
> But, a lot of other commands can set vce as well (svy:, robust, cluster) so I am not sure if that will work. vce(oim) is the usual default.
>
> -------------------------------------------
> Richard Williams, Notre Dame Dept of Sociology
> OFFICE: (574)631-6668, (574)631-6463
> HOME:   (574)289-5227
> EMAIL:  Richard.A.Williams.5@ND.Edu
> WWW:    http://www.nd.edu/~rwilliam
>
> *
> *   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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index