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

Re: st: subpop() option of svy commands

From   Richard Williams <>
To, "" <>
Subject   Re: st: subpop() option of svy commands
Date   Wed, 09 Jul 2008 12:47:44 -0500

At 11:14 AM 7/9/2008, Sergiy Radyakin wrote:
Dear All,

is this a correct behaviour?

sysuse auto
svyset [w=weight]
svy: mean price, subpop(if !missing(rep78))

(running mean on estimation sample)
missing() may not be nested within missing()
invalid syntax
Maybe subpop doesn't like using functions.  Simple workaround:

svy: mean price, subpop(if rep78 < .)

Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME:   (574)289-5227
EMAIL:  Richard.A.Williams.5@ND.Edu

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index