Continuous Random Variables

Slides:



Advertisements
Similar presentations
Hypothesis testing Another judgment method of sampling data.
Advertisements

Business 205. Review Sampling Continuous Random Variables Central Limit Theorem Z-test.
Statistics Lecture 17.
Chapter 6 Hypotheses texts. Central Limit Theorem Hypotheses and statistics are dependent upon this theorem.
Testing Hypotheses about a Population Proportion Lecture 29 Sections 9.1 – 9.3 Tue, Oct 23, 2007.
Claims about a Population Mean when σ is Known Objective: test a claim.
Chapter 9.3 (323) A Test of the Mean of a Normal Distribution: Population Variance Unknown Given a random sample of n observations from a normal population.
Section 9.2 Testing the Mean  9.2 / 1. Testing the Mean  When  is Known Let x be the appropriate random variable. Obtain a simple random sample (of.
Bias and Variability Lecture 28 Section 8.3 Tue, Oct 25, 2005.
Testing Hypotheses about a Population Proportion Lecture 30 Sections 9.3 Wed, Oct 24, 2007.
Chapter 7 Sampling and Sampling Distributions ©. Simple Random Sample simple random sample Suppose that we want to select a sample of n objects from a.
Chapter 7: Introduction to Sampling Distributions Section 2: The Central Limit Theorem.
Section 6-5 The Central Limit Theorem. THE CENTRAL LIMIT THEOREM Given: 1.The random variable x has a distribution (which may or may not be normal) with.
The z test statistic & two-sided tests Section
Continuous Random Variables Lecture 25 Section Mon, Feb 28, 2005.
Continuous Random Variables Lecture 24 Section Tue, Mar 7, 2006.
Uniform Distributions and Random Variables Lecture 23 Sections 6.3.2, Mon, Oct 25, 2004.
Continuous Random Variables Lecture 22 Section Mon, Feb 25, 2008.
Testing Hypotheses about a Population Proportion Lecture 31 Sections 9.1 – 9.3 Wed, Mar 22, 2006.
The Normal Distribution Lecture 20 Section Fri, Oct 7, 2005.
Continuous Random Variables Lecture 26 Section Mon, Mar 5, 2007.
§2.The hypothesis testing of one normal population.
Chapter 7 The Normal Probability Distribution 7.1 Properties of the Normal Distribution.
Lesson Distribution of the Sample Mean. Objectives Understand the concept of a sampling distribution Describe the distribution of the sample mean.
Central Limit Theorem Let X 1, X 2, …, X n be n independent, identically distributed random variables with mean  and standard deviation . For large n:
Continuous Random Variables Lecture 24 Section Tue, Oct 18, 2005.
An Example of {AND, OR, Given that} Using a Normal Distribution By Henry Mesa.
MATH Section 4.4.
Sampling Distribution of a Sample Proportion Lecture 28 Sections 8.1 – 8.2 Wed, Mar 7, 2007.
The Normal Distribution Lecture 20 Section Mon, Oct 9, 2006.
Test of Goodness of Fit Lecture 41 Section 14.1 – 14.3 Wed, Nov 14, 2007.
Sampling and Sampling Distributions
Lecture 28 Section 8.3 Fri, Mar 4, 2005
Continuous Random Variables
Uniform Distributions and Random Variables
The Standard Normal Distribution
Other Normal Distributions
Sampling Distribution of a Sample Proportion
The Standard Normal Distribution
CONCEPTS OF HYPOTHESIS TESTING
An Example of {AND, OR, Given that} Using a Normal Distribution
Chapter 11 Inferences About Population Variances
The Normal Probability Distribution Summary
MATH 2311 Section 4.4.
Lecture 26 Section – Tue, Mar 2, 2004
Modeling Continuous Variables
Lecture 34 Section 7.5 Wed, Mar 24, 2004
Consider the following problem
The Normal Distribution
Sampling Distribution of a Sample Mean
Mean and Standard Deviation
Lecture 41 Section 14.1 – 14.3 Wed, Nov 14, 2007
Continuous Random Variables
Testing Hypotheses about a Population Proportion
Uniform Distributions and Random Variables
Continuous Random Variables
Power Section 9.7.
The Normal Distribution
Sampling Distribution of a Sample Mean
Continuous Random Variables 2
Sampling Distribution of a Sample Proportion
Sampling Distributions (§ )
Nonparametric Statistics
Testing Hypotheses about a Population Proportion
Mean and Standard Deviation
Testing Hypotheses about a Population Proportion
Continuous Random Variables
Testing Hypotheses about a Population Proportion
Modeling Discrete Variables
MATH 2311 Section 4.4.
Presentation transcript:

Continuous Random Variables Lecture 25 Section 7.5.4 Wed, Oct 10, 2007

Uniform Distributions The uniform distribution from a to b is denoted U(a, b). 1/(b – a) a b

Hypothesis Testing (n = 1) An experiment is designed to determine whether a random variable X has the distribution U(0, 1) or U(0.5, 1.5). H0: X is U(0, 1). H1: X is U(0.5, 1.5). One value of X is sampled (n = 1).

Hypothesis Testing (n = 1) An experiment is designed to determine whether a random variable X has the distribution U(0, 1) or U(0.5, 1.5). H0: X is U(0, 1). H1: X is U(0.5, 1.5). One value of X is sampled (n = 1). If X is more than 0.75, then H0 will be rejected.

Hypothesis Testing (n = 1) Distribution of X under H0: Distribution of X under H1: 0.5 1 1.5 0.5 1 1.5

Hypothesis Testing (n = 1) What are  and ? 1 0.5 1 1.5 1 0.5 1 1.5

Hypothesis Testing (n = 1) What are  and ? 1 0.5 0.75 1 1.5 1 0.5 0.75 1 1.5

Hypothesis Testing (n = 1) What are  and ? 1 0.5 0.75 1 1.5 Acceptance Region Rejection Region 1 0.5 0.75 1 1.5

Hypothesis Testing (n = 1) What are  and ? 1 0.5 0.75 1 1.5 1 0.5 0.75 1 1.5

Hypothesis Testing (n = 1) What are  and ?  = ¼ = 0.25 1 0.5 0.75 1 1.5 1 0.5 0.75 1 1.5

Hypothesis Testing (n = 1) What are  and ?  = ¼ = 0.25 1 0.5 0.75 1 1.5  = ¼ = 0.25 1 0.5 0.75 1 1.5

Example Now suppose we use the TI-83 to get two random numbers from 0 to 1, and then add them together. Let X2 = the average of the two random numbers. What is the pdf of X2?

Example The graph of the pdf of X2. f(y) ? y 0.5 1

Example The graph of the pdf of X2. f(y) 2 Area = 1 y 0.5 1

Example What is the probability that X2 is between 0.25 and 0.75? f(y) 0.25 0.5 0.75 1

Example What is the probability that X2 is between 0.25 and 0.75? f(y) 0.25 0.5 0.75 1

Example The probability equals the area under the graph from 0.25 to 0.75. f(y) 2 y 0.25 0.5 0.75 1

Example Cut it into two simple shapes, with areas 0.25 and 0.5. f(y) 2 0.25 0.5 0.75 1

Example The total area is 0.75. f(y) 2 Area = 0.75 y 0.25 0.5 0.75 1

Verification Use Avg2.xls to generate 10000 pairs of values of X. See whether about 75% of them have an average between 0.25 and 0.75.

Hypothesis Testing (n = 2) An experiment is designed to determine whether a random variable X has the distribution U(0, 1) or U(0.5, 1.5). H0: X is U(0, 1). H1: X is U(0.5, 1.5). Two values of X are sampled (n = 2). Let X2 be the average. If X2 is more than 0.75, then H0 will be rejected.

Hypothesis Testing (n = 2) Distribution of X2 under H0: Distribution of X2 under H1: 0.5 1 1.5 2 0.5 1 1.5 2

Hypothesis Testing (n = 2) What are  and ? 0.5 1 1.5 2 0.5 1 1.5 2

Hypothesis Testing (n = 2) What are  and ? 0.5 1 1.5 2 0.75 0.5 1 1.5 2 0.75

Hypothesis Testing (n = 2) What are  and ? 0.5 1 1.5 2 0.75 0.5 1 1.5 2 0.75

Hypothesis Testing (n = 2) What are  and ? 0.5 1 1.5 2  = 1/8 = 0.125 0.75 0.5 1 1.5 2 0.75

Hypothesis Testing (n = 2) What are  and ? 0.5 1 1.5 2  = 1/8 = 0.125 0.75 0.5 1 1.5 2  = 1/8 = 0.125 0.75

Conclusion By increasing the sample size, we can lower both  and  simultaneously.

Example Now suppose we use the TI-83 to get three random numbers from 0 to 1, and then average them. Let X3 = the average of the three random numbers. What is the pdf of X3?

Example The graph of the pdf of X3. 3 y 0.25 0.5 0.75 1

Example The graph of the pdf of X3. 3 Area = 1 y 0.25 0.5 0.75 1

Example What is the probability that X3 is between 0.25 and 0.75? 3 y 0.25 0.5 0.75 1

Example What is the probability that X3 is between 0.25 and 0.75? 3 y 0.25 0.5 0.75 1

Example The probability equals the area under the graph from 0.25 and 0.75. 3 Area = 0.8594 y 0.25 0.5 0.75 1

Hypothesis Testing (n = 3) An experiment is designed to determine whether a random variable X has the distribution U(0, 1) or U(0.5, 1.5). H0: X is U(0, 1). H1: X is U(0.5, 1.5). Three values of X3 are sampled (n = 3). Let X3 be the average. If X3 is more than 0.75, then H0 will be rejected.

Hypothesis Testing (n = 3) Distribution of X3 under H0: Distribution of X3 under H1: 0.5 1.5 1 1.5 0.5 1

Hypothesis Testing (n = 3) Distribution of X3 under H0: Distribution of X3 under H1:  = 0.0703 0.5 1.5 1  = 0.0703 1.5 0.5 1

Example Suppose we get 12 random numbers, uniformly distributed between 0 and 1, from the TI-83 and get their average. Let X12 = average of 12 random numbers from 0 to 1. What is the pdf of X12?

Example It turns out that the pdf of X12 is nearly exactly normal with a mean of 1/2 and a standard deviation of 1/12. N(1/2, 1/12) x 1/3 1/2 2/3

Example What is the probability that the average will be between 0.45 and 0.55? Compute normalcdf(0.45, 0.55, 1/2, 1/12). We get 0.4515.

Experiment Use the TI-83 to generate 100 averages of 12 random numbers each. Use rand(100)  L1 L1 + L2  L2 L2/12  L2 Test the 68-95-99.7 Rule. 12 times