4 Pages

hw6

Course: STAT 110, Fall 2009
School: Stanford
Rating:
 
 
 
 
 

Word Count: 1358

Document Preview

110 Statistics B. Srinivasan Handout #35 Autumn 20062007 Out: Nov. 3, 2006 Due: Nov. 10, 2006 Homework #6 Reading: Rice 7.1-3,9.1-3 Submit in the inbox outside Sequioa 229 before 5:00 PM. In this sixth problem set, you will begin applying the theoretical machinery we have developed to real data sets. 1. This Is Not A Drill Here are some quick drill problems to get you back into the problem set mode. Each of...

Register Now

Unformatted Document Excerpt

Coursehero >> California >> Stanford >> STAT 110

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
110 Statistics B. Srinivasan Handout #35 Autumn 20062007 Out: Nov. 3, 2006 Due: Nov. 10, 2006 Homework #6 Reading: Rice 7.1-3,9.1-3 Submit in the inbox outside Sequioa 229 before 5:00 PM. In this sixth problem set, you will begin applying the theoretical machinery we have developed to real data sets. 1. This Is Not A Drill Here are some quick drill problems to get you back into the problem set mode. Each of these should only take you 15 minutes or so at a maximum. (a) (Adapted from Rice 1.8.73) A system has n independent units, each of which fails with probability p. The system fails only if k or more of the units fail. What is the probability that the system fails? Work this out numerically for a system with n = 1000 units, p = .002, and k = 3. (b) (Adapted from Rice 1.8.75) A population starts with one member. At time t = 1 it either divides with probability p or dies with probability 1 - p. If it divides, then both of its children behave independently with the same two alternatives at time t = 2. What is the probability that there are no members in the fourth generation? Numerically find the value of p that makes this probability equal to .1. This is a simple example of a branching process, a probabilistic model that is used for applications ranging from population modeling to calculations of the critical mass for a nuclear reaction. You may find it useful to use conditional probability. (c) (Adapted from Rice 1.8.76) The study of the capacities and waiting times of queues is extremely important for a number of applications ranging from customer service (Dell) to just-in-time manufacturing (Honda) to efficient internet video delivery (Akamai). Suppose we have a simple discrete time queue. At each unit of time the first person in the queue is served with probability p and independently a new person arrives with probability q. Note that if no people are in the queue, no service happens though arrivals are still possible. Let N (t) be the random variable for the number of individuals in the queue at time t and suppose there are N (0) = N0 people in the queue at t = 0. Define appropriate Bernoulli random variables Xt and Yt for departures and arrivals at time t to define N (t) in terms of N (t - 1). What is the average value of N (14) if N (12) = 1, p = .5 and q = .4? (d) SAT scores in the US used to be centered at 1000 with a standard deviation of about 200, a max of 1600, and a min of 400. Call this random variable X and assume that it can be approximated with a normal distribution with mean = 1000 and standard deviation = 200. Standardize this normal variable into a z-score and use the pnorm function in R to calculate the probability that X lies within 1 SD of the mean. Repeat this for 2 and 3 SDs respectively. Why would we want P (|X - | > 3) to be low for this application? 1 2. Taxes May Be Certain, But Death is a Random Variable (a) (Adapted from Rice 1.8.63) Suppose that the probability of living to be older than 70 is empirically found to be .6 and the probability of living to be older than 80 is .2. Express these probabilities in terms of a cdf for a life expectancy random variable T . (b) What is the conditional probability of surviving to 80 given that someone has survived to 70? (c) Now suppose we considered modeling T by an exponential random variable whose units are in years with parameter . Find the which gives a probability of .2 of living to be older than 80 years under this model. Use this to calculate the probability of living to be older than 70 years. Does this give a result which is consistent with the data? (d) Now use this same exponential model to calculate the conditional probability of surviving to 80 given that we have survived to 70. Repeat this for the conditional probability of surviving to 90 given that we have survived to 80. (e) The exponential model assumes a death rate which is constant with age. Describe qualitatively what modification of this model would be more realistic. 3. The Real Paradox: Why Aren't More People Watching The Family Guy? Simpson's paradox refers to the in phenomenon which the sign of the association between two random variables X and Y is reversed when conditioning on a third variable Z. This is related to the idea of conditional independence and dependence; just as conditioning on a third variable Z can make two independent variables conditionally independent P (X, Y |Z) = P (X|Z)P (Y |Z) (or vice versa), it can also change the sign of the dependence between X and Y . (a) Consider the following example from baseball. Player 1 is David Justice and Player 2 is Andy Van Slyke; the below table contains a subset of their statistics for the 1989 and 1990 seasons. 1989 1990 P1_Hits P1_At_Bats P2_Hits P2_At_Bats 12 51 113 476 124 439 140 493 Let X and Y be rvs for the batting averages of players 1 and 2, and let Z be the year. Calculate X - Y for each individual year and for the aggregate data set. What happened? (b) Here is the Berkeley admissions data: Dept_1 Dept_2 Dept_3 Dept_4 Dept_5 Dept_6 App_M Admit_Rate_Men App_F Admit_Rate_F 825 0.62 108 0.82 560 0.63 25 0.68 325 0.37 593 0.34 417 0.33 375 0.35 191 0.28 393 0.24 373 0.06 341 0.07 2 Calculate the aggregate admit rates for men and women and compare them to the departmental admit rates. What is the Z variable in this problem? 4. Quitters Never Win and Winners Never Quit Suppose that Trent Johnson, the coach of Stanford basketball, is screening a player of unknown ability. He wishes to investigate this player's free throw shooting ability and initially models it with the prior Unif[0, 1]. The coach instructs the player to keep shooting until he makes a basket. Let N be the number of shots until his first basket. (a) Calculate the posterior distribution P (|N ). (b) Find a general expression for the value of which maximizes this conditional density function. (c) What is this value if N = 7? Does this seem like a good free throw shooter? (d) Now, AFTER the first round of free throw shooting, suppose the coach decides to give the player a second chance. He tells him to shoot exactly 10 more free throws and records the number M which are successful. Suppose further that the player now sinks M = 9 out of 10 of these free throws. What is the updated conditional distribution for in light of this new information? (HINT: Think of this as a new prior distribution...) (e) What is the new which maximizes the conditional density of ? (f) Use R to plot P (|N = 7, M = 9), P (|N = 7), and P () on the same axes. You will find week3_lecture7.R useful as an example of how to accomplish this in R . 5. Simulation of Summation We will use R to investigate the behavior of sums of random variables. (a) Let U1 , ..., U12 be uniform random variables between 0 and 1. Use a large number of samples with runif and hist (with the breaks=fd option) to look at the empirical density of U1 + U2 . (b) Now calculate the analytical density for S2 = U1 +U2 and overplot it on the original histogram. You will find week3_lecture7.R useful for overplotting examples. (c) Repeat part a) for S12 = U1 + ... + U12 . Make a histogram of the raw values of S12 with the same options as before. (d) Convert the values of S12 into z-scores by subtracting the mean and dividing by the standard deviation. Make a new histogram from these z-scores. (e) Overplot a standard unit normal distribution over the histogram of z-scores. Is the fit good? 6. Lake Wobegon and Lake Lagunita Suppose that we model IQ as X N (100, 152 ). (a) What is the average IQ of a place where everyone is above average? (That is, everyone is above the general population's average.). 3 (b) What is the 90th percentile IQ of a place where everyone1 is above the 90th percentile? (c) Convert the preceding two values into the number of standard deviations from the population mean. For example, an IQ of 100 would correspond to 0 standard deviations above the population mean. (d) Now convert them into population percentiles. For example, an IQ of 100 would correspond to the 50th population percentile. 1 See www.stanford.edu/dept/uga/applying/extras/1_2a6_profile.html#freshmen, for comparison. 4
Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

