Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: testing for contrasts using svr command


From   Gregory Branch <greg_branch@gfbonline.org>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: testing for contrasts using svr command
Date   Wed, 16 Jun 2004 07:55:58 -0700 (PDT)

Am I missing something here, or couldn't one just
regress the variable of interest on a group of
dummies?

--- "Chattopadhyay, Arpita" <achat@medsfgh.ucsf.edu>
wrote:
> Hi everyone,
> I am using the svrmean command to calculate the mean
> of variable by race and
> gender.  I then want to see if difference in mean
> between males and females
> among whites is significantly different from the
> gender difference in other
> races.  I gather that fro this I need to use the
> svrest and svresttest
> commands.  This is what I am doing: (1,2,3 & 4 are
> race, gender groups)
> .. svrest "svrmean usc, by (group)"
> "[usc]2-[usc]1-[usc]4+[usc]3"
> error when command executed on original dataset
> invalid syntax
> r(101);
> Please help.
> Thanks.
> Arpita
> 
> 
>
********************************************************
> Arpita Chattopadhyay, Ph.D.
> Senior Statistician
> Primary Care Research Center
> University of California at San Francisco
> 1001 Potrero Avenue, Building 90, Ward 95
> San Francisco, CA 94110
> Ph: 415 206 6188
>
********************************************************
> 
> 
> 
> *
> *   For searches and help try:
> *  
> http://www.stata.com/support/faqs/res/findit.html
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
> 



		
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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   |   What's new   |   Site index