Partial Solutions for Assignment 1



Similar documents
Statistics and Random Variables. Math 425 Introduction to Probability Lecture 14. Finite valued Random Variables. Expectation defined

AMS 5 CHANCE VARIABILITY

Random Variables. Chapter 2. Random Variables 1

Contemporary Mathematics Online Math 1030 Sample Exam I Chapters No Time Limit No Scratch Paper Calculator Allowed: Scientific

Elementary Statistics and Inference. Elementary Statistics and Inference. 16 The Law of Averages (cont.) 22S:025 or 7P:025.

Section 6.2 Definition of Probability

BNG 202 Biomechanics Lab. Descriptive statistics and probability distributions I

Chapter 4 Lecture Notes

Probability. Sample space: all the possible outcomes of a probability experiment, i.e., the population of outcomes

Manhattan Center for Science and Math High School Mathematics Department Curriculum

Statistics 151 Practice Midterm 1 Mike Kowalski

AP Statistics 7!3! 6!

STT315 Chapter 4 Random Variables & Probability Distributions KM. Chapter 4.5, 6, 8 Probability Distributions for Continuous Random Variables

MA 1125 Lecture 14 - Expected Values. Friday, February 28, Objectives: Introduce expected values.

Curriculum Map Statistics and Probability Honors (348) Saugus High School Saugus Public Schools

For a partition B 1,..., B n, where B i B j = for i. A = (A B 1 ) (A B 2 ),..., (A B n ) and thus. P (A) = P (A B i ) = P (A B i )P (B i )

Joint Exam 1/P Sample Exam 1

Midterm Exam #1 Instructions:

Exploratory Data Analysis

Statistics 100A Homework 2 Solutions

Exam. Name. How many distinguishable permutations of letters are possible in the word? 1) CRITICS

University of California, Los Angeles Department of Statistics. Random variables

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. C) (a) 2. (b) 1.5. (c)

Bellwork Students will review their study guide for their test. Box-and-Whisker Plots will be discussed after the test.

Find the indicated probability. 1) If a single fair die is rolled, find the probability of a 4 given that the number rolled is odd.

Thursday, November 13: 6.1 Discrete Random Variables

Exploratory Data Analysis. Psychology 3256

The sample space for a pair of die rolls is the set. The sample space for a random number between 0 and 1 is the interval [0, 1].

CRLS Mathematics Department Algebra I Curriculum Map/Pacing Guide

Algebra I Vocabulary Cards

The University of the State of New York REGENTS HIGH SCHOOL EXAMINATION INTEGRATED ALGEBRA. Tuesday, January 22, :15 a.m. to 12:15 p.m.

Department of Industrial Engineering IE 202: Engineering Statistics Example Questions Spring 2012

THE BINOMIAL DISTRIBUTION & PROBABILITY

36 Odds, Expected Value, and Conditional Probability

A Correlation of. to the. South Carolina Data Analysis and Probability Standards

The right edge of the box is the third quartile, Q 3, which is the median of the data values above the median. Maximum Median

Descriptive statistics Statistical inference statistical inference, statistical induction and inferential statistics

Solution Let us regress percentage of games versus total payroll.

Department of Mathematics, Indian Institute of Technology, Kharagpur Assignment 2-3, Probability and Statistics, March Due:-March 25, 2015.

Section 6.1 Discrete Random variables Probability Distribution

STT 200 LECTURE 1, SECTION 2,4 RECITATION 7 (10/16/2012)

List of Examples. Examples 319

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Probability: The Study of Randomness Randomness and Probability Models. IPS Chapters 4 Sections

3. There are three senior citizens in a room, ages 68, 70, and 72. If a seventy-year-old person enters the room, the

Without data, all you are is just another person with an opinion.

Intro to Statistics 8 Curriculum

LAYOUT OF THE KEYBOARD

Probability and Statistics Vocabulary List (Definitions for Middle School Teachers)

Expression. Variable Equation Polynomial Monomial Add. Area. Volume Surface Space Length Width. Probability. Chance Random Likely Possibility Odds

Example. A casino offers the following bets (the fairest bets in the casino!) 1 You get $0 (i.e., you can walk away)

Probability, Statistics, & Data Analysis (PSD) Numbers: Concepts & Properties (NCP)

Math 425 (Fall 08) Solutions Midterm 2 November 6, 2008

NEW YORK CITY COLLEGE OF TECHNOLOGY The City University of New York

Foundation of Quantitative Data Analysis

High School Statistics and Probability Common Core Sample Test Version 2

Rules of core casino games in Great Britain

Interpreting Data in Normal Distributions

Chapter 16: law of averages

Chapter 4 & 5 practice set. The actual exam is not multiple choice nor does it contain like questions.

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 13. Random Variables: Distribution and Expectation

CS170 Lab 11 Abstract Data Types & Objects

