LECTURE 6 DISTRIBUTIONS

Similar documents
Chapter 3: Distributions of Random Variables

Lecture 6: Normal distribution

Review of commonly missed questions on the online quiz. Lecture 7: Random variables] Expected value and standard deviation. Let s bet...

Nicole Dalzell. July 7, 2014

Announcements. Unit 2: Probability and distributions Lecture 3: Normal distribution. Normal distribution. Heights of males

Chapter 3: Distributions of Random Variables

Announcements. Data resources: Data and GIS Services. Project. Lab 3a due tomorrow at 6 PM Project Proposal. Nicole Dalzell.

Unit 2: Probability and distributions Lecture 4: Binomial distribution

Milgram experiment. Unit 2: Probability and distributions Lecture 4: Binomial distribution. Statistics 101. Milgram experiment (cont.

Lecture 5 - Continuous Distributions

ECON 214 Elements of Statistics for Economists 2016/2017

Lecture 8 - Sampling Distributions and the CLT

Normal distribution. We say that a random variable X follows the normal distribution if the probability density function of X is given by

University of California, Los Angeles Department of Statistics. Normal distribution

Both the quizzes and exams are closed book. However, For quizzes: Formulas will be provided with quiz papers if there is any need.

8.2 The Standard Deviation as a Ruler Chapter 8 The Normal and Other Continuous Distributions 8-1

Chapter 6. The Normal Probability Distributions

ECON 214 Elements of Statistics for Economists

Homework: Due Wed, Feb 20 th. Chapter 8, # 60a + 62a (count together as 1), 74, 82

Unit2: Probabilityanddistributions. 3. Normal and binomial distributions

Homework: Due Wed, Nov 3 rd Chapter 8, # 48a, 55c and 56 (count as 1), 67a

Unit2: Probabilityanddistributions. 3. Normal distribution

NORMAL RANDOM VARIABLES (Normal or gaussian distribution)

Lecture 6: Chapter 6

Standard Normal, Inverse Normal and Sampling Distributions

Statistics. Marco Caserta IE University. Stats 1 / 56

STAT 201 Chapter 6. Distribution

Lecture 9. Probability Distributions. Outline. Outline

The normal distribution is a theoretical model derived mathematically and not empirically.

Lecture 9. Probability Distributions

Unit2: Probabilityanddistributions. 3. Normal and binomial distributions

The graph of a normal curve is symmetric with respect to the line x = µ, and has points of

No, because np = 100(0.02) = 2. The value of np must be greater than or equal to 5 to use the normal approximation.

STAT Chapter 5: Continuous Distributions. Probability distributions are used a bit differently for continuous r.v. s than for discrete r.v. s.

Chapter 5 Student Lecture Notes 5-1. Department of Quantitative Methods & Information Systems. Business Statistics

Math 227 Elementary Statistics. Bluman 5 th edition

BIOL The Normal Distribution and the Central Limit Theorem

Section 7.5 The Normal Distribution. Section 7.6 Application of the Normal Distribution

Normal Model (Part 1)

Chapter Six Probability Distributions

5.4 Normal Approximation of the Binomial Distribution

Example - Let X be the number of boys in a 4 child family. Find the probability distribution table:

Topic 6 - Continuous Distributions I. Discrete RVs. Probability Density. Continuous RVs. Background Reading. Recall the discrete distributions

Chapter Seven. The Normal Distribution

STAT Chapter 6 The Standard Deviation (SD) as a Ruler and The Normal Model

LAB 2 INSTRUCTIONS PROBABILITY DISTRIBUTIONS IN EXCEL

STAT Chapter 6 The Standard Deviation (SD) as a Ruler and The Normal Model

Business Statistics. Chapter 5 Discrete Probability Distributions QMIS 120. Dr. Mohammad Zainal

The Binomial Probability Distribution

MAKING SENSE OF DATA Essentials series

Chapter 7. Sampling Distributions

Math 14 Lecture Notes Ch The Normal Approximation to the Binomial Distribution. P (X ) = nc X p X q n X =

Math 227 (Statistics) Chapter 6 Practice Test MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Week 7. Texas A& M University. Department of Mathematics Texas A& M University, College Station Section 3.2, 3.3 and 3.4

Chapter 4. The Normal Distribution

STAT Chapter 5: Continuous Distributions. Probability distributions are used a bit differently for continuous r.v. s than for discrete r.v. s.

Introduction to Statistics I

AMS7: WEEK 4. CLASS 3

Example. Chapter 8 Probability Distributions and Statistics Section 8.1 Distributions of Random Variables

Lecture Slides. Elementary Statistics Tenth Edition. by Mario F. Triola. and the Triola Statistics Series. Slide 1

1. (9; 3ea) The table lists the survey results of 100 non-senior students. Math major Art major Biology major

Chapter 6. y y. Standardizing with z-scores. Standardizing with z-scores (cont.)

Theoretical Foundations

Chapter 7 Sampling Distributions and Point Estimation of Parameters

2011 Pearson Education, Inc

MTH 245: Mathematics for Management, Life, and Social Sciences

Section Introduction to Normal Distributions

ECO220Y Continuous Probability Distributions: Normal Readings: Chapter 9, section 9.10

chapter 13: Binomial Distribution Exercises (binomial)13.6, 13.12, 13.22, 13.43

Lecture 8. The Binomial Distribution. Binomial Distribution. Binomial Distribution. Probability Distributions: Normal and Binomial

7. For the table that follows, answer the following questions: x y 1-1/4 2-1/2 3-3/4 4

Chapter 6: Random Variables

The binomial distribution p314

8.1 Binomial Distributions

MTH 245: Mathematics for Management, Life, and Social Sciences

Elementary Statistics Lecture 5

6. THE BINOMIAL DISTRIBUTION

Review. What is the probability of throwing two 6s in a row with a fair die? a) b) c) d) 0.333

In a binomial experiment of n trials, where p = probability of success and q = probability of failure. mean variance standard deviation

AMS 7 Sampling Distributions, Central limit theorem, Confidence Intervals Lecture 4

CH 5 Normal Probability Distributions Properties of the Normal Distribution

Department of Quantitative Methods & Information Systems. Business Statistics. Chapter 6 Normal Probability Distribution QMIS 120. Dr.

Example - Let X be the number of boys in a 4 child family. Find the probability distribution table:

Chapter 7: Sampling Distributions Chapter 7: Sampling Distributions

Part V - Chance Variability

Chapter 5: Probability models

AP Stats ~ Lesson 6B: Transforming and Combining Random variables

Examples: Random Variables. Discrete and Continuous Random Variables. Probability Distributions

MATH 264 Problem Homework I

Math 243 Lecture Notes

Probability & Sampling The Practice of Statistics 4e Mostly Chpts 5 7

Random Variables. 6.1 Discrete and Continuous Random Variables. Probability Distribution. Discrete Random Variables. Chapter 6, Section 1

7 THE CENTRAL LIMIT THEOREM

A random variable (r. v.) is a variable whose value is a numerical outcome of a random phenomenon.

Chapter 6: Random Variables

Lecture 12. Some Useful Continuous Distributions. The most important continuous probability distribution in entire field of statistics.

Name Period AP Statistics Unit 5 Review

Density curves. (James Madison University) February 4, / 20

Probability Distribution Unit Review

MA 1125 Lecture 18 - Normal Approximations to Binomial Distributions. Objectives: Compute probabilities for a binomial as a normal distribution.

Transcription:

LECTURE 6 DISTRIBUTIONS

OVERVIEW Uniform Distribution Normal Distribution Random Variables Continuous Distributions MOST OF THE SLIDES ADOPTED FROM OPENINTRO STATS BOOK.

NORMAL DISTRIBUTION Unimodal and symmetric, bell shaped curve Many variables are nearly normal, but none are exactly normal Denoted as standard deviation -> Normal with mean and

HEIGHTS OF MALES Male of heights almost normally distributed Shift: People adds a couple of inches to their heights

NORMAL DISTRIBUTION Mean = 0-1 0 1

NORMAL DISTRIBUTION Mean = 0-1 0 1

NORMAL DISTRIBUTION Mean = 0-1 0 1

NORMAL DISTRIBUTION Mean = 0 standard deviation -1 0 1

NORMAL DISTRIBUTION Mean = 0 standard deviation -1 0 1

NORMAL DISTRIBUTION Mean = 0 standard deviation -1 0 1

NORMAL DISTRIBUTION Mean = standard deviation -1 0 1

