Click here to load reader

Session 3 Distribtion

Embed Size (px)

DESCRIPTION

Dist

Citation preview

Quantitative Technique I PGP 11-13

Dr. Rohit Joshi, IIM ShillongData, Models and DecisionsSession 3: DistributionsPGP 13-15Learning ObjectivesIn this session, you will learn:Distinguish between discrete random variables and continuous random variables.Know how to determine the mean and variance of a discrete distribution and continuous distributions.Identify the type of statistical experiments that can be described by discrete distribution and continuous distributions, and know how to work such problems.

Random variablesRandom VariablesDiscrete Random VariableContinuousRandom VariableWhat is a distribution?Describes the shape of a batch of numbers

Probability of happening of each outcome

Why Distribution?can serve as a basis for standardized comparison of empirical distributionscan help us estimate confidence intervals for inferential statisticsform a basis for more advanced statistical methodsfit between observed distributions and certain theoretical distributions is an assumption of many statistical proceduresDistributionsDiscrete distributionsBinomial DistributionHyper geometric DistributionPoisson Distribution

Continuous DistributionNormal DistributionUniform DistributionBeta Distribution (t, F, Chi square)Exponential DistributionImportant discrete probability distribution: The binomial7The Binomial Distribution: PropertiesA fixed number of observations, nex. 15 tosses of a coin; ten light bulbs taken from a warehouseTwo mutually exclusive and collectively exhaustive categoriesex. head or tail in each toss of a coin; defective or not defective light bulb; having a boy or girlGenerally called success and failureProbability of success is p, probability of failure is 1 pConstant probability for each observationThe outcome of one observation does not affect the outcome of the otherTwo sampling methodsInfinite population without replacementFinite population with replacement8Binomial distribution Take the example of 5 coin tosses. Whats the probability that you flip exactly 3 heads in 5 coin tosses? 9Binomial distribution, generally

1-p = probability of failurep = probability of successX = # successes out of n trialsn = number of trialsNote the general pattern emerging if you have only two possible outcomes (call them 1/0 or yes/no or success/failure) in n independent trials, then the probability of exactly X successes= 10Binomial distribution: exampleIf I toss a coin 20 times, whats the probability of getting exactly 10 heads?

11Binomial distribution: exampleIf I toss a coin 20 times, whats the probability of getting of getting 2 or fewer heads?

12**All probability distributions are characterized by an expected value and a variance:If X follows a binomial distribution with parameters n and p: X ~ Bin (n, p) Mean

Variance and Standard Deviation

Wheren = sample sizep = probability of success(1 p) = probability of failure13ApplicationsA manufacturing plant labels items as either defective or acceptableA firm bidding for contracts will either get a contract or notA marketing research firm receives survey responses of yes I will buy or no I will notNew job applicants either accept the offer or reject itYour team either wins or loses the football game at the company picnicThe Hypergeometric DistributionThe binomial distribution is applicable when selecting from a finite population with replacement or from an infinite population without replacement.

The hypergeometric distribution is applicable when selecting from a finite population without replacement.The Hypergeometric Distribution

WhereN = population sizeA = number of successes in the population N A = number of failures in the populationn = sample sizeX = number of successes in the sample n X = number of failures in the sampleThe Hypergeometric DistributionExampleDifferent computers are checked from 10 in the department. 4 of the 10 computers have illegal software loaded. What is the probability that 2 of the 3 selected computers have illegal software loaded?So, N = 10, n = 3, A = 4, X = 2

The probability that 2 of the 3 selected computers have illegal software loaded is .30, or 30%.

The Hypergeometric DistributionCharacteristicsThe mean of the hypergeometric distribution is:

The standard deviation is:

Where is called the Finite Population Correction Factor

from sampling without replacement from a finite populationThe Poisson Distribution DefinitionsAn area of opportunity is a continuous unit or interval of time, volume, or such area in which more than one occurrence of an event can occur.

ex. The number of scratches in a cars paintex. The number of mosquito bites on a personex. The number of computer crashes in a day The Poisson Distribution PropertiesApply the Poisson Distribution when:You wish to count the number of times an event occurs in a given area of opportunityThe probability that an event occurs in one area of opportunity is the same for all areas of opportunity The number of events that occur in one area of opportunity is independent of the number of events that occur in the other areas of opportunityThe probability that two or more events occur in an area of opportunity approaches zero as the area of opportunity becomes smallerThe average number of events per unit is (lambda)

The Poisson Distribution Formula

where:X = the probability of X events in an area of opportunity = expected number of eventse = mathematical constant approximated by 2.71828An exampleSuppose that, on average, 5 cars enter a parking lot per minute. What is the probability that in a given minute, 7 cars will enter?

