STATISTICS

5 posts / 0 new
Last post
Universidad San...
Offline
Joined: 12/22/2020 - 15:37
STATISTICS

Good afternoon, dear.
How to calculate the median of a group of data in IDEA.

Brian Element's picture
Brian Element
Offline
Joined: 07/11/2012 - 19:57

Unfortunately IDEA doesn't have a built in function to do this.  If you look in the Macros.ILB folder of the Samples project (C:\Users\user\Documents\My IDEA Documents\IDEA Projects\Samples\Macros.ILB) there is a script called ShowMedian.iss, if you run this it will display the median to you and write it to the history.  You can also create a script to do this easy enough.

Universidad San...
Offline
Joined: 12/22/2020 - 15:37

I get the error message, you must run pyton scripts in the IDEA options dialog box before performing the task and I don't know where it is IDEA options

Brian Element's picture
Brian Element
Offline
Joined: 07/11/2012 - 19:57

Goto File - Options - Run Python script and follow the prompts.

Universidad San...
Offline
Joined: 12/22/2020 - 15:37

Gracias  excelente, como genero una base de datos con el resultado y no un txt