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   "Goetz, Joshua" <[email protected]>
To   <[email protected]>
Subject   RE: st: "Conformability Error" when running svy:tabulate using over() option
Date   Sat, 29 Aug 2009 09:01:57 -0400

Thank you Martin, Sergiy, and Jeff for your replies.  

I got a couple of follow-up questions so I'll try to answer in the order I received them:

1) Martin- I'm receiving an "conformability error" when running the following svy:tabulate variable1, over(variable2).  Neither variable has any missing values.

2) Sergiy- Thank you for the recommendation of using svy: tabulate variable1 variable2, col.  This will help me to accomplish what I want to do for my analysis.

3) Jeff- Thanks for the follow-up. Because the error came up as "conformability error" I didn't even think to check if the option -over() was valid with the svy: tabulate command.  I assumed, and we all know what happens when you assume, that -over() was a valid command and the problem was with the data itself.  Changing the error to read "syntax error" would greatly help newbies like myself.  



Thanks again for everyone's assistance with this!



-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Sergiy Radyakin
Sent: Friday, August 28, 2009 4:18 PM
To: [email protected]
Subject: Re: st: "Conformability Error" when running svy:tabulate using over() option

Hello Jeff,

apparently it was not:

. update query
(contacting http://www.stata.com)

Stata executable
    folder:               C:\Program Files (x86)\Stata10\
    name of file:         wmpstata.exe
    currently installed:  18 Aug 2009
    latest available:     18 Aug 2009

Ado-file updates
    folder:               C:\Program Files (x86)\Stata10\ado\updates\
    names of files:       (various)
    currently installed:  18 Aug 2009
    latest available:     18 Aug 2009

Utilities updates
    folder:               C:\Program Files (x86)\Stata10\utilities
    names of files:       (various)
    currently installed:  18 Aug 2009
    latest available:     18 Aug 2009

Recommendation
    Do nothing; all files up to date.

Click to edit automatic update checking preferences


. which svy
C:\Program Files (x86)\Stata10\ado\updates\s\svy.ado
*! version 1.4.5  29feb2008

Best regards, Sergiy Radyakin


On Fri, Aug 28, 2009 at 3:34 PM, Jeff Pitblado, StataCorp
LP<[email protected]> wrote:
> Joshua Goetz <[email protected]> is getting a conformability error from
> -svy: tabulate, over()-:
>
>> 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.
>
> I believe this was fixed in the 26aug2008 ado-file update in Stata 10.
>
> Joshua should type the following in Stata:
>
>        . update query
>
> then follow the recommendation at the end of its output.
>
> --Jeff
> [email protected]
> *
> *   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/

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index