Statalist The Stata Listserver


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

Re: st: -by varname- and -est store-


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: -by varname- and -est store-
Date   Wed, 16 Aug 2006 17:10:45 +0100 (BST)

This seems to be a case for -statsby-, see: -help statsby-
HTH,
Maarten

--- Bernhard Ganglmair <[email protected]> wrote:
> I am struggling with -by- and the -estimates- command. Hopefully 
> somebody can give me a hint.
> 
> I estimate a bivariate probit model for each value of the variable 
> varname using clustered data, i.e. for various sub-populations
> defined 
> by varname. The first approach that came into my mind was just
> running 
> the biprobit with if varname==some value. The Stata manual on survey,
> 
> however, tells me that I would incorrect variance estimates if I used
> 
> -if-. It is suggested to use the by() or subpop() option. Since 
> byprobit doesn't allow for by() or subpop() [version 8; no 
> svybiprobit], I am running the following:
> 
> by varname, sort: biprobit y1 y2 varlist, cluster(ea)
> 
> For each value of varname I'd like to store the estimation results, 
> -est store- however gives me only the results of the last value in 
> varname.
> 


-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting adress:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


	
	
		
___________________________________________________________ 
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine 
http://uk.docs.yahoo.com/nowyoucan.html
*
*   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