Results 1 to 4 of 4

Math Help - Choosing the right parameters in model so that it matches real data

  1. #1
    Newbie
    Joined
    Nov 2011
    Posts
    10

    Question Choosing the right parameters in model so that it matches real data

    Hello,


    I've got some data on an epidemic in various locations - the total number of agents and number killed by the infection after 1 year. -This gives gives me a distribution of percentages of the populations that have been killed by the infection. (but all the percentage values are relatively small)

    I wrote a mathematical ODE model for the disease spread within a population with 3 free parameters:
    p1 - probability of getting infected externally from the environment
    p2 - probability of infecting a new agent once at least one is already sick
    p3 - once an agent dies, it is replaced with a new one, the probability that the new one is already infected is given by p3.

    Now I need to choose values for p1,p2 and p3 so that the model generates data distributed as closely to the original distribution as possible.
    The trouble is that I have never done anything like this before and have very little experience with any sort of statistics.

    How should I define the original data distribution - a list of percentages of killed agents? a continuous function somehow?

    Then should I choose values for p1,p2,p3 by trial and error and run simulations multiple times to also generate distributions of data?

    Lastly, is there a proper way of comparing the obtained data with the original set? I've seen somewhere something about distance functions, what would be the best way of implementing this?


    Thanks for any advice!

    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor
    Joined
    Sep 2012
    From
    Australia
    Posts
    3,696
    Thanks
    619

    Re: Choosing the right parameters in model so that it matches real data

    Hey kornellster.

    I would recommend you ook at the EM algorithm for fitting distributions:

    Expectation
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Nov 2011
    Posts
    10

    Re: Choosing the right parameters in model so that it matches real data

    Thanks for this reply, I've seen lots of pages like this, but my problem is that I'm unsure how to apply any of the techniques I read about to my model.

    Please note that I made a mistake in the description, it's not a deterministic ODE model, but more like a Monte Carlo stochastic model, so all I can do is run the model with some guessed parameters and try somehow comparing the resulting sets of data.
    I'm really staring to doubt I'll be able to get anywhere with this in the time I have left...
    Is there any way how can I compare 2 sets of data if I have for example 100 data points of real data and generate 100 data points using my simulation? I need some idea of how I can implement it.
    Follow Math Help Forum on Facebook and Google+

  4. #4
    MHF Contributor
    Joined
    Sep 2012
    From
    Australia
    Posts
    3,696
    Thanks
    619

    Re: Choosing the right parameters in model so that it matches real data

    If you have an existing parametric distribution family in mind, then you should use the EM algorithm.

    If you want to fit your random variable to your data points with a non-parametric fit then take a look at re-sampling techniques used in statistical inference.

    To do this construct an empirical distribution and then use a program to simulate a random number that corresponds to a particular bin (which you choose) and from that bin you choose any number that belongs to the bin with some chance (usually equal).
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Power model equation for data given.
    Posted in the Algebra Forum
    Replies: 3
    Last Post: November 26th 2012, 04:20 PM
  2. Choosing an appropriate regression model
    Posted in the Advanced Statistics Forum
    Replies: 4
    Last Post: December 16th 2010, 01:23 PM
  3. Fitting data to a model
    Posted in the Algebra Forum
    Replies: 7
    Last Post: May 10th 2009, 10:56 AM
  4. Replies: 3
    Last Post: April 15th 2009, 01:18 AM
  5. choosing the parameters
    Posted in the Trigonometry Forum
    Replies: 1
    Last Post: June 26th 2008, 04:38 AM

Search Tags


/mathhelpforum @mathhelpforum