Stanford - STAT - 110
Statistics 110 B. Srinivasan Handout #30Autumn 20062007 Out: Oct. 31, 2006Lectures #17 and #18These are notes on Lectures 17 and 18. Topics include the concept of a sampling distribution, the sample mean, the covariance, and the correlation. 1.
Stanford - STAT - 110
Statistics 110Balaji S. Srinivasan Week 3: Functions of Random Variables, Bivariate RVs, Conditional Probability, IndependenceSyllabusWeek 9/24 10/1 10/8 10/15 10/22 10/29 11/5 11/12 11/19 11/26 12/3 12/10 MaterialMotivation, R, Descriptive Stat
Uni. Worcester - ECE - 578
APPLIED CRYPTOGRAPHY AND DATA SECURITYDr. Christof Paar Cryptography and Information Security CRIS Group Department of Electrical & Computer Engineering Worcester Polytechnic Institute Worcester, MA 01609http: www.ece.wpi.edu Research cryptLectur
East Texas Baptist University - OIRE - 0405
2005 Your First College Year SurveyExecutive Summary East Texas Baptist UniversityPrepared by IPAR Office September 2005BACKGROUNDThe Higher Education Research Institute (HERI) at UCLA joined forces with the Policy Center on the First Year of C
USC - CS - 551
Return-Path: william@bourbon.usc.eduDelivery-Date: Mon Sep 8 09:34:45 2008X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on merlot.usc.eduX-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00 autolearn=hamversion
UCSD - ECON - 281
UCSD - ECON - 281
Marine Protected Areas: Economic and Social ImplicationsJames N. Sanchirico, Kathryn A. Cochran, and Peter M. EmersonMay 2002 Discussion Paper 0226Resources for the Future 1616 P Street, NW Washington, D.C. 20036 Telephone: 2023285000 Fax: 20293
Stanford - PUBS - 13250
SLAC-PUB-13268 June 2008Computational science research in support of petascale electromagnetic modelingL Lee1 , V Akcelik1 , L Ge1 , S Chen1 , G Schussman1 , A Candel1 , Z Li1 , L Xiao1 , A Kabel1 , R Uplenchwar1 , C Ng1 , and K Ko11Stanford Li
UCSD - BICD - bipn 100
NOTICE THAT THE EFFECT OF A NEUROTRANSMITTER DEPENDS ON THE RESPONSE OF THE TARGET CELL, AND NOT ON THE CHEMICAL NATURE OF THE TRANSMITTER.
UCSD - BICD - bipn 100
Page 1 1st midterm exam key Question 1 Part aPart bPart cPart dPart eQuestion 2 Part aPart bPage 2 Part cPart dQuestion 3 Part aPart bPart cQuestion 4 Part aPage 3 Part bPage 4 Question 5Page 5 Question 5 (make-up exam)
UCSD - CHEM - chem6ch
ElectrolysisProcess of driving a reaction in a non-spontaneous direction by using an electric current; done using an electrolytic cell; Two things need to be considered: the voltage the power supply or galvanic cell provides and the current at which
UCSD - CHEM - chem6ch
ElectrochemistryElectrochemistryThe area of chemistry that studies the use of chemical reactions to produce electricity and the use of electricity to produce chemical change Study of the transfer of electrons and redox chemistry Oxidation: the lo
UCSD - CHEM - chem6ch
Coordination ComplexesCoordination ComplexesSlide 1Coordination Complexes: BasicsConsider Fe3+(aq): actually [Fe (H2O)6] 3+:3+H 2O H 2O Fe H 2O OH2 OH2 OH23X Lewis acid/Lewis base interaction Waters form coordinate covalent bonds to the
UCSD - CHEM - chem6ch
The d-Block ElementsTransition MetalsTransition MetalsSlide 1Transition Metals The d-block represents the transition from the reactive s-block elements to the less reactive pblock elementsAvailability of d-orbitals governs their chemistry: v
UCSD - CHEM - chem6ch
CauldronCast #1Nomenclature of Inorganic CompoundsNaming Simple Inorganic Compounds Dr. Carl Hoeger profcahBasic Nomenclature 1Nomenclature-History Early: Compounds named by those who discovered them; usually had some historic significance Oi
UCSD - CHEM - chem6ch
Rules of Nomenclature for Binary CompoundsThere are three types of binary compounds: Type I. A metal of fixed charge and a nonmetal; Type II. A metal of variable charge and a nonmetal; and Type III. Two nonmetals Metals of `variable charge' tend to
UCSD - CHEM - chem6ch
Rate Laws An expression of how the reaction rate depends on the concentrations of all substances in the reaction For a reaction:rate= k A B C D wxyzWhere k is the rate constant and w, x, y and z are the orders Expression can contain
UCSD - HILD - hild7a
Pat Washington, Instructor Fall 2008 7A Final Take Home Essay Question (30 points maximum possible) Final Exam Essay must be submitted before you begin the in-class portion of your final examination for the course. Points will be deducted for late su
USC - LAS - 673
1History 673 North American Colonial History Spring, 2003Faculty: Peter C. Mancall: 285 SOS. Phone: 1-2151. Email: mancall@usc.edu. Robert C. Ritchie: Director of Research, Huntington. Email: ritchie@huntingon.org Course purpose: This course is d
Penn State - MKTG - 347347
Matthew Jackson BA 421 Case StudiesFactory Expansion Project Case1. Andy should have done some research before he went to Jacobs office in order to see if Jacob was telling the truth. Research will help a person out when they are trying to do bus
Penn State - MKTG - 347347
MARKETING RESEARCH COURSE SYLLABUS PENN STATE WILKES- BARRE Term: Spring, 2009 Course Number: MKTG342 Time/Location: Online Delivery, Anytime, Anywhere Instructor: Mrs. Terry Clemente Office Phone: 675-9293 Office Location: H307 Email: tmc12@psu.edu
Penn State - MKTG - 347347
Chapter 1: Supply Chain Management: An OverviewLearning ObjectivesAfter reading this chapter, you should be able to do the following: Discuss the major change drivers in our economy and in the global marketplace. Understand the rationale for the
Penn State - MKTG - 347347
I found the drop box.
Penn State - MKTG - 347347
Human Resource Management Gaining a Competitive AdvantageChapter 2 Strategic Human Resource ManagementMcGraw-Hill/Irwin Copyright 2008 by The McGraw-Hill Companies, All Rights Reserved.1-1Learning ObjectivesAfter reading this chapter, you s
Penn State - MKTG - 347347
Human Resource Management Gaining a Competitive AdvantageChapter 3 The Legal Environment: Equal Employment Opportunity and SafetyMcGraw-Hill/Irwin Copyright 2008 by The McGraw-Hill Companies, All Rights Reserved.1-1Learning ObjectivesAfter
Penn State - MKTG - 347347
Human Resource Management Gaining a Competitive AdvantageChapter 4 The Analysis and Design of WorkMcGraw-Hill/Irwin Copyright 2008 by The McGraw-Hill Companies, All Rights Reserved.1-1Learning ObjectivesAfter reading this chapter, you shoul
Penn State - MKTG - 347347
Ch. 2 Diversity Legislation in a Global PerspectiveDr. Denise T. Ogden PSU Lehigh ValeyAll human beings are born free and equal in dignity and rights. They are endowed with reason and conscience and should act towards one another in a spirit of
Penn State - MKTG - 347347
Ch1 Introduction and Conceptual FrameworkDr. Denise T. OgdenSuccessful Diversity Managements s s s s sVision Ethics Respect Creativity Business goal orientation Striving for excellenceChallengess s s s s s ssHomogenous societies now hete
Penn State - MKTG - 347347
Ch 3 Discrimination, Equality and Fairness in EmploymentDr. Denise T. OgdenDiscriminationsNegative laws sPositive laws DefinitionsssEmployment Discrimination occurs when (a) individuals, institutions, or governments treat people d
Penn State - SCM - 301
Chapter 8 Order Management and Customer ServiceLearning Objectives n After reading this chapter, you should be able to do the following:Understand the relationships between order management and customer service. Appreciate how organizations influe
Penn State - SCM - 301
Chapter 7 Demand ManagementLearning ObjectivesnAfter reading this chapter, you should be able to do the following: Understand the critical importance of outbound-to-customer logistics systems. Appreciate the growing need for effective demand mana
Penn State - SCM - 301
Chapter 2: Role of Logistics in Supply ChainsLearning ObjectivesAfter reading this chapter, you should be able to do the following: n Understand the role and importance of logistics in private and public organizations.nDiscuss the impact of logi
Penn State - SCM - 301
Chapter 4 Supply Chain RelationshipsLearning ObjectivesAfter reading this chapter, you should be able to do the following:Understand the types of supply chain relationships and their importance. Describe a process model that will facilitate the
Penn State - SCM - 301
Chapter 6 Supply Chain TechnologyManaging Information FlowsLearning ObjectivesAfter reading this chapter, you should be able to do the following:Appreciate the overall importance of information to supply chain management. Understand the role of
Penn State - SCM - 301
An Introduction to Diversity Dimensions of DiversitySubtitle: Ive a Feeling Were Not in Kansas Anymore Dr. Denise T. Ogden, PSU1-1EEO, AA, Diversity, Leveraging Diversity Theyre Not All The Same!Equal Employment Opportunity (EEO) laws that prev
Penn State - SCM - 301
Present Value of a Single Sum PVSSProblem FV =$1,000 I/YR = 4% N=5 PV = ? Keystrokes 1000,FV 4, I/YR 5, N PV -821.93PVSS Solving for NProblem FV = $1,000 I/YR = 6% PV = -$800 N= ? Keystrokes 1000, FV 6, I/YR 800, +/-, PV N 3.83PVSS Solving for
Penn State - FIN - 301
CHAPTER 1 Introduction to Financial Management Forms of Businesses Goals of the Corporation Stock Prices and Intrinsic Value Some Recent Trends Conflicts Between Managers and Shareholders1-1Alternative Forms of Business Organization Pro
Penn State - FIN - 301
CHAPTER 7 Bonds and Their Valuation Key features of bonds Bond valuation Measuring yield Assessing risk7-1What is a bond?A long-term debt instrument in which a borrower agrees to make payments of principal and interest, on specific dates,
Penn State - FIN - 301
CHAPTER 4 Analysis of Financial Statements Ratio Analysis Du Pont system Effects of improving ratios Limitations of ratio analysis Qualitative factors4-1Balance Sheet: Assets2006E Cash 85,632 A/R 878,000 Inventories 1,716,480 Total CA 2,680
Penn State - FIN - 301
Formula Sheet First Exam FIN 301EBIT= Sales Operating Costs Net cash flow = Net income + Depreciation & Amortization Net Operating Working Capital = (Cash & Equivalents + A/R + INV) (A/P + Accruals) Total Operating Capital = NOWC + Net fixed Asset
Penn State - FIN - 301
Stage One : Need Identification Consumer gets involved. There is a group to see the following questions from different areas, marketing, engineering, accounting, etc. See if there is an opportunity for the business. Does it go with the business goals
Penn State - FIN - 301
Chapter 3 Global Dimensions of Supply Chains Learning ObjectivesAfter reading this chapter, you should be able to do the following:nDescribe the scope of a global companys supply chain network and understand what questions are appropriate for t
Penn State - FIN - 301
PENN STATE BRANDYWINE FIN 301 CORPORATE FINANCE Summer 2009Professor: Dr. Don Taylor, CFA, CFP, ChFC Phone: 610-892-1471 (W) E-mail: dat17@psu.edu Course Information: www.angel.psu.edu Office: 207D TMZKO Office hours: T, R 4:45-5:45 All other times
Penn State - FIN - 301
The Pennsylvania State University Berks Campus SCM 301: Supply Chain Management Section 50 Spring Semester 2009Course DescriptionThe student will be required to demonstrate a basic understanding in the follow areas for successful completion of the
Penn State - FIN - 301
C H A P T E R1The Role of Marketing Research in Strategic Planning1234 0001 897251 000001-2How does Marketing Research fit into Marketing as a function of business? Information gathering functionMarketing Research definedThe systematic g
Penn State - FIN - 301
Global Demographic TrendsDr. Denise T. OgdenWorld WorkforcesEconomic integration Global economic integration, employers also migrate to find workers Societal globalization changes in demographicsssPopulation TrendssLess developed cou
Penn State - FIN - 301
Human Resource Management Gaining a Competitive AdvantageChapter 5 Human Resource Planning and RecruitmentMcGraw-Hill/Irwin Copyright 2008 by The McGraw-Hill Companies, All Rights Reserved.1-1Learning ObjectivesAfter reading this chapter, y
UNC Charlotte - MATH - 1120
Math 1120 1.Homework #6Find the absolute maximum and absolute minimum values for f ( x)x33x 2 on [-2, 3].2.Find the absolute maximum and absolute minimum values for f ( x) on [-2, 6].x44 x 3 8x 253.A farmer has 460 feet of fenci
UNC Charlotte - MATH - 1120
Homework #1 1. Given f x Name _ x1 2 Find the domain and range.2.Given f x 1 x 3 1 x 2 2x 2 3 2 Find the intervals where the function is increasing and decreasing.3.Given f x x 231Find the intervals were f x 0 and f x 04.Si
UNC Charlotte - MATH - 1120
Math 1120Homework #81.2.3.4.5.6.7.8.9.10.
UNC Charlotte - STAT - 1222
UNC Charlotte - STAT - 1222
FORMULAS FOR STAT 1222DESCRIPTIVE: Sample Mean: x = PROBABILITY: x n(Larson and Farber)Sample Standard Deviation s =(x x)2 = n1n(x2 ) ( x)2 n(n 1)P (A or B) = P (A) + P (B) P (A and B) DISCRETE RANDOM VARIABLE: = Standard deviation
UNC Charlotte - MATH - 3176
1. Construct a 2-point dierentiation formula of the form: f (x) = a f (x 2h) + b f (x + 2h) using the method of undetermined coecients. Here h denotes the step size. Please do not just provide the values of a and b. For any credit you must show all
UNC Charlotte - OPER - 3203
Regression Analysis In dealing with problems in social sciences, business, or economics, often we are interested in determining whether a noticeable relationship exists between two or more variables.Do SAT scores predict college performance?
Wisc Eau Claire - CS - 245
BalancedTrees (BandB+)CompletelyBalancedTrees Sofar,wevealwaysgrownourtreesfromthe roottotheleafnodes Problem Goals Unequalpathlengths Somemaximumnumberofleveltraversals ExpandfrombinarytoNarytreesForatreecontainingNnodes,havingMchildrenper
North Texas - DSCI - 3710
COURSE: DSCI 3710 Exam 1 version A Spring 2009Print Name: Signature: Student ID#:INSTRUCTIONS: Please print your name and student ID number on this exam. Also, put your signature on this exam. On your scantron PRINT your name and exam version
North Texas - COURSEWEB - 4100
I ntegr a ti ng Educa ti ona l T echnol ogy i nto T ea chi ngCha pter 1 Educa ti ona l T echnol ogy i n Context: T he Bi g Pi ctur e By M . D . Robl yerSITE 2002Wha t You N eed to KnowD efi ni ti on of I ntegr a ti ng Educa ti ona l T echnol o
Wisc Eau Claire - EDMT - 380
Enhanced Podcast AssignmentMr. Rubenzer's Class Directions: For this assignment you will be creating an enhanced podcast in which you will be imagining that you can fly anywhere in the world and visit anyplace. I want you to describe the different f
Washington University in St. Louis - MGST - 1154
PDS_VERSION_ID = PDS3RECORD_TYPE = STREAMOBJECT = TEXT PUBLICATION_DATE = 2002-07-01 NOTE = "Description of the BIN directory contents
Washington University in St. Louis - MGST - 1154
PDS_VERSION_ID = PDS3RECORD_TYPE = STREAMOBJECT = TEXT PUBLICATION_DATE = 1999-05-14 NOTE = "Description of the DOC directory contents
Washington University in St. Louis - MGST - 1154
PDS_VERSION_ID = PDS3RECORD_TYPE = STREAMOBJECT = TEXT PUBLICATION_DATE = 2002-01-01 NOTE = "User documentation for vanilla software."END_OBJECT