• I am new to R(learned the basics)
  • In my current job I have to solve the following problem(the following is an example)

    • Suppose we have 10, 000 users
    • For each user we have his expected monthly spending(in dollars)(with some method that I don't know) for one year
    • What we have to do it fit a model where if for that year we give two dates(Jan-1, March 16), the model should tell us the expected spending(in dollars) for this duration

Question:

  • How to go about and fit a model
  • How to see graphically that model fits correctly with the data points I have
  • How to predict and get answer

Please assist me
Thank you

asked Mar 23 '12 at 14:09

daydreamer's gravatar image

daydreamer
105689


One Answer:

This is a very narrow question regarding an application, but a very broad one regarding the field of statistical anlysis. A general answer is beyond the scope of this forum.

Depending on your mathematical and computational background you can consult a wide range of books -- e.g. 'Machine learning for hackers' or 'collective intelligence' by O'Reilly on the easier end of the spectrum. If you are not afraid of matrix algebra, probability theory, calculus and graph theory, I recommend David Barber's very recent 'Bayesian reasoning and machine learning'. It is very complete and has lots of examples (including code!).

answered Mar 23 '12 at 14:42

Justin%20Bayer's gravatar image

Justin Bayer
170693045

Your answer
toggle preview

powered by OSQA

User submitted content is under Creative Commons: Attribution - Share Alike; Other things copyright (C) 2010, MetaOptimize LLC.