[Tutor] statistics with python

2009-03-20 Thread Bala subramanian
Dear python friends, someone kindly suggest me packages, modules and documentation resources (especially) to i) plot graphs using python. ii) statistical analysis using python. Thanks in advance, Bala ___ Tutor maillist - Tutor@python.org http://m

[Tutor] Statistics with python

2018-10-13 Thread Mariam Haji
Hi guys, I have a statistics question where I am to calculate the probability of a sample dataset. I have done the coding bit but I am not sure if I did the right thing, I just need confirmation before I submit it. the question is as: If a sample of 50 patients is taken from a dataset what is th

Re: [Tutor] statistics with python

2009-03-20 Thread greg whittier
On Fri, Mar 20, 2009 at 6:45 AM, Bala subramanian wrote: > Dear python friends, > > someone kindly suggest me packages, modules and documentation resources > (especially) to > > i) plot graphs using python. > matplotlib is excellent and probably the most popular > > ii) statistical analysis

Re: [Tutor] Statistics with python

2018-10-13 Thread Steven D'Aprano
On Sat, Oct 13, 2018 at 11:32:09AM +0300, Mariam Haji wrote: > the question is as: > If a sample of 50 patients is taken from a dataset what is the probability > that we will get a patient above the age of 56? That depends on the data set. How is it distributed? There are dozens of likely distri

Re: [Tutor] Statistics with python

2018-10-13 Thread Oscar Benjamin
On Sat, 13 Oct 2018 at 11:23, Mariam Haji wrote: > > Hi guys, Hi Mariam > the question is as: > If a sample of 50 patients is taken from a dataset what is the probability > that we will get a patient above the age of 56? I can think of several ways of interpreting this: (a): You have a dataset

Re: [Tutor] Statistics with python

2018-10-14 Thread Oscar Benjamin
I'm replying back to the tutor list. Can you reply there rather than directly to me please? Also I've moved your response below mine as that is the preferred style on this list. My answer is below. On Sun, 14 Oct 2018 at 16:05, Mariam Haji wrote: > > On Sat, Oct 13, 2018 at 10:24 PM Oscar Benjam

Re: [Tutor] Statistics with python

2018-10-15 Thread Mariam Haji
Hi, I think this makes more sense to me to get the std. I will go with this route since there is a number of age groups and not just 56. Thanks guys for all your help. >>> import numpy >>> ages = [35, 45, 55, 70] >>> numpy.mean(ages) 51.25 >>> numpy.std(ages) 12.93010054098575 On Sun, Oct 14, 2