My understanding is that hypothesis testing requires both a model
(Symbolics) and data (Numerics).

SymPy.stats can certainly be used to provide the model, likelihood
functions, their derivatives etc....
SymPy.stats and SymPy in general aren't very good at handling data however.
As Kjetil points out though there are some other excellent packages in the
python ecosystem that handle this nicely. I recommend looking at
statsmodels<http://statsmodels.sourceforge.net/>
.

It would be really nice to see SymPy stats and these other modules interact
more naturally. Getting this to work better is a high priority. Even
without strong links between these projects it should be possible to write
up a simple example using SymPy and numpy to perform hypothesis tests.
Unfortunately this isn't really my specialty (I actually do very little
statistics). If anyone is interesting in working on this I'd be happy to
support from the sympy.stats side.


On Sat, Oct 6, 2012 at 4:46 PM, Kjetil brinchmann Halvorsen <
[email protected]> wrote:

> Why should this be in sympy, which is for symbolic mathematics?
> within the python
> universe, hypothesis testing and friends seems to have a natural home
> in scipy. If one needs symbolics and statistics at ythe same time, I
> guess both scipy and sympy can be imported, at the same time, withinn
> the same python program, as modules?
>
> see:    http://www.astro.cornell.edu/staff/loredo/statpy/
>
> kjetil
>
> On Sat, Oct 6, 2012 at 2:41 PM, Sachin Joglekar <[email protected]>
> wrote:
> > Another enhancement which I think could be done...could hypothesis
> testing
> > be added to the stats module?
> >
> > On Friday, October 5, 2012 10:57:30 PM UTC+5:30, Sachin Joglekar wrote:
> >>
> >> It was recently pointed out to me that though Sympy has much of the
> >> theoretical classes used in data analysis, there are no straightforward
> >> analysis tools in any module of Sympy. Something like those present in
> the
> >> statistical analysis language R. Sympy already has classes for all
> important
> >> distributions. It would just be a question of providing an 'interface'
> to
> >> make analysis easier, for eg, dealing with .csv files, etc. Would it be
> a
> >> useful addition to the code base?
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "sympy" group.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msg/sympy/-/-p97Vl4sFmAJ.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group at
> > http://groups.google.com/group/sympy?hl=en.
>
>
>
> --
> "If you want a picture of the future - imagine a boot stamping on the
> human face - forever."
>
> George Orwell (1984)
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/sympy?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to