Statalist


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

Re: st: Possible bug with Mata binomialp and variable argument


From   rgates@stata.com (Richard Gates)
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Possible bug with Mata binomialp and variable argument
Date   Wed, 04 Feb 2009 09:35:54 -0600

Bob Hammond <robert_hammond@ncsu.edu> reported a bug in using -binomialp()-
with arguments that are views.

To wit, binomailp(#, #, #) works.

So does binomailp() when its arguments are Mata variables.

binomialp() does not work when any of the arguments are views onto the Stata
dataset created by st_view().

Bob wrote, "claiming to have found a bug is always risky but here goes."
Creating a bug is even more embarrassing than reporting a bug that does not
exist.

We will fix the bug.

In the meantime, Bob should use st_data() rather than st_view().

-- Richard Gates
   rgates@stata.com

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