Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For example, having this data:

year x/y/z
2007 10/20/70
2008 20/10/70
2009 30/10/60
2010 40/10/50
2011 40/15/45

We want to predict what will be the x/y/z in 2012. We can observe that x is constantly increasing, y rather constant, z decreasing, so we can predict, for example:

2012 50/10/40

How to predict that x/y/z values?

x/y/z refers to number of positive/neutral/negative sentiments in given year. We always get 100 sentiments of news for a year. In our example, in year 2007 there were 10 positive, 20 neutral and 70 negative sentiments. So, x/y/z are in range <0; 100> and x + y + z = 100. x/y/z seems to be independent. Number of consecutive years from which we are gathering data is in range <2; 10>. In example it was 5. Algorithm is going to be implemented in Python.

share|cite|improve this question
1  
Have you looked at linear regression? en.wikipedia.org/wiki/Linear_regression – Adam Dec 27 '11 at 20:10
1  
For a split second, I thought you were the same Adam. – Raskolnikov Dec 27 '11 at 21:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.