Introduction to Informatics

Similar documents
Introduction to Informatics

Introduction to Informatics

Introduction to Informatics

Introduction to Informatics

Recap. The study of randomness and uncertainty Chances, odds, likelihood, expected, probably, on average,... PROBABILITY INFERENTIAL STATISTICS

Cogs 14B: Introduction to Statistical Analysis

Presentation on Theo e ry r y o f P r P o r bab a il i i l t i y

Introduction to Informatics Lecture 14: Logic Circuits and Midterm Review. Luis M.Rocha and Santiago Schnell

Lecture Lecture 5

Preliminary Statistics Lecture 2: Probability Theory (Outline) prelimsoas.webs.com

Topic -2. Probability. Larson & Farber, Elementary Statistics: Picturing the World, 3e 1

3 PROBABILITY TOPICS

Review of Probability, Expected Utility

MIDTERM EXAMINATION (Spring 2011) STA301- Statistics and Probability

Statistical Inference

Lecture 1: Review of Probability

Econ 325: Introduction to Empirical Economics

REPEATED TRIALS. p(e 1 ) p(e 2 )... p(e k )

PERMUTATIONS, COMBINATIONS AND DISCRETE PROBABILITY

Lecture 1. ABC of Probability

Example: Suppose we toss a quarter and observe whether it falls heads or tails, recording the result as 1 for heads and 0 for tails.

2011 Pearson Education, Inc

Statistical Theory 1

STAT 111 Recitation 1

Probability: Sets, Sample Spaces, Events

Lecture notes for probability. Math 124

Fuzzy Systems. Introduction

Probability Experiments, Trials, Outcomes, Sample Spaces Example 1 Example 2

Sets and Set notation. Algebra 2 Unit 8 Notes

6.2 Introduction to Probability. The Deal. Possible outcomes: STAT1010 Intro to probability. Definitions. Terms: What are the chances of?

Lecture 11: Information theory THURSDAY, FEBRUARY 21, 2019

Recap of Basic Probability Theory

Uncertain Knowledge and Bayes Rule. George Konidaris

Independence Solutions STAT-UB.0103 Statistics for Business Control and Regression Models

Recap of Basic Probability Theory

CMPSCI 240: Reasoning about Uncertainty

Lecture 4: Proposition, Connectives and Truth Tables

Chapter 2 PROBABILITY SAMPLE SPACE

Lecture 04: Conditional Probability. Lisa Yan July 2, 2018

BASICS OF PROBABILITY CHAPTER-1 CS6015-LINEAR ALGEBRA AND RANDOM PROCESSES

Fuzzy Systems. Introduction

MATH2206 Prob Stat/20.Jan Weekly Review 1-2

Statistics for Business and Economics

the time it takes until a radioactive substance undergoes a decay

biologically-inspired computing lecture 5 Informatics luis rocha 2015 biologically Inspired computing INDIANA UNIVERSITY

Come & Join Us at VUSTUDENTS.net

Lecture 6: The Pigeonhole Principle and Probability Spaces

GS03/4023: Validation and Verification Predicate Logic Jonathan P. Bowen Anthony Hall


Monty Hall Puzzle. Draw a tree diagram of possible choices (a possibility tree ) One for each strategy switch or no-switch

MATH STUDENT BOOK. 12th Grade Unit 9

Stat 225 Week 1, 8/20/12-8/24/12, Notes: Set Theory

Unit 7 Probability M2 13.1,2,4, 5,6

Quantifying Uncertainty & Probabilistic Reasoning. Abdulla AlKhenji Khaled AlEmadi Mohammed AlAnsari

Lecture 2. Conditional Probability

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 2 MATH00040 SEMESTER / Probability

Chapter 1 (Basic Probability)

Introduction to Stochastic Processes

How to determine if a statement is true or false. Fuzzy logic deal with statements that are somewhat vague, such as: this paint is grey.

Probability with Engineering Applications ECE 313 Section C Lecture 2. Lav R. Varshney 30 August 2017