So, there is a 10.4% chance 7 cars will enter the parking in a given minute.

Mean = Variance =

Continuous Probability DistributionContinuous DistributionA continuous random variable is a variable that can assume any value on a continuum (can assume an uncountable number of values)thickness of an itemtime required to complete a tasktemperature of a solutionheight

These can potentially take on any value, depending only on the ability to measure precisely and accurately.The Normal Distribution Properties Bell Shaped Symmetrical and asymptotic Mean, Median and Mode are equal Location is characterized by the mean, Spread is characterized by the standard deviation, Area to right and left of mean is 1/2.The random variable has an infinite theoretical range: - to + Mean = Median = Modef(X)The Normal Distribution Density FunctionThe formula for the normal probability density function is

Wheree = the mathematical constant approximated by 2.71828 = the mathematical constant approximated by 3.14159 = the population mean = the population standard deviationX = any value of the continuous variableSigma understanding of a NC

q = 99.7 %What is a Sigma level?A metric that indicates how well a process is performing.Higher is betterMeasures the capability of the process to perform defect-free workAlso known as z, it is based on standard deviation for continuous dataFinding ProbabilitiesProbability is the area under the curve!cdXf(X)

Many Normal Distribution

By varying the parameters and , we obtain different normal distributionsThere are an infinite number of normal distributions-3-2-10123Table Lookup of aStandard Normal Probability

Z0.00 0.01 0.02

0.000.00000.00400.00800.100.03980.04380.04780.200.07930.08320.0871

1.000.34130.34380.34611.100.36430.36650.36861.200.38490.38690.388812The Cumulative Standardized Normal DistributionZ.00.010.0.5000.5040.5080.5398.54380.2.5793.5832.58710.3.6179.6217.6255.5478.020.1.5478Cumulative Standardized Normal Distribution Table (Portion) ProbabilitiesShaded Area ExaggeratedOnly One Table is Needed

Z = 0.12

Standardizing Example

Normal DistributionStandardized Normal DistributionShaded Area Exaggerated

Example:

Normal DistributionStandardized Normal DistributionShaded Area Exaggerated

Z.00.010.0.5000.5040.5080.5398.54380.2.5793.5832.58710.3.6179.6217.6255.5832.020.1.5478Cumulative Standardized Normal Distribution Table (Portion) Shaded Area Exaggerated

Z = 0.21Example:

(continued)

Z.00.01-03.3821.3783.3745.4207.4168-0.1.4602.4562.45220.0.5000.4960.4920.4168.02-02.4129Cumulative Standardized Normal Distribution Table (Portion) Shaded Area Exaggerated

Z = -0.21Example:

(continued)

Example:

Normal DistributionStandardized Normal DistributionShaded Area Exaggerated

Example:

(continued)Z.00.010.0.5000.5040.5080.5398.54380.2.5793.5832.58710.3.6179.6217.6255.6179.020.1.5478Cumulative Standardized Normal Distribution Table (Portion) Shaded Area Exaggerated

Z = 0.30

.6217Finding Z Values for Known ProbabilitiesZ.000.20.0.5000.5040.50800.1.5398.5438.54780.2.5793.5832.5871.6179.6255.010.3Cumulative Standardized Normal Distribution Table (Portion)What is Z Given Probability = 0.6217 ?Shaded Area Exaggerated.6217

Recovering X Values for Known Probabilities

Normal DistributionStandardized Normal Distribution

An ExampleWe have a training program designed to upgrade the supervisory skills of production line supervisors. Because the program is self administered, supervisors require different no. of hours to complete the program. A study of past participation indicates that the mean length of time spent on the program is 500 hours and that this normally distributed random variable has a standard deviation of 100 hrs.Solve : (individual exercise)What is the probability that a participant selected at random will require more than 500 hrs to complete the program?Between 500 and 650 hrs to complete the training program?More than 700 hrs.Less than 580.Between 450 to 650.

Lowest Stock decision at post officeThe manager of a small postal substation is trying to quantify the variation in the weekly demand for mailing envelops. She has decided to assume that this demand is normally distributed. She knows that on an average 100 envelops are purchased weekly and that 90 percent of the time, weekly demand is below 115. The manager wants to stock enough mailing envelops each week so that the percentage of running out of envelops is no higher than 5 percent. Can you suggest her the lowest such stock level?Prediction of number of spectators in a matchMr. John, the McDonald stand manager for the One day Series at Sri Lanka's cricket stadium, just had two cancellation on his crew. This means that if more than 72,000 people come to watch todays cricket match, the line for hot-dogs will constitute a disgrace to Mr. John and will harm business at the future games. Mr. John knows from his experience that number of spectators who come to the game is normally distributed with mean 67,000 and standard deviation 4,000 people. Mr. John has an option to hire two temporary employees to ensure the business wont be harmed in the future at an additional cost of $200. If he believes the future harm to business of having more than 72,000 fans at the match would be $ 5000, what would you suggest him to go for?