2 Describing, Exploring, and

X: Probability:

Grade 6 Mathematics Performance Level Descriptors

MATH BOOK OF PROBLEMS SERIES. New from Pearson Custom Publishing!

Definition: Suppose that two random variables, either continuous or discrete, X and Y have joint density

AP STATISTICS (Warm-Up Exercises)

Algebra 1: Basic Skills Packet Page 1 Name: Integers ( 30) ( 4)

Descriptive Statistics Practice Problems (Total 6 marks) (Total 8 marks) (Total 8 marks) (Total 8 marks) (1)

DesCartes (Combined) Subject: Mathematics Goal: Statistics and Probability

Mathematical Expectation

Activities/ Resources for Unit V: Proportions, Ratios, Probability, Mean and Median

Lecture 1: Review and Exploratory Data Analysis (EDA)

Introduction to Discrete Probability. Terminology. Probability definition. 22c:19, section 6.x Hantao Zhang

EXAM. Exam #3. Math 1430, Spring April 21, 2001 ANSWERS

Sample Term Test 2A. 1. A variable X has a distribution which is described by the density curve shown below:

Chapter What is the probability that a card chosen from an ordinary deck of 52 cards is an ace? Ans: 4/52.

Week 2: Conditional Probability and Bayes formula

HONORS STATISTICS. Mrs. Garrett Block 2 & 3

Washington State K 8 Mathematics Standards April 2008

c. Construct a boxplot for the data. Write a one sentence interpretation of your graph.

Algebra 1 Course Information

MULTIVARIATE PROBABILITY DISTRIBUTIONS

V. RANDOM VARIABLES, PROBABILITY DISTRIBUTIONS, EXPECTED VALUE

Introduction to Probability

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

This document contains Chapter 2: Statistics, Data Analysis, and Probability strand from the 2008 California High School Exit Examination (CAHSEE):

(b) You draw two balls from an urn and track the colors. When you start, it contains three blue balls and one red ball.

Project Maths. Mathematics Resources for Students. Junior Certificate Strand 1. Statistics and Probability

Dongfeng Li. Autumn 2010

Probability and Expected Value

( ) = 1 x. ! 2x = 2. The region where that joint density is positive is indicated with dotted lines in the graph below. y = x

Collatz Sequence. Fibbonacci Sequence. n is even; Recurrence Relation: a n+1 = a n + a n 1.

X X AP Statistics Solutions to Packet 7 X Random Variables Discrete and Continuous Random Variables Means and Variances of Random Variables

How To Run Statistical Tests in Excel

3: Summary Statistics

2010 Solutions. a + b. a + b 1. (a + b)2 + (b a) 2. (b2 + a 2 ) 2 (a 2 b 2 ) 2

Introductory Probability. MATH 107: Finite Mathematics University of Louisville. March 5, 2014

Transcription:

5 Partial Solutions for Assignment 1 (1) In a certain random experiment, let A and B be two events such that P (A) =0.7, P (B) =0.5, and P ((A B) )=0.1, show that (a) P (A B) = 0.30 (b) P (A B) = 0.60 (c) P (B A) = 3/7 (d) P (A B) =0.30 0.7 0.5 =P (A)P (B). (e) A and B are not independent events. (2) In a certain random experiment, let C and D be two events such that P (C) =0.8, P (D) =0.4, and P ((C D) )=0.12, show that (a) P (C D) = 0.32 (b) P (D C) = 0.40 (c) P (C D) = 0.80 (d) P (C D) =0.32 = 0.8 0.4 =P (C)P (D). (e) C and D are independent events. (3) The grip strengths at the end of a health dynamics course for 15 male students were 58 52 46 57 52 45 65 71 57 54 48 58 35 44 53 [mean, variance, std, σ 2 ] =[μ, s 2, std, σ 2 ]=[53.0, 78.2857, 8.8479, 73.0667] (4) If P (A) =0.4, P (B) =0.5, and P (A B) =0.3, then (a) P (A B) =0.6, (b) P (A B )=0.1, (c) P (A B )=0.7. (5) AtypicalAmerican roulette wheel used in a casino has 38 slots that are numbered 1, 2,, 35, 36, 0, 00 respectively. The 0 and 00 are colored as green. Half of the remaining slots are red and half are black. Also, half of the integers between 1 and 36 inclusive are odd, half are even. A ball is rolled around the wheel and ends up in one of the 38 slots; we assume that each slot has equal probability of 1/38 and we are interested in the number of the slots in which the ball falls. (a) The sample space S = {1, 2,, 35, 36, 0, 00}. (b) Let B = {0, 00}, P (B) = 2 38. (c) Let C = {14, 15, 17, 18}, P (C) = 4 38.

