[Tutor] Probability Density Function

Laura Creighton lac at openend.se
Mon Oct 19 17:32:49 EDT 2015


In a message of Mon, 19 Oct 2015 20:23:27 +0200, Sashen Singh writes:
>Hi,
>I have an array of chi square values for different values of redshift
>between 0 and 3. I know that the min-chi square value refers to the maximum
>likelihood. I need to plot a probability density function using the chi
>square values. I'm expecting a peak at the min-chi square. I'm having a lot
>of difficulty approaching this problem. Could you help me in trying to plot
>this.
>Thank you
>_______________________________________________
>Tutor maillist  -  Tutor at python.org
>To unsubscribe or change subscription options:
>https://mail.python.org/mailman/listinfo/tutor


This will help.
http://docs.scipy.org/doc/scipy-0.16.0/reference/generated/scipy.stats.chi2.html

Come back if you need more help getting to the point where you understand 
example with code, including how to plot it.

Laura


More information about the Tutor mailing list