Author Topic: Expected value of nodes  (Read 11718 times)

Offline rwalk

  • Newbie
  • *
  • Posts: 2
    • View Profile
Expected value of nodes
« on: December 14, 2011, 20:03:36 »
Hi,

How can I get the expected value of an IntervalDCNode...I'm sure I saw a .getMean() in the API at some point, but I can't find it at the moment.

rwalk

Offline Anders L Madsen

  • HUGIN Expert
  • Hero Member
  • *****
  • Posts: 2295
    • View Profile
Re: Expected value of nodes
« Reply #1 on: December 14, 2011, 21:33:00 »
getMean is a method on ContinuousChanceNode.

You need to compute the mean using the beliefs associated with each interval and the intervals. There is no explicit method to compute the mean of an IntervalDCNode in the API.
HUGIN EXPERT A/S