Inspection ShopOn the basis of past experience, automobile inspectors in Maruti Udyog Limited in Gurgaon, have noticed that 5 percent of the cars coming in for their annual inspection fail to pass. Find the probability that between 7 and 18 of the next 200 cars to enter the Inspection shop will fail in the inspection.

Chart3000.002215924200.00000148670.002571320500.0000024390.00297626620.00000000010.00000396130.00343638330.00000000010.00000636980.00395772580.00000000040.00001014090.00454678130.00000000090.00001598370.00521046740.00000000220.00002494250.00595612180.00000000530.00003853520.00679148460.00000001230.00005894310.00772467360.00000002820.00008926170.00876415020.00000006350.00013383020.00991867720.00000013990.00019865550.01119726510.00000030210.00029194690.012609110.00000063960.00042478030.01416351890.00000132730.00061190190.01586982590.00000269960.00087268270.01773729640.00000538230.00123221920.01977502080.00001051830.00172256890.0219917980.00002014830.00238408820.02439600930.00003783070.00326681910.02699548330.00006962490.00443184840.0297973530.00012560260.00595253240.03280790740.0002220990.00791545160.03603243720.00038495410.01042093480.03947507920.00065401160.01358296920.04313865940.00108912050.01752830050.04702453870.00177779050.02239453030.05113246230.00284445680.02832703770.05546041730.00446099980.03547459280.06000450030.00685771090.0439835960.06475879780.01033332890.05399096650.06971528320.01526214050.06561581480.07486373280.02209554660.07895015830.08019166370.03135509790.09404907740.0856842960.04361397650.11092083470.09132454270.05946443790.12951759570.09709302750.07946997240.14972746560.10296813440.10410292120.1713685920.10892608850.13367090270.1941860550.11494107030.16823833270.2178521770.12098536230.20755210430.24197072450.12702952820.25098249750.26608524990.13304262490.29749100760.28969155280.13899244310.34563551340.31225393340.14484577640.39361984480.33322460290.15056871610.43938954890.35206532680.15612696670.48076912580.36827014030.16148617980.51562922930.38138781550.16661230140.54206653460.3910426940.17147192750.55857536080.39695254750.17603266340.56418958350.39894228040.18026348120.55857624590.39695254750.18413507020.54206825250.3910426940.18762017350.51563168030.38138781550.19069390770.4807721730.36827014030.19333405840.439393030.35206532680.1955213470.3936235870.33322460290.19723966550.3456393470.31225393340.19847627370.29749477870.28969155280.1992219570.25098607670.26608524990.19947114020.20755539310.24197072450.1992219570.16824126510.2178521770.19847627370.13367344430.1941860550.19723966550.10410506560.1713685920.1955213470.07947173530.14972746560.19333405840.05946585130.12951759570.19069390770.04361508220.11092083470.18762017350.03135594260.09404907740.18413507020.02209617680.07895015830.18026348120.01526260.06561581480.17603266340.01033365640.05399096650.17147192750.00685793910.0439835960.16661230140.00446115530.03547459280.16148617980.00284456050.02832703770.15612696670.00177785810.02239453030.15056871610.00108916370.01752830050.14484577640.00065403850.01358296920.13899244310.00038497060.01042093480.13304262490.00022210890.00791545160.12702952820.00012560830.00595253240.12098536230.00006962820.00443184840.11494107030.00003783260.00326681910.10892608850.00002014930.00238408820.10296813440.00001051890.00172256890.09709302750.00000538260.00123221920.09132454270.00000269980.00087268270.0856842960.00000132730.00061190190.08019166370.00000063970.00042478030.07486373280.00000030220.00029194690.06971528320.00000013990.00019865550.06475879780.00000006350.00013383020.06000450030.00000002820.00008926170.05546041730.00000001230.00005894310.05113246230.00000000530.00003853520.04702453870.00000000220.00002494250.04313865940.00000000090.00001598370.03947507920.00000000040.00001014090.03603243720.00000000010.00000636980.03280790740.00000000010.00000396130.02979735300.0000024390.026995483300.00000148670.024396009300.0000008972

