Discrete and Binomial Distribution

Discrete and Binomial Distribution - MTB > sum...

Info iconThis 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
Background image of page 1

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

View Full DocumentRight Arrow Icon
Background 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

Page1 / 2

Discrete and Binomial Distribution - MTB > sum...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online