Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: upper limit on fweights? overflowing into missing values?


From   László Sándor <[email protected]>
To   [email protected]
Subject   Re: st: upper limit on fweights? overflowing into missing values?
Date   Sat, 27 Jul 2013 12:36:57 -0400

Hi,
If you care, here is an example that silently produces missing values.
I notified Stata Support.

input y x fw
2 1 2147483621
1 2 2147483621
end
de
pwcorr y x [fw=fw]
exit

Thanks,

Laszlo

On Sun, Jul 21, 2013 at 5:08 PM, Nick Cox <[email protected]> wrote:
> I'd suggest documenting your problems with a reproducible example and
> sending Stata tech support.
>
>
> Nick
> [email protected]
>
>
> On 21 July 2013 21:55, László Sándor <[email protected]> wrote:
>> Hi,
>> in Stata/MP 12.1 I am getting missing values with using -pwcorr- with
>> -fweights- though the feature works fine with other data or if I scale
>> my weights down. Is it possible to simply have too large fweights,
>> e.g. if they cannot be of type -long- anymore?
>>
>> If so, why doesn't Stata warn me about this?
>>
>> I vaguely remember some Statalist of Stata blog discussion of this,
>> but I could not even Google it up, and Stata still did not warn me…
>>
>> Actually, why didn't Stata complain that I did not have integer
>> fweights if obviously the variable wasn't of type byte, int or long?
>>
>> Thanks,
>>
>> Laszlo
>>
>> *
>> *   For searches and help try:
>> *   http://www.stata.com/help.cgi?search
>> *   http://www.stata.com/support/faqs/resources/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/faqs/resources/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/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index