NORMAL DISTRIBUTION Mean = 1 standard deviation -1 0 1

NORMAL DISTRIBUTION Mean = 1 standard deviation -1 0 1

EXAMPLE SAT scores are distributed nearly normally with mean 1500 and standard deviation 300. ACT scores are distributed nearly normally with mean 21 and standard deviation 5. A college admissions officer wants to determine which of the two applicants scored better on their standardised test with respect to the other test takers: Pam, who earned an 1800 on her SAT, or Jim, who scored a 24 on his ACT?

EXAMPLE (CONTINUED) Since we cannot just compare these two raw scores, we instead compare how many standard deviations beyond the mean each observation Pam s score: is. Jim s score: = standard dev. above the mean. standard dev. above the mean.

STANDARD Z-SCORE Z score of an observation is the number of standard deviations it falls above or below the mean Z scores are defined for distributions of any shape, but only when the distribution is normal can we use Z scores to calculate percentiles Observations that are more than 2 SD away from the mean ( Z >2) are usually considered unusual.

PERCENTILES Percentile is the percentage of observations that fall below a given data point. Graphically, percentile is the area below the probability distribution curve to the left of that observation.

CALCULATING PERCENTILES

EXAMPLE At Heinz ketchup factory the amounts which go into bottles of ketchup are supposed to be normally distributed with mean 36 oz. and standard deviation 0.11 oz. Once every 30 minutes a bottle is selected from the production line, and its contents are noted precisely. If the amount of ketchup in the bottle is below 35.8 oz. or above 36.2 oz., then the bottle fails the quality control inspection. What percent of bottles have less than 35.8 ounces of ketchup?

EXAMPLE At Heinz ketchup factory the amounts which go into bottles of ketchup are supposed to be normally distributed with mean 36 oz. and standard deviation 0.11 oz. Once every 30 minutes a bottle is selected from the production line, and its contents are noted precisely. If the amount of ketchup in the bottle is below 35.8 oz. or above 36.2 oz., then the bottle fails the quality control inspection. What percent of bottles have less than 35.8 ounces of ketchup?

EXAMPLE At Heinz ketchup factory the amounts which go into bottles of ketchup are supposed to be normally distributed with mean 36 oz. and standard deviation 0.11 oz. Once every 30 minutes a bottle is selected from the production line, and its contents are noted precisely. If the amount of ketchup in the bottle is below 35.8 oz. or above 36.2 oz., then the bottle fails the quality control inspection. What percent of bottles have less than 35.8 ounces of ketchup? Let x= amount of ketchup in a bottle:

EXAMPLE At Heinz ketchup factory the amounts which go into bottles of ketchup are supposed to be normally distributed with mean 36 oz. and standard deviation 0.11 oz. Once every 30 minutes a bottle is selected from the production line, and its contents are noted precisely. If the amount of ketchup in the bottle is below 35.8 oz. or above 36.2 oz., then the bottle fails the quality control inspection. What percent of bottles have less than 35.8 ounces of ketchup? Let x= amount of ketchup in a bottle:

EXAMPLE At Heinz ketchup factory the amounts which go into bottles of ketchup are supposed to be normally distributed with mean 36 oz. and standard deviation 0.11 oz. Once every 30 minutes a bottle is selected from the production line, and its contents are noted precisely. If the amount of ketchup in the bottle is below 35.8 oz. or above 36.2 oz., then the bottle fails the quality control inspection. What percent of bottles have less than 35.8 ounces of ketchup? Let x= amount of ketchup in a bottle:

EXAMPLE Z=-1.82

EXAMPLE Z=-1.82

EXAMPLE Z=-1.82

EXAMPLE Z=-1.82

EXAMPLE..are supposed to be normally distributed with mean 36 oz. and standard deviation 0.11 oz. must not be below 35.8 oz. or above 36.2 oz., then the bottle fails the quality control inspection. What percent of bottles pass?

CUTTOFF POINTS Body temperatures of healthy humans are distributed nearly normally with mean 98.2F and standard deviation 0.73F. What is the cutoff for the lowest 3% of human body temperatures?

CUTTOFF POINTS Body temperatures of healthy humans are distributed nearly normally with mean 98.2F and standard deviation 0.73F. What is the cutoff for the lowest 3% of human body temperatures?

