Group Abstract Group Abstract

Message Boards Message Boards

0
|
247 Views
|
1 Reply
|
1 Total Like
View groups...
Share
Share this post:

Cannot get simulated values to display on ListLinePlot

Posted 17 days ago

Hi:

I cannot get the ListLinePlot at the bottom on the attached notebook to display the meanPath and the lowerBoundPath on the simulation plot. I have tried a bunch of different things, but nothing seems to work.

Thanks so much,
Mitch Sandlin

POSTED BY: Mitchell Sandlin

If you type meanPath = Mean[simData] you get the global mean, just one number. You need to map the mean to the values at the various times:

meanPath = Map[Mean, simData["ValueList"]]

Similarly for Quantile:

lowerBoundPath = Map[Quantile[#, 0.05] &, simData["ValueList"]];
upperBoundPath = Map[Quantile[#, 0.95] &, simData["ValueList"]];
POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard