480 likes | 918 Views
Statistics and Data Analysis. Professor William Greene Stern School of Business IOMS Department Department of Economics. Statistics and Data Analysis. Part 1 – Data Presentation Telling the story statistically. Samples are surprisingly small. > 1010 Observations > Telephone sample
E N D
Statistics and Data Analysis Professor William Greene Stern School of Business IOMS Department Department of Economics
Statistics and Data Analysis Part 1 – DataPresentation Telling the story statistically
Samples are surprisingly small > 1010 Observations > Telephone sample > Sampling error
What Does it Mean? Slightly more than one-third of Americans have a favorable opinion of the Democratic-led Congress, a poll said Wednesday. The Pew Research Center for the People & the Press said the 37% expressing a positive opinion represents a decline of 13 points since April. The favorable percentage is one of the lowest in more than two decades of Pew surveys – if not the lowest, the poll said. The previous low was 40% in January, but the result is not statistically significant because of the margin of error. (USA Today) We will develop the idea of the “margin of error” and how it is computed.
Really? The following was taken from http://www.msnbc.msn.com/id/27339545/ An msnbc.com guide to presidential polls Why results, samples and methodology vary from survey to survey WASHINGTON - A poll is a small sample of some larger number, an estimate of something about that larger number. For instance, what percentage of people reports that they will cast their ballots for a particular candidate in an election? A sample reflects the larger number from which it is drawn. Let’s say you had a perfectly mixed barrel of 1,000 tennis balls, of which 700 are white and 300 orange. You do your sample by scooping up just 50 of those tennis balls. If your barrel was perfectly mixed, you wouldn’t need to count all 1,000 tennis balls — your sample would tell you that 30 percent of the balls were orange. Your sample might tell you that approximately 30 percent of the balls were orange.
The Visual Data Do Tell the Story:Napoleon’s March to and from Moscow
Informative Data Table Life Expectancy: Highest 15 Countries, 2010 Disability Adjusted Life Expectancy 40
Probability of Survival to Age 50, Female at BirthU.S. and 20 Other Wealthy Countries It is possible to be misled by a presentation such as this one. Note the vertical axis. What does this graph tell you? What do the probabilities mean? Are the differences meaningful?
Does living longer make people happier? Or do people live longer because they are happier?
Does the Picture Tell the Story? This is the only graphic in the article. The article compares default rates on VA vs. FHA mortgages. Is there anything wrong with this picture? The very technical looking graph/table is unrelated to the article. New York Times, Page RE1, July 24, 2014
Data Presentation Agenda • Data Types: Cross Section and Time Series • Summarizing Data Graphically • Pie chart, bar chart • Box plot, histogram • Summarizing Data with Descriptive Statistics • Central tendency • Spread • Distribution (shape)
Data = A Set of FactsA picture of some aspect of the world Pizza Sales by Type What do the data tell you? How can you use the information? What additional information would make these data (more) informative?
Data Types and Measurement • Quantitative • Discrete = count: Number of car accidents by city by time • Continuous = quantitative measurement: Housing prices • Qualitative • Categorical: Shopping mall, car brand, trip mode • Ordinal: Survey data on attitudes; “How do you feel about…?” Strongly disagree Disagree Neutral Agree Strongly agree Moody’s bond ratings: Aaa, Aa, A, Bbb, Bb, B, and so on. • Frameworks • Cross section • Time series
Unordered Qualitative DataTravel Mode Between Sydney and Melbourne by 210 Travelers
Ordered Qualitative DataGerman Health Satisfaction Survey; 27,326 individuals. On a scale from 0 to 10, how do you feel about your health?
Aggregated Data May Be Easier to Understand (7-8) (4-6) (9-10) (0-3) Bad Fair Good Excellent
Ordered Qualitative Outcomes Bond Ratings Movie Ratings Arithmetic Mean may not be meaningful. (a) Ordinal measure – rankings (b) Look at that distribution!
A Problem with Ordered Survey Response Data 61 Stern Students’ Ranking of Subway Safety (1994)* Very Unsatisfactory Unsatisfactory OK Satisfactory Very Satisfactory There is no objective meaning to “3” on some standard scale.Does everyone’s “1” or “2” or “3” … mean the same thing? * Jeff Simonoff: Data Presentation and Summary, pp. 3-4
Time Series Data: Oil Price Graph is much more useful and informative than a table for time series data.
Representing Data • In raw form • Transformed to a visual form • Summarized graphically • Summarized statistically
Pie Chart vs. Frequency Table Pizza Pies Sold, by Type Same Information. Which is more useful for your audience?
Data Representation: Bar Chart vs. Pie Chart BAR CHART PIE CHART Same data. Which is easier to understand?
Table vs. Bar Chart (or both) 2013 data. Source: Bloomberg
2013 Valuation of U.S. Sports TeamsThese figures reveal a league strategy. Football Baseball
A Box Plot Describes the Distributionof Values in a Set of Data Hawaii Box and Whisker Plot for House Price Listings
Making a Box Plot for Per Capita Income Maximum=31136 3rdQuartile = 24933 Interquartile Range = IQR= 24933-21677 = 3256 Median=22610 1stQuartile = 21677 Minimum=17043
Box and Whisker Plot = extreme observations What is an outlier?Why do we believe a particular point is an outlier? Outliers Smaller of (Maximum, Median + 1.5 IQR 75th Percentile Interquartile range=IQR Median 25th Percentile Larger of (Minimum, Median – 1.5 IQR
Histogramfor House Price Listings A histogram describes the sample data and suggests the nature of the underlying data generating process. Note the “skewness” of the distribution of listings.
Distribution of House Price Listings … shows up in the box and whisker plot. Note the long whisker at the top of the figure. Asymmetry (skewness) in the histogram of listing prices…
House Price Listings and Per Capita Incomes. States. Regression and Correlation. Are these two variables correlated? r = .48 How to describe/summarize them. How to explain the variation across states How to determine if there is any correlation between the two variables.
Summary • What story does the data presentation tell? • Data in raw form tell no story. • Visual representation of data tells something about the data • The representation of the data may reveal something about the underlying process that the data measure. • What tool is most informative? • Reduction to a small number of features • Visual displays of data • Data Table – Organizing the data is often a good start. • Pie chart • Box and whisker plots • Bar charts • Histograms • Time series plots “There are lies, damned lies and statistics.” (Benjamin Disraeli)