Statistics Primer. A Brief Overview of Basic Statistical and Probability Principles. Essential Statistics for Data Analysts Using Excel

Probability Rules. MATH 130, Elements of Statistics I. J. Robert Buchanan. Fall Department of Mathematics

1 INFO 2950, 2 4 Feb 10

Lecture 2: Probability and Distributions

Your quiz in recitation on Tuesday will cover 3.1: Arguments and inference. Your also have an online quiz, covering 3.1, due by 11:59 p.m., Tuesday.

Mathematics for Informatics 4a

STA111 - Lecture 1 Welcome to STA111! 1 What is the difference between Probability and Statistics?

Introduction to Probability

SDS 321: Introduction to Probability and Statistics

Lecture 2: Probability

Week 2. Section Texas A& M University. Department of Mathematics Texas A& M University, College Station 22 January-24 January 2019

Question Bank In Mathematics Class IX (Term II)

CS1021. Why logic? Logic about inference or argument. Start from assumptions or axioms. Make deductions according to rules of reasoning.

P [(E and F )] P [F ]

CS4705. Probability Review and Naïve Bayes. Slides from Dragomir Radev

Welcome to MAT 137! Course website:

Decision making and problem solving Lecture 1. Review of basic probability Monte Carlo simulation

When working with probabilities we often perform more than one event in a sequence - this is called a compound probability.

Name: Exam 2 Solutions. March 13, 2017

6.041/6.431 Spring 2009 Quiz 1 Wednesday, March 11, 7:30-9:30 PM. SOLUTIONS

Probability: Why do we care? Lecture 2: Probability and Distributions. Classical Definition. What is Probability?

Bayesian Reasoning. Adapted from slides by Tim Finin and Marie desjardins.

STAT Chapter 3: Probability

Probability 5-4 The Multiplication Rules and Conditional Probability

Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 10

Lecture 1 : The Mathematical Theory of Probability

A Problem Involving Games. Paccioli s Solution. Problems for Paccioli: Small Samples. n / (n + m) m / (n + m)

biologically-inspired computing lecture 18

Fundamentals of Probability CE 311S

Lecture 3 Probability Basics

CS 4649/7649 Robot Intelligence: Planning

PROBABILITY AND INFORMATION THEORY. Dr. Gjergji Kasneci Introduction to Information Retrieval WS

185.A09 Advanced Mathematical Logic

Price: $25 (incl. T-Shirt, morning tea and lunch) Visit:

MAE 493G, CpE 493M, Mobile Robotics. 6. Basic Probability

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

Statistical methods in NLP Introduction

Lecture 9: Naive Bayes, SVM, Kernels. Saravanan Thirumuruganathan

Basic Probability and Statistics

NICTA Advanced Course. Theorem Proving Principles, Techniques, Applications. Gerwin Klein Formal Methods

Transcription:

Introduction to Informatics Lecture 20: Information and Uncertainty Uncertainty is the condition in which the possibility of error exists, because we have less than total information about our environment (George Klir)

Readings until now Lecture notes Posted online http://informatics.indiana.edu/rocha/i101 The Nature of Information Technology Modeling the World @ infoport http://infoport.blogspot.com From course package Von Baeyer, H.C. [2004]. Information: The New Language of Science. Harvard University Press. Chapters 1, 4 (pages 1-12) From Andy Clark s book "Natural-Born Cyborgs Chapters 2 and 6 (pages 19-67) From Irv Englander s book The Architecture of Computer Hardware and Systems Software Chapter 3: Data Formats (pp. 70-86) Klir, J.G., U. St. Clair, and B.Yuan [1997]. Fuzzy Set Theory: foundations and Applications. Prentice Hall Chapter 2: Classical Logic (pp. 87-97) Chapter 3: Classical Set Theory (pp. 98-103) Norman, G.R. and D.L. Streinrt [2000]. Biostatistics: The Bare Essentials. Chapters 1-3 (pages 105-129) OPTIONAL: Chapter 4 (pages 131-136) Chapter 13 (pages 147-155) Chapter 5 (pages 141-144)

