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

st: SAS code for survey analysis?


From   "Jingnan Mao" <[email protected]>
To   <[email protected]>
Subject   st: SAS code for survey analysis?
Date   Wed, 27 Nov 2002 12:12:48 -0600

Hi all,

If SAS can do survey analysis, what is the SAS code for weight and psu
setting? Can you give me some SAS commands matching Stata command
'svyset'?

Thanks a lot.

Jingnan

 

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Gema
Sent: Wednesday, November 27, 2002 11:52 AM
To: [email protected]
Subject: Re: st: can SAS do survey analysis?

since version 7, SAS can do survey analysis.

PROC SURVEYREG
PROC SURVEYMEANS
PROC SURVEYSELECT

Laurel A Copeland wrote:

> No, not unless you shell out for SUDAAN ("SUDAAN uses a SAS-like 
> language").
> And as my plumber always says, "that'll cost ya extra."
>
> At 11:30 AM 11/27/2002 -0600, you wrote:
>
>> Hello, everyone,
>>
>> Can SAS do the survey analysis? Our department only has SAS for
>> statistical analysis, but we still have some survey projects waiting
to
>> be analyzed. My boss think we don't need to install two statistical
>> software in our computer. So, if SAS can do survey analysis, how
>> powerful is it comparing to Stata? I use Stata for survey analysis
>> before but don't know how to do it using SAS? Can you give any
>> suggestion?
>>
>> Thanks.
>>
>> Jingnan
>>
>>
>>
>> -----Original Message-----
>> From: [email protected]
>> [mailto:[email protected]] On Behalf Of Richard
>> Herrell
>> Sent: Wednesday, November 27, 2002 10:49 AM
>> To: [email protected]
>> Subject: RE: st: RE: STATA Vs. SAS
>>
>> Stata has done a great job of adding survey analysis routines.
They're
>> much easier to use than SUDAAN's.  I think SUDAAN can handle more
>> complex
>> designs than Stata can, but unless you need them there's no reason to
>> give up that second leg (down to one limb now) for SUDAAN and SAS to
do
>> survey analysis.
>>
>> =============================================
>> Richard Herrell, Ph.D.
>> Section on Developmental Genetic Epidemiology
>> Mood and Anxiety Disorders Program
>> National Institute of Mental Health
>> National Institutes of Health
>> 15K North Drive, Rm. 208 (MSC 2670)
>> Bethesda, MD 20892-2670
>> Office:  301/496-3459
>> Fax:     301/402-6100
>> email:   [email protected]
>>
>>
>>
>> On Wed, 27 Nov 2002, Shinogle, Judy wrote:
>>
>> > What about STATA vs. SUDDAN? I am using more complex surveys and
need
>> > to use the survey commands.  Esp survival analysis.
>> >
>> > Judith A. Shinogle, Ph.D., MSc.
>> > Assistant Professor
>> > University of South Carolina
>> > Dept. of Health Administration,
>> > Norman J. Arnold School of Public Health
>> > Dept. of Pharmaceutical and Health Outcomes Sciences, College of
>> Pharmacy
>> > Columbia, SC 29208
>> > phone (803) 777-5727
>> > [email protected]
>> >
>> >
>> > -----Original Message-----
>> > From: Richard Herrell [mailto:[email protected]]
>> > Sent: Wednesday, November 27, 2002 11:30 AM
>> > To: '[email protected]'
>> > Subject: Re: st: RE: STATA Vs. SAS
>> >
>> >
>> >
>> > I find Stata and SAS have different strengths.  Stata has been
>> > outstripping SAS in the development of many statistical procedures.
>> In
>> > particular, it did a great job of creating a suite of procedures
for
>> > standard epidemiology procedures.  On the other hand, I continue to
>> find
>> > Stata frustrating for data management and prefer SAS's data step
>> > capabilities.
>> >
>> > =============================================
>> > Richard Herrell, Ph.D.
>> > Section on Developmental Genetic Epidemiology
>> > Mood and Anxiety Disorders Program
>> > National Institute of Mental Health
>> > National Institutes of Health
>> > 15K North Drive, Rm. 208 (MSC 2670)
>> > Bethesda, MD 20892-2670
>> > Office:  301/496-3459
>> > Fax:     301/402-6100
>> > email:   [email protected]
>> >
>> >
>> > *
>> > *   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/
>> > *
>> > *   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/
>> >
>>
>> *
>> *   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/
>>
>> *
>> *   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/
>
>
> *
> *   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/



*
*   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/

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index