I have a height weight chart that gives me the values for the 5th, 10th, 25th, 50th, 75th, 90th, 95th percentiles. anyone have a Algorithm to (passably) randomly generate results that match my data?
Printable View
I have a height weight chart that gives me the values for the 5th, 10th, 25th, 50th, 75th, 90th, 95th percentiles. anyone have a Algorithm to (passably) randomly generate results that match my data?
Well, it's not random, but you can use the Least Squares method to fit a set of data points with a curve (a.k.a Curve Fitting).
There is a built in matlab function that does it.
Regards,
Zachm