6 (d) Let D = {x S xisodd}, P (D) = 18 38. (6) See class notes to prove that n n 1 n 1 (a) = + k k k 1 n n (b) ( 1) k =0 k=0 k n n (c) =2 n k=0 k (7) Let an experiment be drawing five cards at random without replacement from a deck of 52 poker cards. The sample size is then C(52, 5) = 2, 598, 960. Find the size of the following events. (a) Four of a kind (four cards of equal face vaule and one card of a different value). (key a) C(13, 1) C(48, 1)/C(52, 5) = 624/2598960 = 0.00024. (b) Full house (one pair and one triple of cards with equal face value). (key b) C(13, 1) C(4, 2) C(12, 1) C(4, 3)/C(52, 5) = 3744/2598960 = 0.00144. (c) Three of a kind (three equal face values plus two cards of different values). (key c) C(13, 1) C(4, 3) C(48, 2)/C(52, 5) = 54912/2598960 = 0.02113. (d) Two pairs (two pairs of equal face value plus one card of a different value). (key d) C(13, 2) C(4, 2) C(4, 2) C(44, 1)/C(52, 5) = 123552/2598960 = 0.047539. (e) One pair (one pair of equal face value plus three cards of different values). (key e) C(13, 1) C(4, 2) C(48, 1) C(44, 1) C(40, 1)/C(52, 5) = 1098240/2598960 = 0.42257. (8) A box contains four marbles numbered 1 through 4. The marbles are selected one at a time without replacement. A match occurs if marble numbered k is the kth marble selected. Let the event A i,denoteamatchontheith draw, i=1,2,3,4. (a) P (A i )= 3!,fori=1,2,3,4. 4! (b) P (A i A j )= 2!,where1 i<j 4. 4! (c) P (A i A j A k )= 1,where1 i<j<k 4. 4! (d) P (A 1 A 2 A 3 A 4 )= 5. 8

7 (e) Extend this exercise so that there are marbles in the box. Show that the probability of at least one match is P (A 1 A 2 A n ) = 1 1 2! + 1 3! 1 4! + + ( 1)n+1 n! = 1 ( 1 1 1! + 1 2! 1 3! + 1 4! ) ( 1)n + + n! (f) The limit of this probability as n increases without bound is 1 e 1 0.6321 (9) Consider a random experiment of casting a pair of unbiased six-sided dice and let the r.v. X equal the smaller of the outcomes if they are different and the common value if they are equal. (a) The p.m.f. of r.v. X is f(x) = 13 2x 36, x =1, 2, 3, 4, 5, 6. (b) X=1:6; Y=(13-2*X)/36; bar(x,y,0.8); title( y=f(x)=(13-2x)/36 ) (c) E(X) = 91 36 and Var(X) = 2555 1296. 0.35 y=f(x)=(13 2x)/36 0.3 0.25 0.2 0.15 0.1 0.05 0 1 2 3 4 5 6 Figure 1: 9(b) Histogram of Probability. (10) The number of defects on a printed circuit board is a random variable (r.v.) X with the probability mass function (p.m.f.) given by P (X = i) =γ/(i +1), i =0, 1, 2, 3, 4 (a) The constant γ = 60 137. (b) The mean of X is E(X) = 163 137. (c) The variance of X is Var(X) = 33300 18769.

8 h1p10.m - Solution for Problem 10 format rat; p=[1, 1/2, 1/3, 1/4, 1/5]; r=1/(sum(p)); r=60/137; f=[r/1, r/2, r/3, r/4, r/5]; X=0:1:4; EX=X*f ; VarX=((X-EX).^2)*f ; [r, EX, VarX] VarX is an approximate rational to 33300/18769 format short [r, EX, VarX] Check the precision of the numerical solution (11) Bean seeds from supplier A have 85 germination rate and those from supplier B have a 75 germination rate. A seed packaging company purchases 40 of their bean seeds from supplier A and 60 from supplier B and mixes these seeds together. (a) The probability that a seed selected at random from the mixed seeds will germinate is P (G) =P (G A)P (A)+P (G B)P (B) =0.85 0.4+0.75 0.6 =0.79. (b) Given that a seed germinates, the probability that the seed was purchased from supplier A is P (A G) = P (A G) P (G A)P (A) = = 34. P (G) P (G) 79 (c) Given that a seed germinates, find the probability that the seed was purchased from supplier B is P (B G) = P (B G) P (G B)P (B) = = 45. P (G) P (G) 79 (12) Some ornithologists were interested in the clutch size of the common gallinule. They observed the number of eggs in each of 117 nests which are listed below. 7 5 13 7 7 8 9 9 9 8 8 9 9 7 7 5 9 7 7 4 9 8 8 10 9 7 8 8 8 7 9 7 7 10 8 7 9 7 10 8 9 7 11 10 9 9 4 8 6 8 9 9 9 8 8 5 8 8 9 9 14 10 8 9 9 9 8 7 9 7 9 10 10 7 6 11 7 7 6 9 7 7 6 8 9 4 6 9 8 9 7 9 9 9 9 8 8 8 9 9 9 8 10 9 9 8 5 7 8 7 6 7 7 7 6 5 9 (a) Construct a frequency table for these data. (b) Draw a histogram. (c) What is the mode (the typical clutch size)?

