Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: "Conformability Error" when running svy:tabulate using over() option


From   Sergiy Radyakin <serjradyakin@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: "Conformability Error" when running svy:tabulate using over() option
Date   Fri, 28 Aug 2009 15:31:05 -0400

Dear Joshua,

the problem occurs in Stata 9.2 and 11.0 too. But most probably it is
because the option -over- is not documented for svy:tab. Does it
exist?
Perhaps this is what you want to obtain:
svy:tab age job_type, col
or this:
svy:mean age, over(job_type)


Here is an example (of working and not working commands):
webuse nlsw88
svyset [pw=grade]
svy:tab age occup, col
svy:mean age, over(occup)
svy:tab age, over(occup)

Best wishes, Sergiy Radyakin


On Fri, Aug 28, 2009 at 2:57 PM, Goetz, Joshua<jgoetz@rti.org> wrote:
> Good Afternoon,
>
> A Stata newbie, so forgive me if I'm missing something completely easy here.
>
> I'm using Stata 10.1 and I'm running into an error when I try the following command:
>
> svy: tabulate age, over(job_type);
>
> If I run either "svy: tabulate age" or "svy: tabulate job_type" I receive no errors.  The weights are defined using svyset [pw=wt] with the wt variable being a float with a min of 10.24 and a max of 294.68.  None of the variables, including wt, have missing data.
>
> I've used this command before on a number of analysis with no problems and this is the first time I've ran into an issue like this.  Any help would be greatly appreciated.
>
> Thanks!
>
> Joshua Goetz
> Public Health Policy Research
> RTI International
> 3040 Cornwallis Rd.
> Research Triangle Park, NC 27709
> www.rti.org
>
> Phone: 919-541-1260
> Fax: 919-541-6883
>
>
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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