Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: How to change available ado file to add the function of studying survey data?


From   Richard Williams <Richard.A.Williams.5@ND.edu>
To   statalist@hsphsun2.harvard.edu, <statalist@hsphsun2.harvard.edu>
Subject   Re: st: How to change available ado file to add the function of studying survey data?
Date   Tue, 11 Jul 2006 19:52:18 -0500

At 06:32 PM 7/11/2006, Zhu, Liye wrote:
For some STATA ado files, how to change the code to add the function of studying survey data? I am trying to use -probitiv- command, but it cannot deal with survey data. There is also no corresponding command to accomplish this job, such as -svyprobitiv-. If I just change all the commands in the ado file into -svy- command series, does the code accomplish the job? Or, is there any other thing I also need to change in the -probitiv- ado file? I am using STATA version 8.
That is a pretty old program, and does various things that would be considered bad practice today, e.g. it has no help file and lacks a version command. And, the documentation it does have even says the standard errors are wrong! Perhaps someone knows of a better command for you.

If you must live with this program, skimming through the code you see various probit and regress commands. My temptation would be to do as you suggest and change those to svyprobit and svyregress and hope it then worked.


-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
FAX: (574)288-4373
HOME: (574)289-5227
EMAIL: Richard.A.Williams.5@ND.Edu
WWW (personal): http://www.nd.edu/~rwilliam
WWW (department): http://www.nd.edu/~soc
*
* 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