CUTTOFF POINTS Body temperatures of healthy humans are distributed nearly normally with mean 98.2F and standard deviation 0.73F. What is the cutoff for the lowest 3% of human body temperatures?

CUTTOFF POINTS Body temperatures of healthy humans are distributed nearly normally with mean 98.2F and standard deviation 0.73F. What is the cutoff for the lowest 3% of human body temperatures?

68-95-99 RULE about 68% falls within 1 SD of the mean, about 95% falls within 2 SD of the mean, about 99.7% falls within 3 SD of the mean

EXERCISE

EXERCISE Assume that in a city, the heights of people are distributed normally with a mean of 170 meters and a standard deviation of 5 cm. What is the expected number of people having a height between 165-175 meters (in terms of population percentage)?

EXERCISE Assume that in a city, the heights of people are distributed normally with a mean of 170 meters and a standard deviation of 5 cm. What is the expected number of people having a height between 165-175 meters (in terms of population percentage)? 68%

PRACTICE Which of the following is false? (a) Majority of Z scores in a right skewed distribution are negative. (b) In skewed distributions the Z score of the mean might be different than 0. (c) For a normal distribution, IQR is less than 2 x SD. (d) Z scores are helpful for determining how unusual a data point is compared to the rest of the data in the distribution.

PRACTICE Which of the following is false? (a) Majority of Z scores in a right skewed distribution are negative. (b) In skewed distributions the Z score of the mean might be different than 0. (c) For a normal distribution, IQR is less than 2 x SD. (d) Z scores are helpful for determining how unusual a data point is compared to the rest of the data in the distribution.

BINOMIAL DISTRIBUTION If p represents probability of success, (1-p) represents probability of failure, n represents number of independent trials, and k represents number of successes

PRACTICE Which of the following is not a condition that needs to be met for the binomial distribution to be applicable? (a) the trials must be independent (b) the number of trials, n, must be fixed (c) each trial outcome must be classified as a success or a failure (d) the number of desired successes, k, must be greater than the number of trials (e) the probability of success, p, must be the same for each trial

PRACTICE Which of the following is not a condition that needs to be met for the binomial distribution to be applicable? (a) the trials must be independent (b) the number of trials, n, must be fixed (c) each trial outcome must be classified as a success or a failure (d) the number of desired successes, k, must be greater than the number of trials (e) the probability of success, p, must be the same for each trial

PRACTICE A 2012 Gallup survey suggests that 26.2% of Americans are obese. Among a random sample of 10 Americans, what is the probability that exactly 8 are obese?

PRACTICE A 2012 Gallup survey suggests that 26.2% of Americans are obese. Among a random sample of 10 Americans, what is the probability that exactly 8 are obese?

PRACTICE

PRACTICE What is the probability that 2 randomly chosen people share a birthday?

PRACTICE What is the probability that 2 randomly chosen people share a birthday? Pretty low, 1/365

PRACTICE What is the probability that 2 randomly chosen people share a birthday? Pretty low, 1/365 What is the probability that at least 2 people out of 366 people share a birthday?

PRACTICE What is the probability that 2 randomly chosen people share a birthday? Pretty low, 1/365 What is the probability that at least 2 people out of 366 people share a birthday? Exactly 1! (Excluding the possibility of a leap year birthday.)

PRACTICE A 2012 Gallup survey suggests that 26.2% of Americans are obese. Among a random sample of 100 Americans, how many would you expect to be obese?

BINOMIAL DISTRIBUTION Mean and standard deviation Obesity example, We would expect 26.2 out of 100 randomly sampled Americans to be obese, with a standard deviation of 4.4.

UNUSUAL OBSERVATIONS An August 2012 Gallup poll suggests that 13% of Americans think home schooling provides an excellent education for children. Would a random sample of 1,000 Americans where only 100 share this opinion be considered unusual? a) No b) Yes

UNUSUAL OBSERVATIONS An August 2012 Gallup poll suggests that 13% of Americans think home schooling provides an excellent education for children. Would a random sample of 1,000 Americans where only 100 share this opinion be considered unusual? a) No b) Yes

UNUSUAL OBSERVATIONS An August 2012 Gallup poll suggests that 13% of Americans think home schooling provides an excellent education for children. Would a random sample of 1,000 Americans where only 100 share this opinion be considered unusual? a) No b) Yes

