


































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



































1. Introduction
In all our statistical work to date, we have been dealing with analyses of time-ordered data, or time series: the same variable or variables observed and measured at consecutive points of time. Usually but not necessarily, the points of time are equally spaced. Time-ordered data are very often pertinent for total quality; for example, we need to know whether our processes are in statistical control or whether they are being affected by, say, trends or special causes. We need also to evaluate the effectiveness of interventions aimed at improving our processes and to assure that we are holding the gains from effective interventions from the past.
But not all data are time-ordered. There is also a type of data called cross-sectional data, where we are dealing with information about different individuals (or aggregates such as work teams, sales territories, stores, etc.) at the same point of time or during the same time period. For example, we might have data on total accidents per worker over the course of the last calendar year for all the workers in a given plant, or we might have questionnaire data on customer satisfaction for a sample of customers last month.
There is also the possibility, to be discussed in Section 6 of this chapter, of a time series of cross sections (or, alternatively, a cross section of time series). For example, we might have monthly sales by each of 37 sales territories for the last 60 months.
We have explained and applied regression tools in the context of time-ordered data. The same tools are directly applicable to cross-sectional data. In one respect the cross-sectional regressions will be simpler: we do not need to check as to whether the data are in statistical control through time. We will not need control charts, time-series sequence plots, or runs counts. You can simply skip that part of the analysis, even though by now it has become habitual. 1
To see what can be learned from cross-sectional data, we now consider the illustration of accidents per worker. Here are some of the things we might be interested in:
(^1) However, the type of question addressed by the checks for statistical control through time has a counterpart for cross-sectional
data. In Section 5 we shall discuss briefly how to deal with it.
2. Special Causes and Pareto Analysis
When we have cross-sectional data bearing on a single variable, the time-series analyses are no longer necessary. Rather, our attention focuses on the histogram. The histogram, by its general shape and/or its apparently outlying observations, offers hints as systematic and special causes that may be affecting the data. The analysis of histograms, however, doesn't lend itself quite so easily to a systematic approach to data analysis. Even statisticians may draw more on their knack for detective work than their knowledge of statistical distributions.
The general aim can be illustrated by applications to counting data, in which the Poisson distribution is a first thought for statistical model. If the Poisson distribution is appropriate, the differences between individual measurements are attributable to "chance", and there is neither a "Pareto effect" or any way to single out special causes. This will become clearer if we examine an application to error counts by operators.
Operator Errors
The following study of operator errors gives cross-sectional data on errors in a given month by 10 operators who were keying data into a computer. Even though the data have no time ordering, it is useful, purely for display, to look at them with a c-chart. The reason is this: if all operators are equally disposed to make errors, the observed cross-sectional histogram of operator errors should be compatible with the Poisson model (see Chapter 4, Section 1). We can get a quick, if rough, check on this assumption by looking for points outside of the control limits on c-chart , which are computed on the assumption that the Poisson distribution is applicable.
Here are the notes for the data, contained in the text file OPERROR.sav:
Variables: operator : ID of operator in data processing department freq : frequency of data entry errors in December, 1987.
All 10 operators entered about the same amount of data. Source: Gitlow, Gitlow, Oppenheim, and Oppenheim, "Telling the Quality Story", QUALITY PROGRESS, Sept., 1990, 41-46.
We name the variables operator and freq as we import the file with SPSS****.
Next, we set up the c-chart as follows:
Notice that operator has been entered as the Category Axis variable. Be sure, also, to check the box for Display cumulative line.
We see that the Pareto Chart is really just a bar chart that has been arranged in a special way. It shows the “defects” from the various sources in descending order of magnitude from left to right. It also shows the cumulative percentage of the each contribution to the total number of defects. Thus we see that Operator 4 was the person who had the most accidents (19 on the left vertical axis) and that her contribution to the total was 38 percent (shown on the right vertical axis). Operator 9 was next with 17 accidents, so that Operators 4 and 9 by themselves accounted for 72 percent of the total. Pareto analysis is one of the most useful of all the elementary statistical tools of quality management. In Juran's
expression, it singles out the "vital few" problems from the "useful many", thus setting priorities for quality improvement.
For example, a manufacturer studied failures of parts and discovered that seven of a very large number of part types accounted for nearly 80 percent of warranty defects, and that three of a large number of branch locations accounted for a large percentage of warranty defects. Improvement efforts could then be concentrated on these parts and branches.
In most applications this "Pareto effect" is so strong that its statistical significance is obvious. However, checking for the assumption of a Poisson distribution, which we have just illustrated by use of c-chart in the example of Operator Errors, is useful in cases of doubt. Also, we can compare the mean and the square of the standard deviation (variance), since these two should be roughly equal if the Poisson assumption is valid.
Library Book Borrowing
The statistical approach just illustrated is widely applicable. The next application concerns book borrowing by the "customers" of a library. (It is also another example of a "lightning data set" -- the data contained in LIBRARY.sav took just a few minutes to collect during a visit to the library.) The descriptive notes are:
Number of loans of books in the Morton Arboretum Library, catalog category QK 477, as of 20 November 1993. Data collected for 26 different books. Renewals not counted, but one borrower might account for more than one loan of a given book.
After naming the variable loans , for “number of loans”, we execute Descriptive Statistics:
Note that 7.28*7.28 = 53.0 is much greater than the mean of 6.77. Hence, as is also shown by a c-chart below, the Poisson assumption is not tenable: some books are borrowed significantly more frequently than others.
We can study histograms to look for systematic and special causes in applications other than those entailing counting data. The application below is based on percentages of flights delayed for a cross section of airlines, and we can use the normal distribution as a rough reference point for outlier search. The data are in the file AIRDELAY.sav:
Percent of airline flights reported arriving on time in October, November, and December of 1987. "On time" means within 15 minutes of schedule. From the Wall Street Journal , 9 February 1988, page 7. There are two small revisions for November as reported in the WSJ of 7 January 1988.
You see that the variables are named airline, dec87, nov87 , and oct87 as we open the data in SPSS. Then we apply Descriptive Statistics to oct87. (This time in the Descriptives… setup window check the little box labeled Save standardized values as variables .)
We are no longer working with counts so we will use a control chart to check on the behavior of the data. Remember that these are not time series data, but even when the sequence is irrelevant, the chart and its control limits can be useful in detecting outliers. We observe that Airline #10, Pacific Southwest , is right on the LCL. The histogram for Zoct gives a similar result:
Pacific Southwest is a good candidate for search for an assignable cause since its on-time performance is much worse than that of the other thirteen airlines, as is shown by the simple histogram above. If, to the contrary, all fourteen airlines had been a part of the same "system" (to use an expression of Deming), it is reasonable that we should see a histogram resembling what would be expected from a
normal distribution; or at least that we should not see such a big gap between Pacific Southwest and the other thirteen airlines.
Are there significant differences among these other thirteen? In Section 6, we shall show a methodology for approaching this question; as we shall see, it requires more data than the on-time arrivals for one single month.
Performance Differences among Baseball Teams
The SPSS data file named BASEBALL.sav contains five variables, won, lost, league, division , and city. The first two variables are the numbers of games won and lost at the time that activity ceased because of the 1994 players’ strike. The indicator variable league equals zero for the American League and one for the National League. For division the values are 1 for East, 2 for Central, and 3 for West. In the next few steps we shall look at the percentage of games won for each team. If the teams were about equal in their performances we would expect the distribution of those percentages to have the same shape and spread as a binomial distribution where the chance of winning is 0.50^2.
Before continuing, we must use Transform/Compute… to define two new variables:
total = won + lost and
pct = 100won/total*
Here is a partial glimpse of the SPSS worksheet after the transformations above:
Next consider this display of Descriptive Statistics :
We see that the average percentage of wins is close to 50 percent, and the mean number of games played by each team is about 114. If the performances of the teams differ only by chance, then we can approximate the standard deviation of pct by the formula
(^2) If this is not intuitively obvious, think of each game as a coin toss with the chance of heads equal to the chance of tails (assuming that at
each game the teams are evenly matched).
3. Simple Cross-Sectional Regressions
When we have more than a single variable in cross-sectional applications, we can use regression tools in much the same way as for time-series data, but we have to be even more cautious about causal interpretation. In this section, we consider two marketing applications to illustrate both the regression mechanics and the interpretation of results.
Sales Proposals and Sales
The first example, contained in SALEPROP.sav, entails data from a cross-sectional sample of 31 sales representatives. It leads to a simple regression analysis in which the dependent variable is sales for each sales representative and the independent variable is the number of written proposals prepared by the sales representative, each for a single month's time. Note that the data are listed by number of proposals, from low to high. There is no time sequence: there are 31 sales representatives for one single time period.
Study of the relation of sales volume and selling proposals prepared by sales representatives in geographical territories of the Chicago branch of an office supplies company during one month. "Management believed that there is a direct relationship between the number of proposals a sales representative prepares and the dollar volume of sales achieved in that month. It is therefore company policy to require each person to prepare at least eight written proposals per month." sales$ : sales in $1000. numprop : number of proposals.
Here are the results of Descriptive Statistics :
We see that mean sales for the 31 salespersons was $55,677 and the mean number of proposals written was about 13 and a half.
Next, we perform a scatter plot with sales$ on the vertical axis and numprop on the other, followed by a simple linear regression analysis:
The regression line does not appear to have a very large slope nor is R Square large. There doesn’t seem to be much of a linear relationship between sales$ and numprop.
The regression coefficient 0.430 for numprop is not even close to having a p-value that would be called significant, although it is positive. (If taken at face value, it would suggest an average increase of $430 in sales for each proposal since sales$ is expressed in units of $1000.)
We have not discussed confidence intervals since Section 14 of Chapter 2, but the concept is always useful. In this case we can add and subtract 2*0.78301 from 0.43032 to obtain approximate 95
There is just a hint of nonlinearity in this scatter plot: the small and large fitted values tend to have small residuals and intermediate fitted values tend to have large residuals. Examination of the values of ZRE_1 would show that the problem is caused by observation 31 at the lower right of the plot. A point such as 31 is sometimes referred to as an influence point because, as you can see in the scatter plots, if it were removed from the plot of sales$ on numprop , the remaining points would be more suggestive of positive correlation. (Imagine moving point 31 even lower and farther to the right-- it would really pull the regression line downwards.)
One way to explore this aspect of the data is to model the possible nonlinearity directly by introducing a new variable
numpropsq = numpropnumprop*
and to regress sales$ on both numprop and numpropsq as shown below: 3
At best, the regression shows borderline significance. The p-values for the coefficients of numprop and numpropsq are on either side of 0.05. But numprop and numpropsq are themselves highly correlated, and this makes the interpretation of the individual coefficients tricky (we'll see more of this in Section 5).
What we need is an assessment of overall significance of the regression model, which now includes two independent variables, numprop and numpropsq. As we have explained earlier, this assessment is available from the last part of the output showing sources of the sum of squared deviations. The key
(^3) As we say in Chapter 6 in connection with fitting a nonlinear time trend in the Diet application, the mathematical basis for this approach
is as follows: Y = a + bX + cX^2 is the equation a second-degree polynomial (parabola). This equation is often useful in modeling “gently curving” nonlinear relationships.
number is the p-value of 0.135 on the line for Regression. This gives a significance assessment for the whole regression model. The number 0.135 does not suggest significance, since 0.135 is substantially larger than the rule of thumb, 0.05. So at best there is only a hint of a relation between proposals and sales.
In one sense the study was disappointing: management's beliefs about the effectiveness of written proposals were not borne out. However, even if there had been a strong and positive relationship between sales and the number of written proposals, there would have been ambiguity about the causal interpretation. For example, it could have been possible that the best sales representatives were also well organized and could turn out more written proposals, yet at the same time the proposals themselves might have had little or no effect on sales.
For a cleancut causal interpretation of a regression of Y on X, we would need some assurance that the observed relation in the regression would not be substantially altered if other variables affecting sales -
However, although the study is not conclusive, its results cast some doubt on the advisability of management pressure to increase the number of written proposals. There may be other, better, routes to improved sales performance.
One circumstance that provides greater clarity of causal inference is given by randomized experimentation. Here, for example, the number of proposals to be made by each sales representative would be determined at random; remember the time-series application of randomized experimentation in Section 3 of Chapter 5.
Absent randomized experimentation, we must simply make the best judgments about causation that we can, given all our knowledge about the application.
This sales study was done many years ago; at that time the following reservations were expressed by the executive MBA student who did it:
Selling Time and Sales
Another study made nearly two decades later by another executive MBA student illustrates the same points but presents a more challenging statistical challenge. The student commented as follows about the background of his investigation:
"One of the great commandments of selling is that the more time spent selling, the more orders are landed. My experience has been with a firm that meticulously keeps track of individual selling
Note that mean sellhrs and mean sales$ are both larger for the 32 sales representatives who worked for the full year. Also make a mental note that the standard deviation of sales$ is greater for those who worked for a full year; this will have technical consequences that we shall examine later.
This scatter plot suggests a positive relation between sales$ and sellhrs , with possibly higher variance of sales$ as sellhrs increases. We see, however, that if we take fullyear into account the relationship will change considerably. We therefore make a new plot, but this time using Graphs/Interactive/Scatter Plot… with the following setup:
After we use the Chart Editor to insert the regression lines the resulting display looks like this:
The two regression lines appear to be almost parallel, but the values of R Square show that the separate linear relationships are much weaker than when the data were combined.
Notice that the variance of the residuals for the full-time sales representatives is larger, reflecting what we saw earlier with Descriptive Statistics.
The moderate skewness in the right tail of the histogram above suggests the consideration of a transformation to natural logarithms. We shall discuss this possibility a little later.
In the scatter plot above we show how the regression model fits the data. There are two horizontal regression lines formed by the solid dashes, the higher one for the full-year sales representatives.
The student's conclusions:
The first three of these conclusions are well on target. The fourth is a bit vague, but seems to be aiming in the right direction. What is meant is that skepticism about the value of proposals would be most nearly justified if the "potential" of each territory were similar; in statistical terms, variables other than numprop would have little effect on sales$. If this assumption is not tenable, then there is greater reason to believe that allowance for differences in these other variables might put the effect of proposals in a more accurate perspective.