Labs Past Assignment Situation Lab 1: Blogs Closed (Friday, January 19): Grades Posted Lab 2: Basic HTML Closed (Wednesday, January 31): Grades Posted Lab 3: Advanced HTML: Cascading Style Sheets Closed (Friday, February 2): Grades Posted Lab 4: More HTML and CSS Closed (Friday, February 9): Grades Posted Lab 5: Introduction to Operating Systems: Unix Closed (Friday, February 16): Grades Posted Lab 6: More Unix and FTP Closed (Friday, February 23): Grades Posted Lab 7: Logic Gates Closed (Friday, March 9): Grades Posted Lab 8: Intro to Statistical Analysis using Excel Due Friday, March 30 Next: Lab 9 Data analysis with Excel (linear regression) April 29 and 30, Due Friday, April 6 Assignments Individual First installment Closed: February 9: Grades Posted Second Installment Past: March 2, Being Grades Posted Third installment Presented on March 8 th, Due on March 30 th Group First Installment Past: March 9 th, Being graded Second Installment March 29; Due Friday, April 6

Individual Assignment Part III Q1 Q3 Q2 Q4 Step by step analysis of dying squares 3 rd Installment Presented: March 8 th Due: March 30th 4 th Installment Presented: April 5 th Due: April 20th Use descriptive statistics To uncover rules inductively E.g. the behavior of evens and odds, individual numbers, or ranges of cycles, etc.

Group Assignment: First Installment Given the text of The Lottery of Babylon by Jorge Luis Borges Compute the frequency, relative frequency, and cumulative relative frequency distribution of letters In the Spanish and the English Text Upload to Oncourse Note: in the Spanish version, lookout for ñ, á, é, í, ó, ú

John Oglesby and Sarah Kepa Lottery of Babylon Bar Chart 1600 1400 1200 1000 800 600 400 200 Spanish 0 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1600 la Loteria en Babilonia Bar Chart English 1400 1200 1000 800 600 400 200 0 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Group Assignment I NO COMMENTS!!?? Not even googling for tools??

The Library of Babel English Version Spanish Version

Group Assignment Second Installment: Given the text of Lottery of Babylon by Jorge Luis Borges Measures of central tendency and dispersion of letter frequency Probability of a letter being a vowel Probability of a letter being a consonant Conditional probability of letters e and u P(e ) where is the letter occurring before e P(u ) where is the letter occurring before u Compute for all letters (not space) Produce histogram of P(e ), for all. Produce histogram of P(u ), for all. Discuss the independence of e and u from other letters Upload to Oncourse h e P( e h) = = h ' he' h e P ( e) = N

The Addition rule If A,B are events from some sample space P (A B) = P(A) + P(B) P(A B) S S A B A B P(A) = A / S P(B) = B / S P(A B) = A B / S P(A B) = A B / S = ( A + B - A B )/ S

Addition Rule example P(E1) = E1 / S2 = 2/4 = ½ P(E2) = E2 / S2 = 2/4 = ½ P(E1 E2) = E1 E2 / S2 = ¼ P(E1 E2) = E1 E2 / S2 = = ( E1 + E2 - E1 E2 )/ S2 = = (2 + 2 1)/4 = ¾ P (E1 E2) = P(E1) + P(E2) P(E1 E2) S2 E1 HT TH HH TT E2 http://www.stat.sc.edu/~west/applets/venn1.html

Mutually Exclusive Events The occurrence of one precludes the occurrence of the other E3=Match and E1=nonmatch in two coin example Addition Rule is just sum of exclusive events P (E1 E2) = P(E1) + P(E2) P(E1 E2) P (E1 E2) = P(E1) + P(E2) E1 HT TH HH TT S2 E 3 Conditionally Dependent Events: The outcome of one depends on the occurrence of the other P(E1 E2) > 0

