MathOverflow is a question and answer site for professional mathematicians. It's 100% free, no registration required.

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

Hello math geniuses! Compsci dude here.

I'm trying to model the price distribution of a category of goods, and figure a LogNormalDistribution would provide a good fit. The problem is, I don't know how to do this with the data I have available.

I have several data points available: C(x1) to C(xn). For a given x, C(x) is the cumulative percentage of all items cheaper than x dollars. That is, if C(x) = .5, x is the median.

Given points C(x1) to C(xn), how can I find the best fit Log Normal Distribution? I suppose the question really is: how do I find the best fit log normal cumulative distribution function for a given set of points, and how "good" will the fit be?

Thanks a lot for the help!

share|cite|improve this question

closed as off topic by Will Jagy, David Roberts, Andrés Caicedo, Todd Trimble, Ryan Budney Jun 17 '11 at 22:12

Questions on MathOverflow are expected to relate to research level mathematics within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

You might try math.stackexchange – Will Jagy Jun 17 '11 at 3:55
I'll give it a shot, thanks. – Franky Jun 17 '11 at 3:57
Is MathOverflow the more advanced version of math.stackexchange? Please excuse my ignorance. – Franky Jun 17 '11 at 3:58
Yes. From the faq, "MathOverflow's primary goal is for users to ask and answer research level math questions, the sorts of questions you come across when you're writing or reading articles or graduate level books." – Ricky Demer Jun 17 '11 at 4:17
Or even try, which is better for statistical questions – David Roberts Jun 17 '11 at 6:10

A simple estimation:

1) $y_i=\log(x_i)$

2) $\hat\mu = \sum_i y_i (F((y_i+y_{i+1})/2)-F((y_i+y_{i-1})/2)$

3) $\hat\sigma= (\sum_i y_i^2 (F((y_i+y_{i+1})/2)-F((y_i+y_{i-1})/2)) -\mu^2$.

Then $x \sim \mathrm{Lognormal}(\hat\mu,\hat\sigma)$

share|cite|improve this answer
What function is F() ? – Franky Jun 20 '11 at 2:34

Not the answer you're looking for? Browse other questions tagged or ask your own question.