UNUSUAL OBSERVATIONS An August 2012 Gallup poll suggests that 13% of Americans think home schooling provides an excellent education for children. Would a random sample of 1,000 Americans where only 100 share this opinion be considered unusual? a) No b) Yes

UNUSUAL OBSERVATIONS An August 2012 Gallup poll suggests that 13% of Americans think home schooling provides an excellent education for children. Would a random sample of 1,000 Americans where only 100 share this opinion be considered unusual? a) No b) Yes

UNUSUAL OBSERVATIONS For this activity you will use a web applet. Go to http://goo.gl/viyj4w and choose Binomial coin experiment in the drop down menu on the left. Set the number of trials to 20 and the probability of success to 0.15. Describe the shape of the distribution of number of successes. Keeping p constant at 0.15, determine the minimum sample size required to obtain a unimodal and symmetric distribution of number of successes. Please submit only one response per team.

UNUSUAL OBSERVATIONS Hollow histograms of samples from the binomial model where p=0.1, and n=10,30, 100 and 300. What happens as n increases?

HOW LARGE IS LARGE ENOUGH? The sample size is considered large enough if the expected number of successes and failures are both at least 10.

NORMAL APPROXIMATION Below are four pairs of Binomial distribution parameters. Which distribution can be approximated by the normal distribution? a) n = 100; p = 0:95 b) n = 25; p = 0:45 c) n = 150; p = 0:05 d) n = 500; p = 0:015

NORMAL APPROXIMATION Below are four pairs of Binomial distribution parameters. Which distribution can be approximated by the normal distribution? a) n = 100; p = 0:95 b) n = 25; p = 0:45 c) n = 150; p = 0:05 d) n = 500; p = 0:015

NORMAL APPROXIMATION Below are four pairs of Binomial distribution parameters. Which distribution can be approximated by the normal distribution? a) n = 100; p = 0:95 b) n = 25; p = 0:45 c) n = 150; p = 0:05 d) n = 500; p = 0:015

MICHELOB VS. SCHLITZ VS. REF: DAILYHIIT.COM.

MICHELOB VS. SCHLITZ Average person prefer with 0.5 probability VS. REF: DAILYHIIT.COM.

MICHELOB VS. SCHLITZ Average person prefer with 0.5 probability VS. probability of least say 40% of Michelob drinkers prefer Schlitz? REF: DAILYHIIT.COM.

MICHELOB VS. SCHLITZ Average person prefer with 0.5 probability VS. probability of least say 40% of Michelob drinkers prefer Schlitz? 98% REF: DAILYHIIT.COM.

MICHELOB VS. SCHLITZ Answer = P(40 Schlitz) + P(41 Schlitz)+.. + P(100 Schlitz) P (k Schlitz) = C(100,k)0.5 k 0.5 100 k REF: DAILYHIIT.COM.

MICHELOB VS. SCHLITZ Average person prefer with 0.5 probability, N= 100 people Answer = P(40 Schlitz) + P(41 Schlitz)+.. + P(100 Schlitz) P (k Schlitz) = C(100,k)0.5 k 0.5 100 k REF: DAILYHIIT.COM.

MICHELOB VS. SCHLITZ Average person prefer with 0.5 probability, N= 100 people probability of at least say 40% of Michelob drinkers prefer Schlitz? Answer = P(40 Schlitz) + P(41 Schlitz)+.. + P(100 Schlitz) P (k Schlitz) = C(100,k)0.5 k 0.5 100 k REF: DAILYHIIT.COM.

MICHELOB VS. SCHLITZ When the sample size is large enough, the binomial distribution with parameters n and p can be approximated by the normal model with parameters

MICHELOB VS. SCHLITZ When the sample size is large enough, the binomial distribution with parameters n and p can be approximated by the normal model with parameters at least 40?

MICHELOB VS. SCHLITZ When the sample size is large enough, the binomial distribution with parameters n and p can be approximated by the normal model with parameters Schlitz at least 40?

MICHELOB VS. SCHLITZ When the sample size is large enough, the binomial distribution with parameters n and p can be approximated by the normal model with parameters Schlitz µ = 100 0.5 = 50 at least 40? = p 100 0.5 0.5) = 5

