Tag: statistics

  • Making Sense of Our Big Data World: Measurement Scales

    Making Sense of Our Big Data World: Measurement Scales

    As part of my series on Making Sense of Our Big Data World, today’s post is on measurement scales. See the overview, Making Sense of Our Big Data World: Statistics for the 99%, to understand the importance and value of understanding statistics and statistical thinking.

    We live in a world in which we are quantifying nearly everything. we measure different things and then apply analytics to the numbers to make sense of them. Consider Facebook likes, number of tweets, customer satisfaction and customer loyalty, to name a few things businesses measure and try to understand and predict.

    Measurement involves the process of assigning a formal number system to some characteristics of objects or events. The numbers represent the different levels of the characteristic we are measuring. Measurement scales are the means by which we assign the number to the object or entity, and this number represents something about that object or entity that interest us.

    Stevens (1951)¹ divided measurement scales into four types: nominal, ordinal, interval, and ratio. The degree to which these scales differ is reflected in the degree to which arithmetic operations make sense with the values of the scales as well as the types of statistical analyses that can be done using the values.

    Nominal Scale

    A nominal scale categorizes or labels objects. The scale or numbers you use to describe the objects are mutually exclusive; that is, numbers on the nominal scale reflect only that the objects are different from one another. For example, we might use a nominal scale to categorize smartphone manufacturers.

    • Apple is assigned a 1.
    • Samsung is assigned a 2.
    • HTC is assigned a 3.

    We may also use a nominal scale to label a set of stores.

    • Bob’s Barn is assigned a 1.
    • Theresa’s Tent is assigned a 2.
    • Stephen’s Store is assigned a 3.
    • Marissa’s Mall is assigned a 4.

    The only arithmetic operations that can be used on a nominal scale are the equality and inequality operations. For example, within our present store categorization system, a Stephen’s Store (3) is the same as another Stephen’s Store (3). Also 1 ≠ 2 indicates that a Bob’s Barn is not the same as a Theresa’s Tent. Some operations that would not make sense are addition and subtraction. For example, a Stephen’s Store (3) minus a Theresa’s Tent (2) would not equal a Bob’s Barn (1).

    Because the values on the nominal scale represent categories, they can also be identified by different symbols, such as letters of the alphabet. For example, a Bob’s Barn might be labeled an “A,” a Theresa’s Tent as “B,” a Stephen’s Store as “C,” and a Marissa’s Mall as “D.”

    Ordinal Scale

    An ordinal scale uses numbers to order objects with respect to some characteristic. For example, we can place customers in order according to their satisfaction level. If person A is more satisfied than person B, and person B is more satisfied than person C, then person A is more satisfied than person C. Using an ordinal scale, we may assign a number to each of these people and rank them from least satisfied (person C) to most satisfied (person A). The numbers corresponding to this satisfaction ordinal scale could be:

    • Person C is a 1.
    • Person B is a 2.
    • Person A is a 3.

    Let’s look at some arithmetic operations applied to ordinal scales. Equality/inequality operations can be applied to ordinal scales. For example, in an equality/inequality operation, we can say that person C (l) is not equal to person A (3). We can also use the operations of less than ( < ) and greater than ( > ) on ordinal scales. Statements such as 3 > 2 and 1 < 3 make sense, indicating that person A is more satisfied than person B and person C is less satisfied than person A, respectively.

    Another example of ordinal scales is reflected in the ranking of companies on some variable. For example, in studying a wide variety of companies, a research firm may assess the satisfaction level of its customers. In a final report, the research firm ranks the companies from highest to lowest in terms of its customers’ overall satisfaction level. Suppose the study included five companies. The company with the highest average score on the customer satisfaction questionnaire would be ranked 1; the company with the second highest score would be ranked 2; and so forth: Company A is a 5. Company B is a 4. Company C is a 3. Company D is a 2. Company E is a 1.

    Although ordinal scales allow us to order objects, they do not allow us to determine the distance between the objects with respect to the characteristic being measured. For the example of ranking customers with respect to their satisfaction, we know the order of the people but do not know how much more satisfied one person is relative to another. Also, ranking the companies does not tell us how much more satisfied company E’s customers are compared to customers of other companies. This inability to determine differences between objects relates to the ordinal scale’s lack of a unit of measurement.

    Interval Scale

    An interval scale orders things so that differences between scale values are equal, because the interval scale has a unit of measurement. One example is the Fahrenheit scale.
    We can use more arithmetic operations with interval scale values. In addition to the equality/inequality and ordering operations, we can perform subtraction. For example, the difference between 50°F and 40°F equals the difference between 120°F and 110°F.

    Attitude questionnaires are assumed to possess the features of an interval scale. If this assumption is true, we can perform useful arithmetic operations with the data from such questionnaires.

    Ratio Scale

    A ratio scale is similar to the interval scale in that it possesses a unit of measurement. The ratio scale has one additional feature: a meaningful zero point. An example of a ratio scale is the measurement of length. Another example is the measurement of time.

    All arithmetic operations are meaningful for the ratio scale. This includes equality/inequality, ordering, subtraction, addition, and division.

    Descriptive Statistics and Statistical Analyses

    Measurement Scales
    Table 1. Measurement Scales

    Big Data is less about the data itself and more about what you do with the data. The application of statistics and statistical principles on the data helps you extract the information it contains. To summarize your data, you can calculate descriptive statistics of different metrics to understand the shape and form of the distributions (e.g., mode, median, mean, standard deviation). Also, to uncover relationships among different metrics, you can apply statistical analyses on your metrics (e.g., regression, factor analysis). The descriptive statistics and statistical analyses you are able to use on your data depends on measurement scales that describe those data. Table 1 contains information about the types of descriptive statistics and statistical analyses you can use for each type of measurement scale.

    Summary

    Your business data contain a variety of metrics, each representing a particular characteristic of an object or entity (e.g., customer, transaction). To make sense of these metrics, you need to understand the types of measurement scales that are used to represent each metric.

    There are four types of measurement scales, nominal, ordinal, interval and ratio. Variables that represent the nominal scale include any type of variable that can be grouped into mutually exclusive groups: customer name, customer marital status, store location, etc. Variables that represent the ordinal scale include any type of variable that can be ordered in some manner. Variables that are described using the interval measurement scale represent things where the differences between scale values are equal. The types of descriptive statistics and statistical analyses you can perform on your data depends on the types of measurement scales you are using.

    ¹ S.S. Stevens (1951): “Mathematics, measurement, and psychophysics.” In S.S. Stevens (ed.): Handbook of experimental psychology. New York: Wiley

    This article originally appeared on CustomerThink.

  • Making Sense of Our Big Data World: Statistics for the 99%

    Making Sense of Our Big Data World: Statistics for the 99%

    Our world of Big Data is defined by the quantification of everything. In order to make sense of all the data around us, we need to understand statistics and statistical thinking. Statistics, after all, is the language of data. As I’ve discussed before, knowledge of statistics is not only needed by data workers (i.e., the rare data scientists) whose job is to dive deep into the data to uncover new insights, but also by data users (i.e., the 99%) who are given the statistical/analytical results from the data scientists. The value of our highly quantified world is limited by the number of people who understand statistics.

    Below is a TED talk by mathematics professor Arthur Benjamin, a big proponent of statistics. In the talk, he says that, while calculus is important, “all of our students, every high school graduate should know — should be statistics: probability and statistics.”

    You don’t need a PhD in statistics or research methodology to appreciate the value of data or to interpret the data and results you are given. There are different ways you can learn about statistics. Different educators offer online courses on statistics. Udacity offers three free courses: Intro to Statistics, Intro to Descriptive Statistics and Intro to Inferential Statistics. edX offers free statistics courses based on classes taught at UC Berkley. Udemy offers several inexpensive course on statistics. In my upcoming posts, I will cover a variety of topics regarding basic statistics and statistical thinking that will be designed to give the data novice (i.e., the 99%) a basic foundation of statistics and related topics to help them make better use of data and reports. Topics will include measurement scales, decision-making and probabilistic thinking (long run vs. short run), sampling error, biases, spurious correlations, false positives, hypothesis testing and significance testing, to name a few.

    By understanding these basic statistical concepts, you will be better equipped to ask important questions about the analytics-derived insights you are given by others. These questions help you think more critically about the conclusions of data-driven reports. These questions include:

    • Who sponsored the analytic study? Why was the analysis pursued?
    • What were the goals of the analysis? Did you have hypotheses about what you might find before you did the analysis? Were they supported?
    • What is the source of the data? Was the data collected for the purposes of this study or was existing data used?
    • What is being measured? What are the definitions of each metric?
    • What statistical tests were used?

    It’s necessary to be skeptical of any results you are given. The knowledge of statistics and statistical thinking will help you be critical when evaluating the merits of projects and reports that involve analytics of any sort.

    I will be providing links to the articles below.

  • One Thing You Need To Know About Statistics. Maybe Two

    The International Year of Statistics (Statistics2013)In my professional work, I use statistics to help businesses make sense of their data. By applying statistics to their wide array of business data, senior executives can gain deep insight about actions they can take to drive their business forward. Apart from this narrow application of statistics, I am a big believer that understanding statistics and statistical concepts provides great value to all aspects of society, including politics, biology, chemistry and psychology to name a few. Generally speaking, in each area, statistics are applied to their unique data sets to understand how the world really works. With the explosive interest in the area of Big Data, the application of statistics to our lives continues to grow. The bottom line: People who understand statistics and how it can separate the signal from the noise of their data will be able to make better decisions.

    It Is All About Sampling Error

    We rarely (never) have access to the entire population of things which interest us. Instead, we rely on measuring a sample of that population to make conclusions about the entire population. The use of statistics helps you understand if the observations you see in your sample likely reflect what you would see in the population.

    One thing that you need to know about statistics is the notion of sampling error. Sampling error reflects the difference of the sample of data from the population of data from which that sample was drawn.  That is, when samples are used to estimate the population, you need to consider errors in estimating the population. Because the sample is only a subset of the population, our estimation includes error due to the mere fact that the sample is only a portion of the population. A good example of this notion occurred recently in the 2012 US Presidential election. Nate Silver, using publicly available polling data (with sample sizes of around 1000, each) correctly predicted the outcome of the presidential election for each state!

    The Statistics Knowledge Gap

    United States faces a huge knowledge gap to fill jobs that will be driven by the new, data-driven economy. McKinsey and Company estimates that the US faces of huge shortage of people who have the skills to understand and make decisions based on the analysis of big data, suggesting that the unmet need for data scientists is a problem for emerging fields like Big Data and undercuts the value of Big Data. In addition, because the US students rank 31st in math and 23rd in science compared to the rest of the world, there is no better time to start educating US students on statistics to help fill that shortage.

    The International Year of Statistics 2013

    Here is another thing you need to know about statistics. I came across a blog post the other day at AllAnalytics where I learned that 2013 is the International Year of Statistics. Also referred to as Statistics2013 (www.statistics2013.org), this international event is supported by over 1400 organizations.  Their hope is to improve the value of statistics in the eyes of the world by showing how statistics “improves the quality of your life and greatly advances our global society.” Practically speaking, this site contains different resources for those people who want to learn about statistics, teach statistics or are looking to make a career in the field of statistics. For these resources and others, I recommend a visit to the site for those who want to whet their appetite about statistics.

  • The Pitfalls of Using Predictive Models

    I joined my friend’s fantasy football league this past season. I was skeptical to join at first. My friend’s league had been together for 7 years, each participant with deep knowledge about nearly all the NFL players and the game. I, on the other hand, have not followed NFL football for nearly 20 years and had only a superficial knowledge of only the popular NFL players. Given my lack of knowledge, I thought that I could use predictive modeling to help me pick my fantasy team during the draft.

    Predictive Modeling

    Predictive modeling is a process by which a statistical model is chosen to best predict the probability of an outcome. The use of predictive modeling was illustrated in the excellent movie, Moneyball, in which Billy Beane, the manager of the Oakland Athletics used predictive modeling to select the players for his team. Working under a limited budget compared to other teams in the league, his predictive model identified baseball players who were undervalued by the other teams yet were predicted to get runs/points. Those would be the players he selected. As a measure of Billy Beane’s success, the Athletics, in 2006, were ranked 24th of 30 major league teams in player salaries but had the 5th-best regular-season record.

    We used Yahoo!’s Fantasy Football service as the platform for our league. The site provide a predicted overall score (the total score expected across the entire regular season) for each NFL player. I used this predicted score as the basis for my draft selection, selecting the top player (most points in his position) each time it was my turn in the draft. I continued to use Yahoo!’s predictions each week when selecting my team lineup for that week’s games.

    My Performance

    Our league included 12 teams. Out of 12, I came in last place. No matter what metric of performance we used to rank the teams at the end of the season, my team was the worst. My team had the lowest Win/Loss ratio. My team scored the fewest points. My team gave up the most points. Although I did not expect to win the league, I did not expect to get last place. Where did I go wrong? Here are two reasons that could explain my poor performance.

    1. The Model Provides Poor Predictions

    The value of a predictive model is measured by how well it predicts an outcome. I did (do) not know how well Yahoo!’s model predicts actual total scores (but something I am going to calculate next season). It is quite possible that the correlation between predicted and actual end-0f-season point totals is low. Even if this correlation was non-zero, the model still may not provide much forecasting power on which to base player selection decisions. Even a correlation of .50 (rather good for predicting any type of behavior) means that you can only explain 25% of the variance in end-of-season points. Perhaps my use of Yahoo!’s predicted scores did not help me select the best players because they were simply not good at predicting actual end-of-season scores.

    Yahoo!’s predictions of player’s end-of-season point totals is offered with no additional background information about what variables they use or how those variables are combined to make their predictions. Information about how the model was built (subjectively, statistically, both) would help users evaluate the quality of the model. Were the selection and weighting of variables chosen to maximize the predictive power? Were key player variables excluded (under-specified model) in the development of the predictive model?

    2. I Lack Content Knowledge

    My lack of knowledge about the NFL players could have impacted my performance in two ways: 1) by  limiting my ability to use Yahoo!’s predictions correctly; 2) by limiting my ability to augment Yahoo!’s model with unique, nuanced information about players/games. As I continue to play fantasy football, I expect my performance will improve based solely on the information I learn through watching games.

    Predictive Modeling and Customer Experience Management

    We use predictive modeling in customer experience management (CEM) to describe the likelihood that customers will engage in certain types of loyalty behaviors (e.g., advocate, open up more of their wallet, stay for a long time). Specifically, using CEM-related data, we create models to predict the level of customer loyalty given different types of interactions with and different levels of satisfaction with the customer experience. We know that both attitudinal and operational metrics impact customer loyalty. A predictive model of customer loyalty that includes important variables maximizes the value (predictive power) of your model.  These predictive models are used to create different what/if scenarios to understand how improvements across different touch points will impact customer loyalty.

    Summary

    When executives make decisions about how to improve customer loyalty, they rely on many sources of information, including personal knowledge, past experiences of similar situations and even predictive models of expected performance. While I admit to relying on the use of  statistical modeling in my decision-making process, I showed how my sole reliance on this type of information did not lead to any success. My experience in playing fantasy football illustrated the importance of:

    1. Knowing how well the model predicts the outcome of interest. How well does your predictive model explain customer loyalty?
    2. Knowing the variables in the model. Does the model include a comprehensive list of variables to predict the outcome? A simple list of all the variables will do. Ensure the measures used to create the model are reliable and valid. Poor metrics will limit both the predictive power of your model and the value of it to your company.
    3. Knowing how the model was developed. Was the model built on a statistical basis? If and when judgement was introduced into the model, when was it introduced?

    Bonus: Commentary on the NFL Commentators

    I watched many football games on TV over the season. I saw a lot of receivers make spectacular catches. I witnessed many running backs make unbelievable runs. Even though I reestablished my love for the sport, I, unfortunately, had to suffer through the NFL commentators’ remarks about the game, during the game.  Besides stating the obvious (e.g., “To win, they’ll have to score more points than the other team.”), the commentators might be using subliminal messaging/imagery to to attract a different segment of the viewing public. Here is my top 10 list of actual remarks made by NFL commentators this past season:

    10. They “double-teamed” him.
    9. It’s all about the penetration.
    8. He came into his own.
    7. He takes advantage of the opportunity he gets.
    6. You just ride that guy.
    5. Watch him squirt through this hole.
    4. That’s an impressive sack.
    3. That guy’s got really good ball skills.
    2. You cannot advance a muff.
    1. Comes right up the A gap.

    Go local sports team!!!!