Statalist


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

st: RE: Weights in dataset


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: Weights in dataset
Date   Mon, 20 Aug 2007 15:29:55 +0100

You must specify weights whenever you want them. 

Strictly, you specify them as weights, not as options. 
Options are whatever follows the first comma on a command 
line. Weights are specified before options. 

The opposite kind of syntax is evidently possible, but 
it is not Stataish. The only exception to this that 
I can think of, which is not really an exception, is
that if you -expand- using frequency weights all subsequent
commands are as if they were frequency weighted. 

Nick 
[email protected] 

Felix Behling
 
> there are several weights in my dataset and I would like to 
> use a few of 
> them for my analysis. I have been looking in the help if there is a 
> command on weights but just found the one where I can use weights as 
> options to other commands. But I would like to use the weight for all 
> following analysis instead for each individually as it is possible in 
> SPSS. Maybe someone knows a command. 

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