GeeCON Prague 2014*
The moose likes Java in General and the fly likes Econometrics/Statistical computation with Java - Need advice  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "Econometrics/Statistical computation with Java - Need advice  " Watch "Econometrics/Statistical computation with Java - Need advice  " New topic
Author

Econometrics/Statistical computation with Java - Need advice

Xavier George
Ranch Hand

Joined: Jul 29, 2005
Posts: 39
Dear All,

I need to perform econometrics/statistical computaion for the bank. We were using Matlab from MathWorks.com. Recently, we are planning to perform computation with java instead of Matlab.

e.g. below is the sample equation that I want to evaluate in java -

∆Φ^(-1) (SDP_t ) =B_1 〖∆SDF〗(t-1 ) B_2 〖∆XXX〗(t-2 ) B_3 〖∆linear〗(t-1)+B_4 〖∆Linear〗(t-2)
+Z_m

My question is, I have not found API in java though which I can perform calculation. Also, we are performing this type of computation first time in java, does java supports all statistics calculation like standard deviation, mean distribution et cetera.

I came across Apache commons-maths library which provides class related to maths/statistics. (http://commons.apache.org/math/api-1.2/index.html)

Has anyone performed statistics/equation evaluation in java or with Apache commons-maths? Please share your thought?

I appreciate your time reading my post.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39084
    
  23
Write out that formula as a simple algorithm. It will reduce to many simpler operations, eg power, log, add, subtract. If they are not simple arithmetic, have a look at the Math class, in the first instance.
Pratap koritala
Ranch Hand

Joined: Sep 27, 2006
Posts: 252
Some functions of following libraries can be useful

http://commons.apache.org/math/index.html
http://www.alphaworks.ibm.com/tech/mathlibrary4java/

But, as Ritchie said, follow algorithmic way.
You can also have wolfram as a reference to implement algorithms.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Econometrics/Statistical computation with Java - Need advice