Assigning Probability to Random Series from A Time Series Element

Answered

Comments

5 comments

  • Avatar
    Jason

    Ebrahim,

    When you say "assign a probability" to each series, do you mean that you want to define the probability that a particular series is selected? So in the example you present, there is a 20% chance that the first series is selected and so on? By the way, if this is the case, then the probabilities would need to add up to 1.0.

    0
    Comment actions Permalink
  • Avatar
    Ebrahim Ahmadisharaf

    Yes. That's exactly what I meant. Thanks Jason!

     

    But where/how do we input those probabilities in GoldSim? I can define multiple time series but don't know how to assign a unique probability to each.

    1
    Comment actions Permalink
  • Avatar
    Jason

    This is how I might do something like this:

    Set up a Stochastic element with a discrete probability called "Series_ID" that will be used to select the time series.

    Next, refer to Series_ID in your time series multiple series input definition.

     

    0
    Comment actions Permalink
  • Avatar
    Ebrahim Ahmadisharaf

    Thanks Jason!

    1
    Comment actions Permalink
  • Avatar
    Jason

    No problem. Glad to help!

    0
    Comment actions Permalink

Please sign in to leave a comment.