Sheet1xpopulationsampling populationsigman-50.002215924200.0000014867281-4.90.002571320500.0000024390.70710678121-4.80.00297626620.00000000010.000003961312-4.70.00343638330.00000000010.0000063698-4.60.00395772580.00000000040.0000101409-4.50.00454678130.00000000090.0000159837-4.40.00521046740.00000000220.0000249425-4.30.00595612180.00000000530.0000385352-4.20.00679148460.00000001230.0000589431-4.10.00772467360.00000002820.0000892617-40.00876415020.00000006350.0001338302-3.90.00991867720.00000013990.0001986555-3.80.01119726510.00000030210.0002919469-3.70.012609110.00000063960.0004247803-3.60.01416351890.00000132730.0006119019-3.50.01586982590.00000269960.0008726827-3.40.01773729640.00000538230.0012322192-3.30.01977502080.00001051830.0017225689-3.20.0219917980.00002014830.0023840882-3.10.02439600930.00003783070.0032668191-30.02699548330.00006962490.0044318484-2.90.0297973530.00012560260.0059525324-2.80.03280790740.0002220990.0079154516-2.70.03603243720.00038495410.0104209348-2.60.03947507920.00065401160.0135829692-2.50.04313865940.00108912050.0175283005-2.40.04702453870.00177779050.0223945303-2.30.05113246230.00284445680.0283270377-2.20.05546041730.00446099980.0354745928-2.10.06000450030.00685771090.043983596-20.06475879780.01033332890.0539909665-1.90.06971528320.01526214050.0656158148-1.80.07486373280.02209554660.0789501583-1.70.08019166370.03135509790.0940490774-1.60.0856842960.04361397650.1109208347-1.50.09132454270.05946443790.1295175957-1.40.09709302750.07946997240.1497274656-1.30.10296813440.10410292120.171368592-1.20.10892608850.13367090270.194186055-1.10.11494107030.16823833270.217852177-10.12098536230.20755210430.2419707245-0.90.12702952820.25098249750.2660852499-0.80.13304262490.29749100760.2896915528-0.70.13899244310.34563551340.3122539334-0.60.14484577640.39361984480.3332246029-0.50.15056871610.43938954890.3520653268-0.40.15612696670.48076912580.3682701403-0.30.16148617980.51562922930.3813878155-0.20.16661230140.54206653460.391042694-0.10.17147192750.55857536080.396952547500.17603266340.56418958350.39894228040.10.18026348120.55857624590.39695254750.20.18413507020.54206825250.3910426940.30.18762017350.51563168030.38138781550.40.19069390770.4807721730.36827014030.50.19333405840.439393030.35206532680.60.1955213470.3936235870.33322460290.70.19723966550.3456393470.31225393340.80.19847627370.29749477870.28969155280.90.1992219570.25098607670.266085249910.19947114020.20755539310.24197072451.10.1992219570.16824126510.2178521771.20.19847627370.13367344430.1941860551.30.19723966550.10410506560.1713685921.40.1955213470.07947173530.14972746561.50.19333405840.05946585130.12951759571.60.19069390770.04361508220.11092083471.70.18762017350.03135594260.09404907741.80.18413507020.02209617680.07895015831.90.18026348120.01526260.065615814820.17603266340.01033365640.05399096652.10.17147192750.00685793910.0439835962.20.16661230140.00446115530.03547459282.30.16148617980.00284456050.02832703772.40.15612696670.00177785810.02239453032.50.15056871610.00108916370.01752830052.60.14484577640.00065403850.01358296922.70.13899244310.00038497060.01042093482.80.13304262490.00022210890.00791545162.90.12702952820.00012560830.005952532430.12098536230.00006962820.00443184843.10.11494107030.00003783260.00326681913.20.10892608850.00002014930.00238408823.30.10296813440.00001051890.00172256893.40.09709302750.00000538260.00123221923.50.09132454270.00000269980.00087268273.60.0856842960.00000132730.00061190193.70.08019166370.00000063970.00042478033.80.07486373280.00000030220.00029194693.90.06971528320.00000013990.000198655540.06475879780.00000006350.00013383024.10.06000450030.00000002820.00008926174.20.05546041730.00000001230.00005894314.30.05113246230.00000000530.00003853524.40.04702453870.00000000220.00002494254.50.04313865940.00000000090.00001598374.60.03947507920.00000000040.00001014094.70.03603243720.00000000010.00000636984.80.03280790740.00000000010.00000396134.90.02979735300.00000243950.026995483300.00000148675.10.024396009300.0000008972

&APage &P

Sheet1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

&APage &P

Sheet2

&APage &P

Sheet3

&APage &P

Sheet4

&APage &P

Sheet5

&APage &P

Sheet6

&APage &P

Sheet7

&APage &P

Sheet8

&APage &P

Sheet9

&APage &P

Sheet10

&APage &P

Sheet11

&APage &P

Sheet12

&APage &P

Sheet13

&APage &P

Sheet14

&APage &P

Sheet15

&APage &P

Sheet16

&APage &P