{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Discrete and Binomial Distribution

Discrete and Binomial Distribution - MTB> sum c6 Sum of...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Using MINITAB to calculate the mean and standard deviation of a Discrete Probability Distribution MTB > #In Column 1, input the values of your Discrete Random Variable, X MTB > #In Column 2, input the probabilities that correspond to the particular value of the Random Variable, X MTB > # to get the value in Column 3 do the following command MTB > let c3 = c1*c2 MTB > #Values will appear in C3 MTB > #to get the mean of the Discrete Probability Distribution do the following command MTB > sum c3 Sum of x*P(X=x) Sum of x*P(X=x) = 2.5 MTB > #2.5 is the mean of your distribution MTB > #Now we will get the variance and standard deviation MTB > #In column 4 we will put the variable value - mean, to do this, do the following command MTB > let c4 = c1 - 2.5 MTB > #We must get the square of C4, so do the following command MTB > let c5 = c4 * c4 MTB > #now we will multiply the squared differences by the P(X=x) and put this in C6, so do the following command MTB > let c6 = c5 * c2 MTB > #the variance sum column 6, so do the following command
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: MTB > sum c6 Sum of sqr(x-mean)*P(X=x) Sum of sqr(x-mean)*P(X=x) = 2.45 MTB > #So 2.45 is the variance MTB > #to find the standard deviation, do the following command MTB > let k1 = sqrt(2.45) MTB > print k1 Data Display K1 1.56525 MTB > #k1 is the standard deviation The Binomial Distribution with parameters n and p MTB > #Working with the Binomial Distribution where n=7 and p = .55 MTB > #We are going to look for the pdf P(X=x) this is the command pdf; binomial n p. MTB > pdf; SUBC> binomial 7 0.55. Probability Density Function Binomial with n = 7 and p = 0.55 x P( X = x ) 0 0.003737 1 0.031969 2 0.117221 3 0.238785 4 0.291848 5 0.214022 6 0.087194 7 0.015224 MTB > #Here is the command for the cdf P(X<=x) MTB > #cdf; MTB > #binomial n p. MTB > cdf; SUBC> binomial 7 .55. Cumulative Distribution Function Binomial with n = 7 and p = 0.55 x P( X <= x ) 0 0.00374 1 0.03571 2 0.15293 3 0.39171 4 0.68356 5 0.89758 6 0.98478 7 1.00000...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern