Probability, Games & Sentiment Analysis

Slides:



Advertisements
Similar presentations
Algebra 1 Ch 2.8 – Probability & Odds.
Advertisements

Management 3 Quantitative Analysis Winter 2015 Expected Value.
Math notebook, pencil, and possibly calculator. Definitions  An outcome is the result of a single trial of an experiment.  The sample space of an experiment.
Probability & Counting Rules Chapter 4 Created by Laura Ralston Revised by Brent Griffin.
DETERMINE IF AN EVENT IS INDEPENDENT OR DEPENDENT.
Section 16.1: Basic Principles of Probability
1 Discrete Structures & Algorithms Discrete Probability.
Binomial & Geometric Random Variables
Great Theoretical Ideas in Computer Science.
What is the probability that it will snow on Christmas day in Huntingdon?
Independence and Dependence 1 Krishna.V.Palem Kenneth and Audrey Kennedy Professor of Computing Department of Computer Science, Rice University.
C4, L1, S1 Probabilities and Proportions. C4, L1, S2 I am offered two lotto cards: –Card 1: has numbers –Card 2: has numbers Which card should I take.
Algebra 1 Probability & Odds. Objective  Students will find the probability of an event and the odds of an event.
Objective Probabilities
Copyright © Cengage Learning. All rights reserved. CHAPTER 9 COUNTING AND PROBABILITY.
Section 7.1. Section Summary Finite Probability Probabilities of Complements and Unions of Events Probabilistic Reasoning.
Outline Random processes Random variables Probability histograms
Copyright © 2011 Pearson Education, Inc. Probability: Living with the Odds Discussion Paragraph 7B 1 web 59. Lottery Chances 60. HIV Probabilities 1 world.
Probability Post-Class Activity. Review of class Empirical probability – based on observed data. Theoretical probability – based on a model of the experiment.
Chapter 9 Review. 1. Give the probability of each outcome.
Expected Value.
Probability WebQuest. Introduction "Heads, you go first; tails, I do." "I need to roll a seven to win." "If I can spin and land on a green slot the jackpot.
L56 – Discrete Random Variables, Distributions & Expected Values
Introduction Lecture 25 Section 6.1 Wed, Mar 22, 2006.
Introduction to Probability – Experimental Probability.
Great Theoretical Ideas in Computer Science for Some.
Middle Tennessee State University ©2013, MTStatPAL.
6.3 Binomial and Geometric Random Variables
Expected Value and Fair Game S-MD.6 (+) Use probabilities to make fair decisions (e.g., drawing by lots, using a random number generator). S-MD.7 (+) Analyze.
Copyright © 2011 Pearson Education, Inc. Probability: Living with the Odds Discussion Paragraph 7B 1 web 59. Lottery Chances 60. HIV Probabilities 1 world.
PROBABILITY DISTRIBUTIONS DISCRETE RANDOM VARIABLES OUTCOMES & EVENTS Mrs. Aldous & Mr. Thauvette IB DP SL Mathematics.
The Law of Averages. What does the law of average say? We know that, from the definition of probability, in the long run the frequency of some event will.
PROBABILITY! Let’s learn about probability and chance!
Great Theoretical Ideas in Computer Science.
Probability What do you think probability means? ◦Write down a definition based on what you already know ◦Use the word probability in a sentence.
Essential Ideas for The Nature of Probability
Introduction to Discrete Probability
PROBABILLITY Transition Math.
Probability Fun For Grade 4, 5 and 6.
Probability Imagine tossing two coins and observing whether 0, 1, or 2 heads are obtained. It would be natural to guess that each of these events occurs.
Starter   In a certain game show, a contestant is presented with three doors. Behind one of the doors is an expensive prize; behind the others are goats.
Copyright © Cengage Learning. All rights reserved.
Introduction to Discrete Mathematics
Meaning of Probability
(Single and combined Events)
Game Theory “How to Win the Game!”.
Probability Today you will need …… Orange Books Calculator Pen Ruler
CHAPTER 6 Random Variables
Discrete Probability Chapter 7 With Question/Answer Animations
Probability of casino games
Chapter 5 Probability.
Probability: Living with the Odds
6.3 Probabilities with Large Numbers
Expected Value.
PROBABILITY RULES. PROBABILITY RULES CHANCE IS ALL AROUND YOU…. YOU AND YOUR FRIEND PLAY ROCK-PAPER-SCISSORS TO DETERMINE WHO GETS THE LAST SLICE.
Probability Union Intersection Complement
Probabilities and Proportions
Title of session For Event Plus Presenters 12/5/2018.
Expected Value.
Probability “What will Be?”.
Warm Up 1) A t-shirt company makes shirts in sizes S, M, L, XL and XXL and in the colors chartreuse, burgundy, fuchsia and mauve. How many different types.
The Monty Hall Game PLAY Teacher’s Notes.
Let’s learn about probability and chance!
Expected Value.
Probability Rules.
Warm Up – 5/7 - Wednesday A single bag contains 4 red and 3 yellow discs. Two discs are pulled from the bag and not replaced. A) Draw a tree diagram modeling.
Statistics and Probability-Part 5
Probability Today you will need …… Orange Books Calculator Pen Ruler
Probability – Experimental & Expectation – Activity A
Probability Carnival NEW TEAMS!!!.
Presentation transcript:

Probability, Games & Sentiment Analysis NATURE Sunday Academy Ravi Kiran Yellavajjala North Dakota State University

Contents Objectives and Learning Outcomes Probability Monty Hall Game Obj.s & Outcomes | Probability | Monty Hall Game | Gambler’s Fallacy | Sentiment Analysis Contents Objectives and Learning Outcomes Probability Definition Activity-1: Coin flipping experiment Activity-2: Rolling dice experiments Activity-3: Rolling biased dice Monty Hall Game Activity-4: Find the candy bag game Explanation Gambler’s Fallacy Activity-5: Roulette game Explanation: how casinos make money and mistakes while betting Sentiment Analysis Activity-6: analyze online reviews Activity-7: building online word clouds

Objectives and Learning Outcomes Obj.s & Outcomes | Probability | Monty Hall Game | Gambler’s Fallacy | Sentiment Analysis Objectives and Learning Outcomes Objectives: Introduce probability and use this concept to understand Monty Hall game and Roulette. Introduce sentiment analysis and use this concept to understand online reviews. Learning Outcomes: The participants will be able to use probability concepts in games and gambling. The participants will be able to make better decisions based on the information they get from online resources.

P(E)- probability of an event ‘E’ Obj.s & Outcomes | Probability | Monty Hall Game | Gambler’s Fallacy | Sentiment Analysis Probability Definition: Probability is the measure of the likelihood that an event will occur. Mathematical definition: Probability of an event ranges between ‘0’ and ‘1’. Higher probability means that the event is highly likely. P(E)= # of possibilities that meet a condition # of equally likely possibilities P(E)- probability of an event ‘E’ Note: P(E)≥𝟎

Probability Activity-1: Coin Flipping Obj.s & Outcomes | Probability | Monty Hall Game | Gambler’s Fallacy | Sentiment Analysis Probability Activity-1: Coin Flipping Flipping a quarter (5 mins): Find a neighbor One of you will flip the quarter 100 times The other one will count the number of heads and tails Report the number of heads, number of tails Report the probability of getting heads/ tails Use worksheet-1

Probability Activity-2: Rolling Dice Obj.s & Outcomes | Probability | Monty Hall Game | Gambler’s Fallacy | Sentiment Analysis Probability Activity-2: Rolling Dice Roll a dice (10 mins): Find a neighbor One of you will roll the dice 100 times The other one will count the number of 1’s, 2’s, 3’s, 4’s, 5’s and 6’s. Report the probability of getting 1’s, 2’s, 3’s, 4’s, 5’s and 6’s. Use worksheet-2. Now test your skills on a this new dice (10 mins) Use worksheet-3

Obj.s & Outcomes | Probability | Monty Hall Game | Gambler’s Fallacy | Sentiment Analysis One of the three gift boxes has a candy bag/ gold coin and the other two boxes are empty. Guess the right box to win the candy bag/ gold coin. After you choose your box, I will reveal one empty box out of the other two boxes. You can flip your choice after I reveal the empty box. (30 mins)

Monty Hall Game (contd.) Now play this game yourself Find a neighbor to play this game One of you will play the role of host and the other one is the player The host will hide a gold coin below one of the three cups Host will ask the guest to guess the cup with gold coin The host will then reveal a cup other than the cup chosen by the player that does not have the gold coin The player can either stay with their initial choice or switch their choice Use worksheet-4 to record the options made by the player and the final outcome of the game. Repeat this game at least 10 times Did you observe a trend?

Monty Hall Game: Explanation Obj.s & Outcomes | Probability | Monty Hall Game | Gambler’s Fallacy | Sentiment Analysis Monty Hall Game: Explanation Why Flipping helped you win? (use probability) S 1st choice box Box with candy Open box without candy Stay with choice Switch choice Box-1 2 or 3 Win Loose Box-2 Box-3 No switching – probability – ___/9 Switching – probability – ___/9

Let’s play Roulette Wheel Obj.s & Outcomes | Probability | Monty Hall Game | Gambler’s Fallacy | Sentiment Analysis Let’s play Roulette Wheel (45 mins) Option-1: Straight Up bet Bet on a single number Option-2: Bet on black/ red Everyone gets 5 chances to play. You can choose either option-1 or 2 You will play with me with the fake currency you were given.

How Can Casinos Make Money Obj.s & Outcomes | Probability | Monty Hall Game | Gambler’s Fallacy | Sentiment Analysis How Can Casinos Make Money Straight Up Bet Number of possibilities – 38; 𝛀={𝟎,𝟎𝟎,…….𝟑𝟔} For example if you choose a number, say K and bet $1 on it 𝒑𝒓𝒐𝒇𝒊𝒕= −$𝟏;𝒊𝒇 𝒏𝒖𝒎𝒃𝒆𝒓≠𝑲 $𝟑𝟓;𝒊𝒇 𝒏𝒖𝒎𝒃𝒆𝒓=𝑲 For instance, if you play roulette 38 times and assuming that each outcome is equally likely You will loose 37 times and win 1 time. That is you will win $35 and loose $37. If you play 380 times, casino earns at least $20

How Can Casinos Make Money Obj.s & Outcomes | Probability | Monty Hall Game | Gambler’s Fallacy | Sentiment Analysis How Can Casinos Make Money Bet on Black/ Red Number of possibilities – 18 – black; 18 – red. For example if you choose black, and bet $1 on it 𝒑𝒓𝒐𝒇𝒊𝒕= −$𝟏;𝒊𝒇 𝒄𝒐𝒍𝒐𝒓≠𝒃𝒍𝒂𝒄𝒌 $𝟏;𝒊𝒇 𝒄𝒐𝒍𝒐𝒓=𝒃𝒍𝒂𝒄𝒌 For instance, if you bet on black/ red 38 times and assuming that each outcome is equally likely You will loose 20 times and win 18 times (remember the two green slots). That is you will win $18 and loose $20. If you play 380 times, casino earns at least $20

Will this strategy-1 work? Will this strategy-2 work? Obj.s & Outcomes | Probability | Monty Hall Game | Gambler’s Fallacy | Sentiment Analysis Gambler’s Fallacy Strategy-1: I saw some of you betting on numbers that did not win the bet previously thinking that their turn is due. Will this strategy-1 work? Strategy-2: I saw some of you betting on numbers won the bet previously thinking that they are lucky/ more probable. Will this strategy-2 work?

Obj.s & Outcomes | Probability | Monty Hall Game | Gambler’s Fallacy | Sentiment Analysis Do you see online reviews before you purchase a product online? Numeric ratings versus actual reviews – which is better? How can we make life easier for prospective customers/ users?

Obj.s & Outcomes | Probability | Monty Hall Game | Gambler’s Fallacy | Sentiment Analysis Review of Reviews Please go through the reviews for Iphone-7 and a restaurant. Identify the keywords used by the reviewers to describe the product, customer service, packaging and delivery. (look for adjectives) Now open https://www.wordclouds.com/ and input all the keywords and create a word cloud.

Go home and create word clouds for your family businesses/ services Obj.s & Outcomes | Probability | Monty Hall Game | Gambler’s Fallacy | Sentiment Analysis Word Cloud of my Lab Go home and create word clouds for your family businesses/ services

For more information, 701-231-8400 ndepscor@ndus.edu The 2018-2019 NATURE Sunday Academy program is supported by the National Science Foundation under NSF EPSCoR Track-1 Award OIA-1355466. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.

THANK YOU Questions?