I have an example of fitting distributions to bus arrival times using 'R' that may be helpful. I wanted to calculate the latest time I could arrive at the bus stop and have a better than 95% chance of catching the bus. I tend to use R and Scipy whereever each is strongest.
http://www.oplnk.net/~ajackson/software/ http://www.oplnk.net/~ajackson/software/BusStats.R On Sun, 11 May 2008 18:49:58 -0500 glenn andrews <[EMAIL PROTECTED]> wrote: > I have been working on a similar problem related to finance. What I > have done is call the "R" statistical software from Python and then use > matplotlib for graphing within Python > > I use Python2.4, the "R" statistical package, and a Python package > called rpy which interfaces to "R" from Python > > LINKs: > http://rpy.sourceforge.net/ > http://www.r-project.org/ > > My tendency is to submit the data to "R" which does the statistical > calculations, return the results to Python, and then use Matplotlib to > plot. Keep in mind that "R" also has good plotting capabilities and you > might just go with that solution. > > > > ########################################### > > > Eric Firing wrote: > > >You might get a good answer here (although I don't have it), but be > >aware that your question relates to math, not plotting, so it is not > >really a matplotlib question. You need nonlinear least-squares. Look > >in scipy, and try the amazing Google. > > > >Eric > > > >Adrian Price-Whelan wrote: > > > > > >>Hey guys - > >> > >>I'm working on a Histogram of pixel values from an astronomical image > >>that looks like a Gaussian curve and then polynomial decay. I'm > >>trying to figure out a way to fit a Gaussian regression to the > >>histogram, but can't find any documentation on this. thanks! > >> > >>-adrian > >> > >> > > > >------------------------------------------------------------------------- > >This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > >Don't miss this year's exciting event. There's still time to save $100. > >Use priority code J8TL2D2. > >http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > >_______________________________________________ > >Matplotlib-users mailing list > >Matplotlib-users@lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- ----------------------------------------------------------------------- | Alan K. Jackson | To see a World in a Grain of Sand | | [EMAIL PROTECTED] | And a Heaven in a Wild Flower, | | www.ajackson.org | Hold Infinity in the palm of your hand | | Houston, Texas | And Eternity in an hour. - Blake | ----------------------------------------------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users