Example of Conditionally dependent events {1,1} {1,2} {1,3} {1,4} {1,5} {1,6} E2 {2,1} {2,2} {2,3} {2,4} {2,5} {2,6} {3,1} {3,2} {3,3} {3,4} {3,5} {3,6} E1 {4,1} {4,2} {4,3} {4,4} {4,5} {4,6} 2 dice {5,1} {5,2} {5,3} {5,4} {5,5} {5,6} E1= Sum of dice = 5 P(E1) = 4/36 = 1/9 =0.1111 4 out 36 possibilities: {1,4}, {2,3}, {3,2}, {4,1} E2 = first dice is 1 If E2 Probability of 5 = P(E1) = 1/6 = 0.1667 1 out of 6 possibilities: {1,1}, {1,2}, {1,3}, {1,4}, {1,5}, {1,6} {6,1} {6,2} {6,3} {6,4} {6,5} {6,6} Probability of E1 is conditional on value of first dice (E2) P(E1 E2)>0 Not mutually Exclusive P(E1 E2) = E1 E2 / E2 =1/6 Probability of E1 given E2

Conditional Probability P(B A) = A B / A Probability of a IU student being an Informatics major, given that a student is enrolled in I101 I101 = 110 students IM = {informatics major} = 400 P(IM I101) = IM I101 / I101 = 55/110 =0.5 P(IM) = 400/20000 = 0.02 Multiplication Rule for conditionally probable events P(A B) = P(A). P(B A) I101 IM IU

Independent Events Neither mutually exclusive nor conditionally probable events Two events A, B are independent if the occurrence of one has no effect on the probability of the occurrence of the other P(B A) = P(B) Multiplication Rule P(A B) = P(A). P(B A) = P(A).P(B) Example Tossing coins

Deduction vs. Induction Deductive Inference Logic If the premises are true, we have absolute certainty of the conclusion Inductive Inference Uncertainty Conclusion supported by good evidence (significant number of examples/observations) but not full certainty -- likelihood

Uncertainty, Information and Complexity To survive in the World Manage and analyze information Make decisions Predict future events MODEL! Utilize information that is available to cope with information that is not Lack of information implies complexity The perception of complexity increases With how much we need to know to solve a problem Quantity of information And how much we don t know Quantity of uncertainty

Complexity of Driving a Car Driving a stick-shift is more complicated Requires more knowledge Driving is complicated Due to uncertainty of situations BMW Z8

Uncertainty in The Modeling Relation Hertz Modeling Paradigm Symbols (Images) Initial Conditions Model Formal Rules Logical Consequence of Model Predicted Result???? Observed Result (syntax) (Pragmatics) Encoding (Semantics) Measure Measure Measurements Always uncertain World 1 Physical Laws World 2 Limited Information Induction from available evidence, especially in the presence of randomness Vagueness or Imprecision of Language of Description being tall means different things to different people Quality of Inferences Error Estimation

Uncertainty Decision-making Perhaps the most fundamental capability of human beings Decision always implies uncertainty Choice In a predestinate world, decision would be illusory; in a world of perfect foreknowledge, empty; in a world without natural order, powerless. Our intuitive attitude to life implies non-illusory, non-empty, non-powerless decision Since decision in this sense excludes both perfect foresight and anarchy in nature, it must be defined as choice in face of bounded uncertainty (George Shackle) Lack of information, randomness, noise, Error The highest manifestation of life consists in this: that a being governs its own actions. A thing which is always subject to the direction of another is somewhat of a dead thing. A man has free choice to the extent that he is rational. (St. Thomas Aquinas)

Topics Next Class! Databases and SQL Readings for Next week @ infoport From course package Norman, G.R. and D.L. Streinrt [2000]. Biostatistics: The Bare Essentials. Chapters 1-3 (pages 109-134) OPTIONAL: Chapter 4 (pages 135-140) Chapter 13 (pages 151-159) Chapter 5 (pages 141-144) Von Baeyer, H.C. [2004]. Information: The New Language of Science. Harvard University Press. Chapter 10 (pages 13-17)) Igor Aleksander, "Understanding Information Bit by Bit" Pages 157-166 Lab 9: Data analysis with Excel (linear regression)