octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #44130] [octave forge] (statistics) mvncdf alg


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #44130] [octave forge] (statistics) mvncdf algorithm needs performance and accuracy improvement
Date: Tue, 23 Nov 2021 12:50:27 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36

Follow-up Comment #3, bug #44130 (project octave):

actually trying other matlab doc examples i get the following:

Octave 6.4.0, statistics 1.4.2

>> firstDim = (-2:2)';
>> X = repmat(firstDim,1,4)
X =

  -2  -2  -2  -2
  -1  -1  -1  -1
   0   0   0   0
   1   1   1   1
   2   2   2   2

>> p = mvncdf(X)
p =

   0
   0
   0
   0
   0


Matlab 2021a:

>> firstDim = (-2:2)';
>> X = repmat(firstDim,1,4)

X =

    -2    -2    -2    -2
    -1    -1    -1    -1
     0     0     0     0
     1     1     1     1
     2     2     2     2

>> p = mvncdf(X)
p =

    0.0000
    0.0006
    0.0625
    0.5011
    0.9121



so maybe it's a bit more than an accuracy issue? 

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?44130>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]