Introduction to Computational Thinking

Slides:



Advertisements
Similar presentations
Random Sampling and Data Description
Advertisements

Sociology 690 – Data Analysis Simple Quantitative Data Analysis.
Graphic representations in statistics (part II). Statistics graph Data recorded in surveys are displayed by a statistical graph. There are some specific.
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 2-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
Statistics for Decision Making Descriptive Statistics QM Fall 2003 Instructor: John Seydel, Ph.D.
Chapter 13 Introduction to Linear Regression and Correlation Analysis
Chapter 2 Graphs, Charts, and Tables – Describing Your Data
Chapter 2 Describing Data Sets
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 13 Introduction to Linear Regression and Correlation Analysis.
Business 90: Business Statistics
Retrieval Evaluation. Introduction Evaluation of implementations in computer science often is in terms of time and space complexity. With large document.
Descriptive statistics (Part I)
Slide 1 Copyright © 2015, 2011, 2008 Pearson Education, Inc. Reading Pictographs, Bar Graphs, Histograms, and Line Graphs Section8.1.
Hydrologic Statistics
How to Analyze Data? Aravinda Guntupalli. SPSS windows process Data window Variable view window Output window Chart editor window.
Graphical Analysis. Why Graph Data? Graphical methods Require very little training Easy to use Massive amounts of data can be presented more readily Can.
The Scientific Method Honors Biology Laboratory Skills.
Chap 12-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 12 Introduction to Linear.
Are You Smarter Than a 5 th Grader?. 1,000,000 5th Grade Topic 15th Grade Topic 24th Grade Topic 34th Grade Topic 43rd Grade Topic 53rd Grade Topic 62nd.
Graphs An Introduction. What is a graph?  A graph is a visual representation of a relationship between, but not restricted to, two variables.  A graph.
Chapter 21 Basic Statistics.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 2-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
1 STAT 500 – Statistics for Managers STAT 500 Statistics for Managers.
The Statistical Analysis of Data. Outline I. Types of Data A. Qualitative B. Quantitative C. Independent vs Dependent variables II. Descriptive Statistics.
Statistical Methods © 2004 Prentice-Hall, Inc. Week 2-1 Week 2 Presenting Data in Tables and Charts Statistical Methods.
Chap 2-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course in Business Statistics 4 th Edition Chapter 2 Graphs, Charts, and Tables.
1.1 example these are prices for Internet service packages find the mean, median and mode determine what type of data this is create a suitable frequency.
September 18-19, 2006 – Denver, Colorado Sponsored by the U.S. Department of Housing and Urban Development Conducting and interpreting multivariate analyses.
© Copyright McGraw-Hill CHAPTER 2 Frequency Distributions and Graphs.
MDH Chapter 1EGR 252 Fall 2015 Slide 1 Probability and Statistics for Engineers  Descriptive Statistics  Measures of Central Tendency  Measures of Variability.
Displaying the Observed Distribution of Quantitative Variables Histogram –Divide the range of the variable into equally spaced intervals - called bins.
ANNOUCEMENTS 9/3/2015 – NO CLASS 11/3/2015 – LECTURE BY PROF.IR.AYOB KATIMON – 2.30 – 4 PM – DKD 5 13/3/2015 – SUBMISSION OF CHAPTER 1,2 & 3.
MGT-491 QUANTITATIVE ANALYSIS AND RESEARCH FOR MANAGEMENT OSMAN BIN SAIF Session 18.
Types of Graphs And when to use them!.
Plotting in Excel KY San Jose State University Engineering 10.
Chapter 13 Simple Linear Regression
Charts & Graphs CTEC V
MATH-138 Elementary Statistics
University of Houston-Downtown
Introduction to Computational Thinking
Introduction to Computational Thinking
Describing Distributions Numerically
Frequency Distributions and Graphs
Probability and Statistics for Engineers
Introduction to Computational Thinking
Exploring Computer Science Lesson 5-9
EXPLORING descriptions of SPREAD Math 6 Plus Unit 13
PCB 3043L - General Ecology Data Analysis.
Charts and Graphs V
EXPLORING descriptions of SPREAD UNIT 13
QM222 A1 Visualizing data using Excel graphs
Introduction to Computational Thinking
STATS DAY First a few review questions.
Probability and Statistics for Engineers
Edexcel: Large Data Set Activities
Module 8 Statistical Reasoning in Everyday Life
Chapter 6.4 Box and Whisker Plots
Histograms: Earthquake Magnitudes
Probability and Statistics for Engineers
Mean Absolute Deviation
Welcome!.
Probability and Statistics for Engineers
Constructing and Interpreting Visual Displays of Data
EXPLORING descriptions of SPREAD Math6-UNIT 10
Probability and Statistics for Engineers
Charts A chart is a graphic or visual representation of data
Day 57 Outliers.
Chapter 6.4 Box and Whisker Plots
EXPLORING descriptions of SPREAD
Presentation transcript:

