Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Econometrics/Statistical computation with Java - Need advice

 
Xavier George
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 48641
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ramya Chowdary
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic