Discussion:
[Tutor] Probability Density Function
Sashen Singh
2015-10-19 18:23:27 UTC
Permalink
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 - ***@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
Danny Yoo
2015-10-19 20:56:43 UTC
Permalink
Post by Sashen Singh
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.
I don't think this is something we can effectively help on
***@python.org; your question is advanced enough that I don't think
there are many of us here who have enough experience to give you good
answers on this.

You might want to contact the scipy or matplotlib folks on this, as it
seems to be in their domain.

http://www.scipy.org/
http://www.scipy.org/scipylib/mailing-lists.html

http://matplotlib.org/
https://mail.python.org/mailman/listinfo/matplotlib-users
_______________________________________________
Tutor maillist - ***@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
Laura Creighton
2015-10-19 21:32:49 UTC
Permalink
Post by Sashen Singh
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
_______________________________________________
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
_______________________________________________
Tutor maillist - ***@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Loading...