Introduction to Computational Thinking Lists and Visualization (C) Dennis Kafura 2016

Layers of Abstraction Place Report Date . . . Temperature Humidity Wind 76 55 18 City State Zip Blacksburg VA 24061 Month Day Year Time May 20 2015 Hour Min Sec 11 32 52 (C) Dennis Kafura 2016

Demonstration Mapping the earthquakes data stream Using Spyder’s variable explorer Note: if quakes is a list then quakes[0] refers to the first element of the list (C) Dennis Kafura 2016

Mapping diagram (C) Dennis Kafura 2016

Creating a list: example import earthquakes # get all the reports of earthquakes of the current day quakes = earthquakes.get_report('day', 'all') quake_list = quakes[“earthquakes”] #create an empty list significance_list = [] for quake in quakes_list: # add the significance of the next earthquake to the list significance_list.append(quake["significance"]) (C) Dennis Kafura 2016

Functions in 3 easy steps Step 1: functions have names show() # show the visualization Step 2: functions may have parameters plot(data) # plot the list data Step 3: functions may return a value val = sqrt(number) # square root Notes The user documentation tells you what a function does and what you need to use it You do not need to know how a function is implemented to use it (and you often don’t care) Reusing functions is a highly valued professional practice (C) Dennis Kafura 2016

Four simple visualizations Name Function Name Typical Usage Line plot plot(x) Change of x over time Scatter plot scatter(x,y) Relation between x and y Histogram hist(x) Distribution over range of x Bar chart bar(x, y) Comparison (height of y) over categories of x Simple statistical measures: mean (average) range (min-max) median (middle value) More complex statistical measures: regressions ….. (C) Dennis Kafura 2016

Line plot visualizations Question: What is the variation in earthquake intensity? import earthquakes # get all the reports of earthquakes of the current day quakes = earthquakes.get_report('day', 'all') quake_list = quakes[“earthquakes”] #create an empty list significance_list = [] for quake in quakes_list: # add the significance of the next earthquake to the list significance_list.append(quake["significance"]) plt.plot(significance_list) plt.show() Click to save (C) Dennis Kafura 2016

First, a word about the Project Component Content Abstraction What does this data represent in the real world? Questions What questions are answered by the analysis? Limitations What constrains the conclusions that can be draw from this data? Program Development How is the program organized? Visualizations What graphical representations are made from the data to help in the analysis? Conclusions How does the data analysis answer the questions? Social Impacts Who is affected by these conclusions? And how? An example is shown in Chapter 7 (C) Dennis Kafura 2016

Types of questions Analysis Questions Constructive Questions Characterization questions What is the distribution of ... ? What categories of values are there for ...? What is the range of ...? How much variation is there in ...? What is the likelihood of ...? The proportion falling into a given category is ... ? Relationship questions How is factor x related to factor y? How are factors x, y, and z related? How does factor x change over time? Is there a trend in the data? How is factor x distributed over space? Constructive Questions Selection Questions What is the best match to ... ? Are there multiple occurrences of ... ? Are there distinctive categories of ...? Capability questions Is it possible for...? Under what circumstances will ...? (C) Dennis Kafura 2016

Rubric-based evaluation Required Element Missing Poor Good Excellent The presenter explained the questions to be answered and their importance.   The presenter explained the role of abstraction in defining the information properties relevant to the project’s questions. The presenter explained the limitations of the available data in answering the questions. The presenter explained the structure of the data. The presenter explained the meaning of the visualizations used to answer the questions. The presenter explained the answers to the questions based on the visualizations. The presenter explained the social implications of the project. The presenter communicated effectively. See description in 7.2) Project - Overview (C) Dennis Kafura 2016

Next Steps Work as usual to complete the classwork for today Homework gives you more practice with these ideas (C) Dennis Kafura 2016