MICHELOB VS. SCHLITZ When the sample size is large enough, the binomial distribution with parameters n and p can be approximated by the normal model with parameters Schlitz µ = 100 0.5 = 50 at least 40? = p 100 0.5 0.5) = 5 Z = 40 50 5 = 2

MICHELOB VS. SCHLITZ When the sample size is large enough, the binomial distribution with parameters n and p can be approximated by the normal model with parameters Schlitz µ = 100 0.5 = 50 at least 40? = p 100 0.5 0.5) = 5 Z = 40 50 5 = 2 P(Schlitz>40)= P(Z>-2) = 0.978 (approximation) 0.982 (real)

MICHELOB VS. SCHLITZ Schlitz with N=100, p=0.7 (that is 0.7 times, Michelob drinkers will distinguish Michelob) µ =100 0.3 = 30 Z = 40 30 4.58 =2.18 = p 100 0.7 0.3 =4.58 P(Schlitz>40)=P(Z>2.18) =1.46%

MICHELOB VS. SCHLITZ Schlitz with N=100, p=0.7 (that is 0.7 times, Michelob drinkers will distinguish Michelob) np = 0.7x100=70, µ =100 0.3 = 30 Z = 40 30 4.58 =2.18 = p 100 0.7 0.3 =4.58 P(Schlitz>40)=P(Z>2.18) =1.46%

MICHELOB VS. SCHLITZ Schlitz with N=100, p=0.7 (that is 0.7 times, Michelob drinkers will distinguish Michelob) np = 0.7x100=70, n(1-p)=100x0.3=30 µ =100 0.3 = 30 Z = 40 30 4.58 =2.18 = p 100 0.7 0.3 =4.58 P(Schlitz>40)=P(Z>2.18) =1.46%

MICHELOB VS. SCHLITZ Schlitz with N=100, p=0.7 (that is 0.7 times, Michelob drinkers will distinguish Michelob) np = 0.7x100=70, both bigger than 10, n(1-p)=100x0.3=30 µ =100 0.3 = 30 Z = 40 30 4.58 =2.18 = p 100 0.7 0.3 =4.58 P(Schlitz>40)=P(Z>2.18) =1.46%

MICHELOB VS. SCHLITZ Schlitz with N=100, p=0.7 (that is 0.7 times, Michelob drinkers will distinguish Michelob) np = 0.7x100=70, n(1-p)=100x0.3=30 both bigger than 10, we can use normal approximation µ =100 0.3 = 30 Z = 40 30 4.58 =2.18 = p 100 0.7 0.3 =4.58 P(Schlitz>40)=P(Z>2.18) =1.46%

MICHELOB VS. SCHLITZ Schlitz with N=100, p=0.7 (that is 0.7 times, Michelob drinkers will distinguish Michelob) np = 0.7x100=70, n(1-p)=100x0.3=30 both bigger than 10, we can use normal approximation µ =100 0.3 = 30 Z = 40 30 4.58 =2.18 = p 100 0.7 0.3 =4.58 P(Schlitz>40)=P(Z>2.18) =1.46%

NORMAL APPROXIMATION

NORMAL APPROXIMATION A recent study found that Facebook users get more than they give. For example:

NORMAL APPROXIMATION A recent study found that Facebook users get more than they give. For example: 40% of Facebook users in our sample made a friend request, but 63% received at least one request

NORMAL APPROXIMATION A recent study found that Facebook users get more than they give. For example: 40% of Facebook users in our sample made a friend request, but 63% received at least one request Users in our sample pressed the like button next to friends content an average of 14 times, but had their content liked an average of 20 times

NORMAL APPROXIMATION A recent study found that Facebook users get more than they give. For example: 40% of Facebook users in our sample made a friend request, but 63% received at least one request Users in our sample pressed the like button next to friends content an average of 14 times, but had their content liked an average of 20 times Users sent 9 personal messages, but received 12 12% of users tagged a friend in a photo, but 35% were themselves tagged in a photo

NORMAL APPROXIMATION A recent study found that Facebook users get more than they give. For example: 40% of Facebook users in our sample made a friend request, but 63% received at least one request Users in our sample pressed the like button next to friends content an average of 14 times, but had their content liked an average of 20 times Users sent 9 personal messages, but received 12 12% of users tagged a friend in a photo, but 35% were themselves tagged in a photo Any guesses for how this pattern can be explained?