Documents Found!
As seen in
Less Work, Better Grades
Join
Course Hero
Access
best resources
Ace
your classes
Ace your courses with Course Hero!

Limited, unformatted preview (showing 68 of 1481 words):
...527 PbAf 2006 3.48 Assignment 2 answer sheet 3.51 Using the raw counts of cases provided in the book, you can calculate the joint probabilities by dividing each cell by the total number of cases (2143). Then calculate the marginal probabilities by adding up across the rows and columns (because the joint probabilities are for mutually exclusive categories). Jury plaintiff trial win-reversd plaintiff trial affirmed/dismissed Defendant trial win-reversed Defendant trial win-affirmed/dismissed Totals...
Study Smarter, Score Higher
 
Document Content (unformatted)
Course Hero has millions of student submitted documents similar to the one below including study guides, homework solutions, papers, exam answer keys and textbook solutions.
527 PbAf 2006 3.48 Assignment 2 answer sheet 3.51 Using the raw counts of cases provided in the book, you can calculate the joint probabilities by dividing each cell by the total number of cases (2143). Then calculate the marginal probabilities by adding up across the rows and columns (because the joint probabilities are for mutually exclusive categories). Jury plaintiff trial win-reversd plaintiff trial affirmed/dismissed Defendant trial win-reversed Defendant trial win-affirmed/dismissed Totals 9.1% 20.0% 5.2% 34.1% 68.4% Judge Totals 3.3% 12.4% 31.2% 11.2% 8.4% 3.2% 14.0% 48.1% 31.6% 100.0% a) The sample points are all combinations of type of trial and outcome: Plaintiff win/reversed in jury trial; plaintiff win/reversed in judge trial; plaintiff win affirmed in jury; plaintiff win affirmed with judge; defendant win reversed with jury; defendant win reversed with judge; defendant win affirmed with jury; defendant win affirmed with judge. b) P(Jury)= .684 c) P( P win reversed)= .124 d) These are not mutually exclusive because some Jury decisions were won by the plaintiff then reversed (there is overlap). e) P( NOT jury tril) = 1-.684 = .316 f) P( jury OR plaintiff win reversed)= =P(jury) + P(plaintiff win reversed) P(jury AND plaintiff win reversed) =.684+.124-.091=.717 g) P( jury AND plaintiff win reversed)= .091 3.80 a) b) c) d) e) P(A)= P(fail exam)=360/1000= .360 P(B|A)= P(fail paper GIVEN failed exam)= .75 P(B| Ac)= P(failed paper GIVEN did not fail exam)= .20 P(A I B) =P(failed exam AND failed paper) P(A I B) =P(A)*P(B|A)=.360*.75=.27 Part II Here is a crosstab showing the first response to "Race" and the response to "Hispanic Origin". RACE - 1ST CHOICE * PERSON OF HISPANIC ORIGIN Crosstabulation PERSON OF HISPANIC ORIGIN 0.NO 1.YES 15285 1235 92.5% 92.7% 330 95.9% 2.0% 266 86.4% 1.6% 128 97.7% .8% 473 97.5% 2.9% 16482 92.7% 100.0% 7.5% 94.6% 14 4.1% 1.1% 42 13.6% 3.2% 3 2.3% .2% 12 2.5% .9% 1306 7.3% 100.0% RACE 1ST CHOICE 1.WHITE 2.BLACK 3.AMERICAN INDIAN/ALASKA NATIVE 4.NATIVE HAWAIIAN/OTHER API 5.ASIAN Total Count % within RACE - 1ST CHOICE % within PERSON OF HISPANIC ORIGIN Count % within RACE - 1ST CHOICE % within PERSON OF HISPANIC ORIGIN Count % within RACE - 1ST CHOICE % within PERSON OF HISPANIC ORIGIN Count % within RACE - 1ST CHOICE % within PERSON OF HISPANIC ORIGIN Count % within RACE - 1ST CHOICE % within PERSON OF HISPANIC ORIGIN Count % within RACE - 1ST CHOICE % within PERSON OF HISPANIC ORIGIN Total 16520 100.0% 92.9% 344 100.0% 1.9% 308 100.0% 1.7% 131 100.0% .7% 485 100.0% 2.7% 17788 100.0% 100.0% Overall, 7.3 percent of the WSPS sample reported being of Hispanic origin. For race, 93 percent reported their first (or only) race as white, 1.9 percent as Black, 1.7 percent as American Indian or Alaska Native, .7 as Native Hawaiian or other Asian Pacific Islander, and 2.7 as Asian. Among those who reported being of Hispanic origin, people reported being of each of the racial categories. Compared to those who were not Hispanic, Hispanics reported being White or American Indian/Alaska Native slightly more often, and being Black, Native Hawaiian or other API or Asian somewhat less often. These calculations reflect the composition of the WSPS sample, but are not adjusted by weights for the oversampling of King County and its higher proportion of people of color. Also, this table includes information only on the first racial category for each person. It does not account for the additional racial categories selected by 2.5 percent of people who named more than 1 category. Part III 1. The overall poverty rate is the sum of the rate for each group reported (e.g. each region) weighted by its population share. Let Pov stand for the event "poverty", NE for northeast, MW is for Midwest, S is for south, and W is for west. Because the region groups are mutually exclusive and exhaustive we can add the region -specific poverty rates (conditional probabilities) weighted by the proportion of people in each region (to get the "and" events--see book for the multiplicative rule). P(Pov)=P(Pov and NE) + P (Pov and MW) + P(Pov and S) + P (Pov and W) =P(Pov NE) + P (Pov MW) + P(Pov S) + P (Pov W) =P(Pov|NE) x P(NE) + P(Pov|MW) x P(MW) + P(Pov|S) x P(S) + P(Pov|W)x P(W) =(.109)(.19) + (.103)(.23) + (.138)(.36) + (.124)(.23) = .121 Thus, the overall poverty rate in 2003 was 12.1 percent. If the poverty rates for any groups or the proportion of the population in groups changes, then the overall probability will change. Similarly, for 1993 using the age groups we could calculate a poverty of rate 15 percent. Let C stand for under 18 (child), A stand for 19 -64 (adult), and O stand for 65 and above (older). P(Pov) =P(Pov and C) + P (Pov and A) + P(Pov and O) =P(Pov C) + P (Pov A) + P(Pov O) =P(Pov|C) x P(C) + P(Pov|A) x P(A) + P(Pov|O) x P(O) =(.227)(.26) + (.123)(.62) + (.122)(.12) =.150 So, the overall poverty rate in 1993 was 15 percent. The overall poverty rate fell from 15 percent in 1993 to 12.1 percent in 2003. 3. If poverty were statistically independent of race, then the poverty rates conditional on race should be equal. [In this data set, the white only, black onl y, Asian/Pacific Islander only, and Other Race/multiracial categories are mutually exclusive and exhaustive.] If P is poverty, W is white, B is Black, and As is Asian/Pacific Islander, and OR is other races, then by definition statistical independence is Hispanic Asian/PI Other Race P(Pov|W)=P(Pov|B)=P(P ov|As) =P(Pov|OR)=P(Pov) But because P(Pov|W) = .105 and the P(Pov|B)= .244 in 2003, there is clear evidence that race provides information about the likelihood of being poor. What kind of data would you want to further explore the cause of race differences in poverty? Could race differences in age distribution, residence, or region explain the race differences in poverty rates? Poor White Black 4. We can manipulate the conditional probability formula (and use Bayes' Theorem) to get the probability of being a child given poverty status. If C is for child (under 18), then P ( Pov I C ) P (C ) P( Pov | C ) = [multiplicative rule of probability] P(C|Pov)= P ( Pov ) P( Pov) [You could stop here and solve the equation, but I'd like to point out that the equation above equals: P ( Pov | C ) P(C ) P( Pov | C ) P(C ) + P( Pov | C c ) P(C c ) This happens to be Bayes Theorem. The denominators here and just above are equivalent.] [Do you see why?] = In 2003, we know P(Pov|C)= .176 from the chart, P(C)=.25 from the chart as well, and we calculated P(Pov) in problem 1, so =(.176 x .25)/.121 = .364 So, the probability of a being child given poverty status was about 36 percent in 2003. That is, 36 percent of the poor were children. In the last 30 years, Social Security and Medicare programs resulted in large decreases in the p robability of being poor for older people, and this makes children a larger part of the pool of poor people (can you see how this changes the formula?). Increases in single mother households between the 1960s and the 1980s pushed poverty rates for children higher. Also, the poverty rate for working-age adults in more sensitive to economic cycles than are the rates for young or old; the poverty rates for adults increase during recession making children a smaller portion of the total. 5. We want to know the proportion of poor people between 19 and 65 (A) in both 2003 and 1993--the probability of not being under 18 or over 65 given poverty status [P(A|Pov)]. We want, for 2003: P(A|Pov) = P(A and Pov)/P(Pov)=P(APov)/P(Pov) = [P(18-24 and Pov) + P((25-34 and Pov) + P((35-44 and Pov) + P((45-55 and Pov) + P((55-59 and Pov) + P((60-64 and Pov)]/P(Pov) = [P(18-24|Pov)P(Pov) + P(25-34|Pov)P(Pov) + ...]/P(Pov) = [(.165)(.10) + (.128)(.14) + (.096)(.15) + (.076)(.14) + (.082)(.06) + (.097)(.04)]/.121 =0.56 Alternatively, we know the programs won't be useful for the children and seniors, so let's find the proportion of the poor in those groups then take the complement. We want P(C or O|Pov). Since C and O are mutually exclusive categories, we can add their conditional probabilities (because they have the same denominator): P(C or O|Pov) =P(C|Pov) + P(O|Pov) We figured the P(C|Pov) in the last question as .36, similarly P(O|Pov) = P(Pov and O)/P(Pov) = P(O)P(Pov|O)/P(Pov) =(.102)(.12)/.121 =0.101 [Multiplicative Rule which gets us to Bayes Theorem again] So, P(C or O|Pov) = .36 + .10 = .46 Then, since A, Y, and O are mutually exclusive and exhaustive, take the complement: P(A|P) =1 - .46 = .54 For 1993, we can calculate the P(A|Pov) using numbers from the table and the overall poverty rate we calculated before: P(A|Pov) = P(Pov and A)/P(Pov) = P(A)P(Pov|A)/P(Pov) = (.62)(.123)/.15 = .508 Thus, in 1993 just about half and in 2003 only a little over half of the poor were likely to use labor market anti-poverty policies. Note that children will often be living with poor adults, so a program successful for adults would also change the rates for children. Also important is the fact that some programs may not raise incomes above poverty (a fixed threshold) but could increase incomes closer to that rate.
Find millions of documents here - Study Guides, Homework Solutions, Papers, Exam Answer Keys and more. Course Hero has millions of course related materials that will enable you to learn better, faster and get an A in all your courses.
Below is a small sample set of documents:

Washington >> PBAF >> 527 (Fall, 2009)
Assignment #3 PBAF 527B, Winter 2006 In McClave and Sincich do questions # 4.4, 4.14, 4.30, 4.114(a,b), 5.20, 5.24, 5.30, 5.116, 5.124. Plus the following two problems: 1. a. Suppose 20% of the individuals in a population of interest have hypertensio...
Washington >> PBAF >> 527 (Fall, 2009)
PBAF 527: Quantitative Methods Winter 2006 Telling A Story Using Descriptive Statistics Assignment 1 This assignment helps you to begin thinking about how you can tell a story using descriptive statistics such as means, medians, standard deviations...
Washington >> PBAF >> 527 (Fall, 2009)
PBAF 527: Quantitative Analysis I Winter 2007 Telling A Story Using Descriptive Statistics Assignment 1 This assignment helps you to begin thinking about how you can tell a story using descriptive statistics such as means, medians, standard deviati...
Washington >> PBAF >> 527 (Fall, 2009)
PbAf 527 2006 3.48 Assignment 2 answer sheet 3.51 Using the raw counts of cases provided in the book, you can calculate the joint probabilities by dividing each cell by the total number of cases (2143). Then calculate the marginal probabilities by ...
Washington >> PBAF >> 527 (Fall, 2009)
PBAF 527: Quantitative Methods Assignment 4 Answer Sheet Part I In the entire population of water supplies in WA, the concentration of fluoride is known to be approximately normally distributed, with mean 3 ppm and standard dev 1 ppm. a. This quest...
Washington >> PBAF >> 527 (Fall, 2009)
PBAF 527 Answer Sheet for Assignment #1 - Descriptive Statistics Some General Thoughts about the Discussion Questions : Mean and Median and Mode The mean and median are measures of central tendency for quantitative variables. The mean is calculated...
Washington >> PBAF >> 527 (Fall, 2009)
Assignment #3 PBAF 527B, Winter 2006 Due January 31 In McClave and Sincich do questions # 4.4, 4.14, 4.30, 4.114(a,b), 5.20, 5.24, 5.30, 5.116, 5.124. Plus the following two problems: 1. a. Suppose 20% of the individuals in a population of interest h...
Washington >> PBAF >> 527 (Fall, 2009)
Assignment #3 PBAF 527B, Winter 2006 Due January 31 In McClave and Sincich do questions # 4.4, 4.14, 4.30, 4.114(a,b), 5.20, 5.24, 5.30, 5.116, 5.124. Plus the following two problems: 1. a. Suppose 20% of the individuals in a population of interest h...
Washington >> PBAF >> 527 (Fall, 2009)
Assignment #3: ANSWERS PBAF 527, Winter 2006 In McClave and Sincich do questions # 4.4, 4.14, 4.30, 4.114(a,b), 5.20, 5.24, 5.30, 5.116, 5.124. Plus the following two problems: 4.4: a. continuous b. discrete c. continuous d. continuous e. discrete f....
Washington >> PBAF >> 527 (Fall, 2009)
Assignment #3: ANSWERS PBAF 527, Winter 2006 In McClave and Sincich do questions # 4.4, 4.14, 4.30, 4.114(a,b), 5.20, 5.24, 5.30, 5.116, 5.124. Plus the following two problems: 4.4: a. continuous b. discrete c. continuous d. continuous e. discrete f....
Washington >> PBAF >> 527 (Fall, 2009)
Assignment #3: ANSWERS PBAF 527 In McClave and Sincich do questions # 4.4, 4.14, 4.30, 4.114(a,b), 5.20, 5.24, 5.30, 5.116, 5.124. Plus the following two problems: 4.4: a. continuous b. discrete c. continuous d. continuous e. discrete f. discrete 4.1...
Washington >> PBAF >> 527 (Fall, 2009)
PBAF 527: Quantitative Methods Winter 2007 Working with Probability Assignment 2 The purpose of this assignment is to give you some experience with the mechanics of working with probabilities and with applying probability to different types of mana...
Washington >> PBAF >> 527 (Fall, 2009)
PBAF 527: Quantitative Methods Assignment 4 Answer Sheet Part I In the entire population of water supplies in WA, the concentration of fluoride is known to be approximately normally distributed, with mean 3 ppm and standard dev 1 ppm. a. This quest...
Washington >> PBAF >> 527 (Fall, 2009)
PBAF 527: Quantitative Methods Winter 2004 Assignment 4 Answer Sheet Part I In the entire population of water supplies in WA, the concentration of fluoride is known to be approximately normally distributed, with mean 3 ppm and standard dev 1 ppm. a...
Washington >> PBAF >> 527 (Fall, 2009)
PBAF 527: Quantitative Methods Winter 2004 Assignment 4 Answer Sheet Part I In the entire population of water supplies in WA, the concentration of fluoride is known to be approximately normally distributed, with mean 3 ppm and standard dev 1 ppm. a...
Washington >> PBAF >> 527 (Fall, 2009)
PBAF 527: Quantitative Methods Winter 2006 Assignment 4 Answer Sheet Part I In the entire population of water supplies in WA, the concentration of fluoride is known to be approximately normally distributed, with mean 3 ppm and standard dev 1 ppm. a...
Washington >> PBAF >> 527 (Fall, 2009)
Public Affairs 527 Assignment 4 Moving from Populations to Samples This assignment is intended to help you make a transition from \"deductive reasoning\" (deducing information about subsamples of the population from information about the entire popul...
Washington >> PBAF >> 527 (Fall, 2009)
Public Affairs 527 Assignment 4 Moving from Populations to Samples This assignment is intended to help you make a transition from \"deductive reasoning\" (deducing information about subsamples of the population from information about the entire popul...
Washington >> PBAF >> 527 (Fall, 2009)
PbAf 527 Quantitative Analysis I Assignment 5 Answer Key Part I 1. H0: = 5 H1: 5 Critical points for =0.05 are t=1.96 Test statistic: t= 2.3 - 5.0 = -19.7 1.5 120 This is well below the critical value so we reject the null and conclude that...
Washington >> PBAF >> 527 (Fall, 2009)
PbAf 527 Quantitative Analysis I Assignment 5 Answer Key Part I 1. H0: = 5 H1: 5 Critical points for =0.05 are t=1.96 Test statistic: t = 2.3 - 5.0 = -19.7 1.5 120 This is well below the critical value so we reject the null and conclude that ...
Washington >> PBAF >> 527 (Fall, 2009)
PBAF 527: Quantitative Methods Assignment 5 Hypothesis Testing The first part of this assignment gives you some practice at hypothesis testing. The second part applies hypothesis testing to the work you are doing for your policy memo. Part I 1. In ...
Washington >> PBAF >> 527 (Fall, 2009)
PbAf 527 Quantitative Analysis I Assignment 5 Part I 1. H0: = 5 H1: 5 Critical points for =0.05 are t=1.96 Test statistic: t = 2.3 - 5.0 = -19.7 1.5 120 This is well below the critical value so we reject the null and conclude that changes are ...
Washington >> PBAF >> 527 (Fall, 2009)
Public Affairs 527: Quantitative Methods Professor Alison Cullen Par 209B, alison@u.washington.edu, 6-1654 Office Hour Tues 12-1 and by appt. Teaching Assistant Katie Lewis Par 124D, klew@u.washington.edu Office Hours and Review Sessions TBA Course L...
Stanford >> GROUP >> 0001 (Fall, 2009)
The Boothe Prize Essays 2001 The Modern Nomad by Katherine Buchanan Introduction by Marvina White, Instructor: Katie Buchanan\'s creative intellect sparkles in \"The Modern Nomad.\" This piece had its beginnings in Katie\'s casual reflections on her exp...
Princeton >> MATH >> 104 (Fall, 2008)
Outline of Post-Midterm Topics MAT 104 Frank Swenton, Fall 1998 Positive and Negative Series (be sure to remember what you\'ve already learned about positive series!) Definitions of absolutely convergent, conditionally convergent, and divergent seri...
Princeton >> ORF >> 309 (Fall, 2009)
Probability, Fall 1998 Exam 1, Solutions 1. We complete the table as follows: -1 0 1 0.10 0 f 1 g h e e = 1 - a - d = 0.40 f = bd = 0.05 g = eb = 0.10 h = ec = 0.30 EY 2 = a + e = 0.8 b c 0.30 0.15 a d a = 0.10 + 0.30 = 0.40 ab = 0.10 b = 0.25 c ...
Acton School of Business >> STAT >> 305 (Fall, 2009)
88 76 84 64 60 64 60 64 68 74 68 68 72 76 72 52 72 64 60 56 72 88 80 76 64 72 60 76 88 72 64 60 60 72 92 80 72 64 68 ...
Acton School of Business >> STAT >> 305 (Fall, 2009)
840 157 145 44 33 121 150 280 434 736 584 887 263 1901 695 294 562 721 76 710 46 402 194 759 319 460 40 1336 335 1354 454 36 667 40 556 99 304 375 567 139 780 203 436 30 384 129 9 209 599 83 832 328 246 1617 638 937 735 38 365 92 82 220 ...
N. Georgia >> TEROSS >> 9476 (Fall, 2009)
Mr. Rossley World History Class Multimedia Research Project Rubric Student Name:_ _ Research Process: Gathered information from journals, books, CD\'s and the internet Resources are current and reliable Extracted, synthesized, and applied appropriate ...
N. Georgia >> TEROSS >> 9476 (Fall, 2009)
Web-Based Lesson Plan Lesson Plan Title: Developed by: Subject Area: Grade Level: Purpose of the Activity: Learning Objectives (include at least one Georgia QCC): The life and death of Abraham Lincoln Mr. Rossley United States History 9th To understa...
N. Georgia >> TEROSS >> 9476 (Fall, 2009)
Abraham Lincoln Directions- Answer all of the questions below. This activity will help guide you to a better understanding of Abraham Lincoln. 1. What affects did Abraham Lincoln have on the Civil War? 2. How did Abraham Lincoln\'s assassination affe...
N. Georgia >> TEROSS >> 9476 (Fall, 2009)
NAME Heil, Bob Weisner, Chris Hall, Chris Long, Janelle Bell, Christina Denson, Pat Jewel, Adriana Keller, Matt Smith, Marcus Willis, Samantha Class Average QUIZ 1 90 76 88 100 76 20 90 50 87 73 Mr. Rossley - US History Section: A QUIZ QUIZ 2 QUIZ ...
N. Georgia >> TEROSS >> 9476 (Fall, 2009)
The Hazards of Smoking By: Tyler Rossley Smoking Kills! More Americans die each year from lung cancer than from breast, prostate, and colorectal cancers combined. An estimated 160,440 Americans will die in 2004 from lung cancer, accounting for 28...
N. Georgia >> TEROSS >> 9476 (Fall, 2009)
Web Pages 1 www.bravenet.com- a site that provides people with the necessary teaching aids and tools for different computer programs. 2 www.kn.pacnell.com/wired3 www.americasstory.com/cgibin- a fact based web site that explains America\'s history 4 ww...
N. Georgia >> TEROSS >> 9476 (Fall, 2009)
Directions: While each student is at the Music center, you should finish the assignment sheet. Use you imagination and any other sources available to answer each question. Each student should fill out their own answer sheet. However, you can work to...
N. Georgia >> TEROSS >> 9476 (Fall, 2009)
Dear Students, This week we will be focusing our attention on the historical time period known as the Renaissance (rebirth.). We will be breaking up into centers and exploring various aspects of this time period. The goal we are trying to accomplish ...
Idaho >> SGHCHEM >> 112 (Fall, 2009)
Name: _ Chemistry 112 Exam #2 Seat number: _ March 11, 2009 Clearly print your name and seat number (in the test no. blank) on the Scantron answer sheet. There is only one most correct response to each of the multiple choice questions. There are 25...
Southern Oregon >> PHYS >> 1114 (Fall, 2009)
PHYS 1114-04 (College Physics I, Section 4) Tentative Schedule, Fall 2004 All dates subject to change at instructor\'s discretion. Date Day Class Activity/Test Lab Activity Assignments due August 23 M Intro/ unit I Lab 1 and Lab 3 25 W unit I 30 M uni...
Southern Oregon >> PHYS >> 1114 (Fall, 2009)
Answers for Homework Handout 8 1. Newtons Law\'s: 1) An object at rest or at constant velocity will remain at rest or constant velocity unless acted on by an unbalanced force. 2) Acceleration is directly proportional to the net force and inversely pro...
Southern Oregon >> PHYS >> 1114 (Fall, 2009)
Answers to Sample Test for Unit V Potentially useful equations: f = i + (t) = i (t) + 1 (t)2 2 = F r (= F r sin ) 2 2 f = i + 2() vt = r L = I = I ac = v2 r 1 Krot = 2 I 2 Fc = Fnet,c = mac Ft = mat FG = Gm1 m2 2 r1,2 Wnet = Kf,tot - Ki,tot I ...
LSU >> CHEM >> 2261 (Fall, 2008)
\"Grade or Education\" = 1 CHEM 2261/01 Summer 08 Exam 1 Chapters 1-3 1. What is WRONG with the curved-arrow mechanism shown below? H O: . . + H H H C C H H Br H2O + H C C H H H + Br - _ A. _ B. _ C. _ D. _ E. The curved arrows connect the ...
LSU >> CHEM >> 2261 (Fall, 2008)
\"Grade or Education\" = 1 CHEM 2261/01 Summer 08 Exam 3 Chapters 7-9 1. Find the substitution product(s) of the reaction of (2S,3R)-2-chloro-3-methylpentane + high concentration of CH3 O- from among the numbered structures shown below. Choose the CORR...
Michigan State University >> CSE >> 460 (Fall, 2008)
Strings and Languages Operations Concatenation Exponentiation Kleene Star Regular Expressions 1 Strings and Language Operations Concatenation Exponentiation Kleene star Pages 28-32 of the recommended text Regular expressions Pages 85-90 of th...
Michigan State University >> CSE >> 460 (Fall, 2008)
Module 28 Context Free Grammars Definition of a grammar G Deriving strings and defining L(G) Context-Free Language definition 1 Context-Free Grammars Definition 2 Definition A context-free grammar G = (V, , S, P) V: finite set of variables ...
Michigan State University >> CSE >> 460 (Fall, 2008)
Module 1: Course Overview Course: CSE 460 Instructor: Dr. Eric Torng TA: Phillip Mienk 1 What is this course? Philosophy of computing course We take a step back to think about computing in broader terms Science of computing course We study ...
Michigan State University >> CSE >> 460 (Fall, 2008)
Module 3 Worksheet In Class Questions 1) (S9) Which of the following two problems is a function problem? Problem 1 Problem 2 Input: Integer n Input: Integers m and n Output: An integer smaller than n Output: Answer to \"Is m < n?\" 2) (S9) Convert the ...
Michigan State University >> CSE >> 460 (Fall, 2008)
Module 4: Formal Definition of Solvability Analysis of decision problems Two types of inputs:yes inputs and no inputs Language recognition problem Analysis of programs which solve decision problems Four types of inputs: yes, no, crash, loop inp...
Michigan State University >> CSE >> 460 (Fall, 2008)
Module 5 Topics Proof of the existence of unsolvable problems Proof Technique There are more problems/languages than there are programs/algorithms Countable and uncountable infinities 1 Overview We will show that there are more problems than ...
Michigan State University >> CSE >> 460 (Fall, 2008)
Module 5 Worksheet In Class Questions 1) (S5) Express the problem {/\\, aa} as a LRP in the Input,Yes/No Question format. Input: Yes/No Question: 2) (S5) Express the problem {an | n is a perfect square} as a LRP in the Input,Yes/No Question format. In...
Michigan State University >> CSE >> 460 (Fall, 2008)
Module 6 Worksheet In Class Questions 1) (S4) Give an example program behavior problem with one input. Input: Output: 2) (S4) Give an example program behavior problem with two inputs. Input: Output: 3) (S6) How do we determine if a program P we have ...
Michigan State University >> CSE >> 460 (Fall, 2008)
Module 8 Worksheet In Class Questions 1) (S6) Give an element of FINITE over alphabet {a,b,c}. 2) (S6) Give an element of FINITE over alphabet {a,b,c} that is NOT in CARD-3. 3) (S7) Does the example on this slide prove that FINITE is closed under set...
Michigan State University >> CSE >> 460 (Fall, 2008)
Module 9 Recursive and r.e. language classes representing solvable and half-solvable problems Proofs of closure properties for the set of recursive (solvable) languages for the set of r.e. (half-solvable) languages Generic element/template pr...
Michigan State University >> CSE >> 460 (Fall, 2008)
Module 11 Proving more specific problems are not solvable Input transformation technique Use subroutine theme to show that if one problem is unsolvable, so is a second problem Need to clearly differentiate between use of program as a subroutine ...
Michigan State University >> CSE >> 460 (Fall, 2008)
Module 13 Studying the internal structure of REC, the set of solvable problems Complexity theory overview Automata theory preview Motivating Problem string searching 1 Studying REC Complexity Theory Automata Theory 2 Current picture of all ...
Michigan State University >> CSE >> 460 (Fall, 2008)
In class Questions 1) (S4) Prove that 2 is an integer given the definition of integers on this slide. 2) (S4) Is there another proof that 2 is an integer using these rules? Why or why not? 3) (S6) Prove that {a,b}* is a regular language. 4) (S8) I...
Michigan State University >> CSE >> 460 (Fall, 2008)
Module 15 FSA\'s Defining FSA\'s Computing with FSA\'s Defining L(M) Defining language class LFSA Comparing LFSA to set of solvable languages (REC) 1 Finite State Automata New Computational Model 2 Tape We assume that you have already seen FS...
Michigan State University >> CSE >> 460 (Fall, 2008)
Module 18 NFA\'s nondeterministic transition functions computations are trees, not paths L(M) and LNFA LFSA subset of LNFA Comparing computational models 1 Nondeterministic Finite State Automata NFA\'s 2 Change: is a relation For an FSA M...
Michigan State University >> CSE >> 460 (Fall, 2008)
Module 19 LNFA subset of LFSA Theorem 4.1 on page 131 of Martin textbook Compare with set closure proofs Main idea A state in FSA represents a set of states in original NFA 1 LNFA subset LFSA Let L be an arbitrary language in LNFA Let M be ...
Michigan State University >> CSE >> 460 (Fall, 2008)
Module 20 NFA\'s with -transitions NFA-\'s Formal definition Simplifies construction LNFA- Showing LNFA- is a subset of LNFA (extra credit) and therefore a subset of LFSA 1 Defining NFA-\'s 2 Change: -transitions We now allow an NFA M to ch...
Michigan State University >> CSE >> 460 (Fall, 2008)
Module 21 Closure Properties for LFSA using NFA\'s From now on, when I say NFA, I mean any NFA including an NFA- unless I add a specific restriction union (second proof) concatenation Kleene closure 1 LFSA closed under set union (again) 2 LFSA...
Michigan State University >> CSE >> 460 (Fall, 2008)
Module 22 Regular languages are a subset of LFSA algorithm for converting any regular expression into an equivalent NFA Builds on existing algorithms described in previous lectures 1 Regular languages are a subset of LFSA 2 Reg. Lang. subset L...
Michigan State University >> CSE >> 460 (Fall, 2008)
Module 25 Decision problems about regular languages Basic problems are solvable halting, accepting, and emptiness problems Solvability of other problems answer-preserving input transformations to basic problems 1 Programs In this unit, our p...
Michigan State University >> CSE >> 460 (Fall, 2008)
Module 29 Parse/Derivation Trees Leftmost derivations, rightmost derivations Ambiguous Grammars Examples Arithmetic expressions If-then-else Statements Inherently ambiguous CFL\'s 1 Context-Free Grammars Parse Trees Leftmost/rightmost deriva...
Michigan State University >> CSE >> 460 (Fall, 2008)
Module 30 EQUAL language Designing a CFG Proving the CFG is correct 1 EQUAL language Designing a CFG 2 EQUAL EQUAL is the set of strings over {a,b} with an equal number of a\'s and b\'s Strings in EQUAL include aabbab bbbaaa abba Strings ...
Michigan State University >> CSE >> 460 (Fall, 2008)
Module 31 Closure Properties for CFL\'s Kleene Closure construction examples proof of correctness Others covered less thoroughly in lecture union, concatenation CFL\'s versus regular languages regular languages subset of CFL 1 Closure Prop...
Michigan State University >> CSE >> 460 (Fall, 2008)
Module 34 CFG -> PDA construction Shows that for any CFL L, there exists a PDA M such that L(M) = L The reverse is true as well, but we do not prove that here 1 CFL subset LPDA Let L be an arbitrary CFL Let G be the CFG such that L(G) = L G e...
Michigan State University >> CSE >> 460 (Fall, 2008)
Module 35 Attempt to prove that CFL\'s are closed under intersection Review previous constructions Translate previous constructions to current setting Prove modified result 1 High Level Overview 2 CFL closed under set intersection Let L1 and ...
Michigan State University >> CSE >> 460 (Fall, 2008)
Module 35 Worksheet In Class Questions 1) (S8) Specify how we implemented this idea with FSA\'s. M1 = (Q1, , q1, A1, 1) M2 = (Q2, , q2, A2, 2) M3 = (Q3, , q3, A3, 3) where Q3 = q3 = A3 = 3(p,q), a) = 2) (S10) Try and implement this idea with PDA\'...
Michigan State University >> CSE >> 460 (Fall, 2008)
Module 36 Non context-free languages Examples and Intuition Pumping lemma for CFL\'s Pumping condition No proof of pumping lemma Applying pumping lemma to prove that some languages are not CFL\'s 1 Examples and Intuition 2 Examples What are ...
Michigan State University >> CSE >> 460 (Fall, 2008)
Module 37 Showing CFL\'s not closed under set intersection and set complement 1 Nonclosure Properties for CFL\'s 2 CFL\'s not closed under set intersection How can we prove that CFL\'s are not closed under set intersection? 3 Counterexample What...
What are you waiting for?