Calculate mean value of a statistic over multiple repetition.

60 views
Skip to first unread message

Alessandro Martinelli

unread,
Jan 22, 2016, 12:23:56 PM1/22/16
to omn...@googlegroups.com
Good evening,
as from title, I'm looking for a way to compute the mean value of a scalar value across multiple repetitions. Let's say I have a scalar value I emit; if I have omnetpp running 30 times, I'll have 30 of that value; I'd like to compute the mean of those values. 
I've found this similar topic, ma it appears to there isn't a valid answer, there:
https://groups.google.com/forum/#!topic/omnetpp/dXV17ol2g0c

It appears to me that it should be possibile, since if from general.anf>browser data I select the 30 scalar I'm interested to>"add filtered expression to dataset">left click on "add scalars: module(etc...) AND etc...">compute scalars, at the bottom I can see "Averaging: Select this checkbox to compute average values across repetitions instead of values for each repetition." And there is also the confidence interval! xD
(I'm talking about this http://postimg.org/image/j2vuz94r9/)

But if I check the box, and click "finish", it appears a "computer scalar" row, and I don't know that to do with it.

could you help me, please?
thank you!

Alessandro Martinelli

unread,
Jan 22, 2016, 1:55:34 PM1/22/16
to OMNeT++ Users
ok, I've solved the problem:
1) the data collected has to be scalar
2) once you open the "compute scalars" screen, you have to insert the proper value in all the field. This is easy if you press ctrl+space on every field and let omnetpp suggest you what to insert. 

Bye Bye!
Reply all
Reply to author
Forward
0 new messages