9 h1p12.m - The number of eggs in 117 nests of the common gallinule N=14; m=117; fin=fopen( datap12.txt, r ); fout=fopen( outp12.txt, w ); fgetl(fin); H=fscanf(fin, d,m); fclose(fin); X=1:1:14; Y=zeros(1,14); for j=1:m k=h(j); Y(k)=Y(k)+1; end fprintf(fout, Eggs Freq\n ) for i=1:n fprintf(fout, 4d 4d\n,X(i),Y(i)); end fclose(fout); bar(x,y,0.8) legend( mode=9, [3,5,7,27,26,37,8,2,0,1,1],2) title( Solution for Problem 12 ) 40 35 Solution for Problem 12 mode=9, [3,5,7,27,26,37,8,2,0,1,1] 30 25 20 15 10 5 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 Figure 2: (12) Frequency of the number of eggs. (13) The following data give the ACT math and ACT verbal scores, say, (x, y), for 15 students: (16,19) (18,17) (22,18) (20,23) (17,20) (25,21) (21,24) (23,18) (24,18) (31,25) (27,29) (28,24) (30,24) (27,23) (28,24) (a) Verify that x =23.8, ȳ =21.8, s 2 x =22.457, s2 y =11.600, r =0.626. (b) Find the equation of the best fitting line. (c) Plot the 15 points and the line on the same graph.

10 Script file: plotact.m - Problem 13 of H1 A Least Squares Line Fit for Data on ACT(math, verbal) test X=[16, 18, 22, 20, 17, 25, 21, 23, 24, 31, 27, 28, 30, 27, 28]; math Y=[19, 17, 18, 23, 20, 21, 24, 18, 18, 25, 29, 24, 24, 23, 24]; verbal ux=mean(x); uy=mean(y); sx2=var(x); sy2=var(y); r=(x-ux)*(y-uy) /14/(sqrt(sx2*sy2)); correlation coefficient P=polyfit(X,Y,1); P=polyfit(X,Y,3); [ux,uy,sx2,sy2,r] Yh=P(1)*X + P(2); Yh=P(1)*X.^3+P(2)*X.^2+P(3)*X+P(4); top=norm(yh-uy,2); bot=norm(y-uy,2); R2=(top*top)/(bot*bot); plot(x,y, bo,x,yh, r- ); legend( R^2 Statistics = 0.3916, \ity=0.4497\itx+11.0961,4); title( Best Line Fitting on Data Set ACT (math,verbal) ) 30 Best Line Fitting on Data Set ACT (math,verbal) 28 26 24 22 20 18 R 2 Statistics = 0.3916 Y=0.4497X+11.0961 16 16 18 20 22 24 26 28 30 32 Figure 3: (13) Best Line Fitting on Data Set ACT (math verbal).

11 (14) The final scores of 59 students taking CS3332 course in Fall, 1999 are listed below. 61 72 77 58 67 70 76 70 76 83 42 58 49 74 65 55 90 80 31 61 53 82 90 51 48 55 84 70 48 76 61 76 70 70 66 50 80 73 77 43 71 99 66 63 63 52 54 80 67 29 52 83 62 60 61 86 61 70 73 (a) Find the order statistics of this set of data. (b) Find the 25th, 75th percentiles, and the median. (c) Find five-number summary of these data. (d) Draw a box-and-whisker diagram. boxp14.m - Read Input Data from CS3332 (1999) Scores T=[61,72,77,58,67, 70,76,70,76,83, 42,58,49,74,65, 55,90,80,31,61,... 53,82,90,51,48, 55,84,70,48,76, 61,76,70,70,66, 50,80,73,77,43,... 71,99,66,63,63, 52,54,80,67,29, 52,83,62,60,61, 86,61,70,73]; S=sort(T, ascend ); S=[29,31,42,43, 48,48,49,50, 51,52,52,53, 54,55,55,58, 58,60,61,61, 61,61,61,62, 63,63,65,66, 66,67,67,70, 70,70,70,70, 70,71,72,73, 73,74,76,76, 76,76,77,77, 80,80,80,82, 83,83,84,86, 90,90,99]; boxplot(t, orientation, horizontal ); text(29,0.7, (c) [29, 55, 67, 76, 99] ) title( box-whisker plot ) box whisker plot 1 (c) [29, 55, 67, 76, 99] 30 40 50 60 70 80 90 100 Figure 4: (14) A Box-Whisker Plot for 59 Scores in 1999.