- Shopping Bag ( 0 items )
Want a NOOK? Explore Now
In This Chapter
* Introducing statistical concepts
* Generalizing from samples to populations
* Getting into probability
* Making decisions
* Understanding important Excel fundamentals
The field of statistics is all about decision-making - decision-making based on groups of numbers. Statisticians constantly ask questions: What do the numbers tell us? What are the trends? What predictions can we make?
To answer these questions, statisticians have developed an impressive array of analytical tools. These tools help us to make sense of the mountains of data that are out there waiting for us to delve into, and to understand the numbers we generate in the course of our own work.
The Statistical (and Related) Notions You Just Have to Know
Because intensive calculation is often part and parcel of the statistician's toolset, many people have the misconception that statistics is about number crunching. Number crunching is just one small part of the path to sound decisions, however.
By shouldering the number-crunching load, software increases our speed of traveling down that path. Some software packages are specialized for statistical analysis and contain many of the tools that statisticians use. Although not marketed specifically as a statistical package, Excelprovides a number of these tools, which is the reason I wrote this book.
I said that number crunching is a small part of the path to sound decisions. The most important part is the concepts statisticians work with, and that's what I'll talk about for most of the rest of this chapter.
After that, I'll tell you about some important Excel fundamentals.
Samples and populations
On election night, TV commentators routinely predict the outcome of elections before the polls close. Most of the time they're right. How do they do that?
The trick is to interview a sample of voters after they cast their ballots. Assuming the voters tell the truth about whom they voted for, and assuming the sample truly represents the population, network analysts use the sample data to generalize to the population of voters.
This is the job of a statistician - to use the findings from a sample to make a decision about the population from which the sample comes. But sometimes those decisions don't turn out the way the numbers predicted. Flawed preelection polling led to the memorable picture of President Harry Truman holding up a copy of the Chicago Daily Tribune with the famous, but wrong, headline "Dewey Defeats Truman" after the 1948 election. Part of the statistician's job is to express how much confidence he or she has in the decision. Another election-related example speaks to the idea of confidence in a decision. Pre-election polls (again, assuming a representative sample of voters) tell you the percentage of sampled voters who prefer each candidate. The polling organization adds how accurate they believe the polls are. When you hear a newscaster say something like "accurate to within 3 percent," you're hearing a judgment about confidence.
Here's another example. Suppose you've been assigned to find the average reading speed of all fifth-grade children in the U.S., but you haven't got the time or the money to test them all. What would you do?
Your best bet is to take a sample of fifth-graders, measure their reading speeds (in words per minute), and calculate the average of the reading speeds in the sample. You can then use the sample average as an estimate of the population average.
Estimating the population average is one kind of inference that statisticians make from sample data. I discuss inference in more detail in the section "Inferential Statistics."
REMEMBER
Now for some terminology you have to know: Characteristics of a population (like the population average) are called parameters, and characteristics of a sample (like the sample average) are called statistics. When you confine your field of view to samples, your statistics are descriptive. When you broaden your horizons and concern yourself with populations, your statistics are inferential.
REMEMBER
Now for a notation convention you have to know: Statisticians use Greek letters ([mu], [alpha], [rho]) to stand for parameters, and English letters ([bar]x, s, r) to stand for statistics. Figure 1-1 summarizes the relationship between populations and samples, and parameters and statistics.
Variables: Dependent and independent
Simply put, a variable is something that can take on more than one value. (Something that can have only one value is called a constant.) Some variables you might be familiar with are today's temperature, the Dow Jones Industrial Average, your age, and the value of the dollar against the euro.
Statisticians care about two kinds of variables, independent and dependent. Each kind of variable crops up in any study or experiment, and statisticians assess the relationship between them.
For example, imagine a new way of teaching reading that's intended to increase the reading speed of fifth-graders. Before putting this new method into schools, it would be a good idea to test it. To do that, a researcher would randomly assign a sample of fifth-grade students to one of two groups: One group receives instruction via the new method; the other receives instruction via traditional methods. Before and after both groups receive instruction, the researcher measures the reading speeds of all the children in this study. What happens next? I'll get to that in the upcoming section entitled "Inferential Statistics: Testing Hypotheses."
For now, understand that the independent variable here is Method of Instruction. The two possible values of this variable are New and Traditional. The dependent variable is reading speed.
REMEMBER
In general, the idea is to try to find out if changes in the independent variable are associated with changes in the dependent variable.
REMEMBER
In the examples that appear throughout the book, I'll show you how to use Excel to calculate various characteristics of groups of scores. I'd like you to bear in mind that each time I show you a group of scores, I'm really talking about the values of a dependent variable.
Types of data
Data come in four kinds. When you work with a variable, the way you work with it depends on what kind of data it is.
The first variety is called nominal data. If a number is a piece of nominal data, it's just a name. Its value doesn't signify anything. A good example is the number on an athlete's jersey. It's just a way of identifying the athlete and distinguishing him or her from teammates. The number doesn't indicate the athlete's level of skill.
Next comes ordinal data. Ordinal data are all about order, and numbers begin to take on meaning over and above just being identifiers. A higher number indicates the presence of more of a particular attribute than a lower number. One example is Moh's Scale. Used since 1822, it's a scale whose values are 1 through 10. Mineralogists use this scale to rate the hardness of substances. Diamond, rated at 10, is the hardest. Talc, rated at 1, is the softest. A substance that has a given rating can scratch any substance that has a lower rating.
What's missing from Moh's Scale (and from all ordinal data) is the idea of equal intervals and equal differences. The difference between a hardness of 10 and a hardness of 8 is not the same as the difference between a hardness of 6 and a hardness of 4.
Interval data provides equal differences. Fahrenheit temperatures provide an example of interval data. The difference between 60 degrees and 70 degrees is the same as the difference between 80 degrees and 90 degrees.
Here's something that might surprise you about Fahrenheit temperatures: A temperature of 100 degrees is not twice as hot as a temperature of 50 degrees. For ratio statements (twice as much as, half as much as) to be valid, zero has to mean the complete absence of the attribute you're measuring. A temperature of 0 degrees F doesn't mean the absence of heat - it's just an arbitrary point on the Fahrenheit scale.
The last data type, ratio data, includes a meaningful zero point. For temperatures, the Kelvin scale gives us ratio data. One hundred degrees Kelvin is twice as hot as 50 degrees Kelvin. This is because the Kelvin zero point is absolute zero, where all molecular motion (the basis of heat) stops. Another example is a ruler. Eight inches is twice as long as 4 inches. A length of zero means a complete absence of length.
REMEMBER
Any of these types can form the basis for an independent variable or a dependent variable. The analytical tools you use depend on the type of data you're dealing with.
A little probability
When statisticians make decisions, they express their confidence about those decisions in terms of probability. They can never be certain about what they decide. They can only tell you how probable their conclusions are.
So what is probability? The best way to attack this is with a few examples. If you toss a coin, what's the probability that it comes up heads? Intuitively, you know that if the coin is fair, you have a 50-50 chance of heads and a 50-50 chance of tails. In terms of the kinds of numbers associated with probability, that's 1/2.
How about rolling a die (one member of a pair of dice)? What's the probability that you roll a 3? Hmmm ... a die has six faces and one of them is 3, so that ought to be 1/6, right? Right.
Here's one more. You have a standard deck of playing cards. You select one card at random. What's the probability that it's a club? Well, a deck of cards has four suits, so that answer is 1/4.
I think you're getting the picture. If you want to know the probability that an event occurs, figure out how many ways that event can happen and divide by the total number of events that can happen. In each of the three examples, the event we were interested in (head, 3, or club) only happens one way.
Things can get a bit more complicated. When you toss a die, what's the probability that you'll roll a 3 or a 4? Now you're talking about two ways the event you're interested in can occur, so that's (1 + 1)/6 = 2/6 = 1/3. What about the probability of rolling an even number? That has to be 2, 4, or 6, and the probability is (1 + 1 + 1)/6 = 3/6 = 1/2.
On to another kind of probability question. Suppose you roll a die and toss a coin at the same time. What's the probability you roll a 3 and the coin comes up heads? Consider all the possible events that could occur when you roll a die and toss a coin at the same time. Your outcome could be a head and 1-6, or a tail and 1-6. That's a total of 12 possibilities. The head-and-3 combination can only happen one way. So, the answer is 1/12.
In general the formula for the probability that a particular event occurs is
Pr(event) = Number of ways the event can occur/Total number of possible events
I began this section by saying that statisticians express their confidence about their decisions in terms of probability, which is really why I brought up this topic in the first place. This line of thinking leads us to conditional probability - the probability that an event occurs given that some other event occurs. For example, suppose I roll a die, take a look at it (so that you can't see it), and I tell you that I've rolled an even number. What's the probability that I've rolled a 2? Ordinarily, the probability of a 2 is 1/6, but I've narrowed the field. I've eliminated the three odd numbers (1, 3, and 5) as possibilities. In this case, only the three even numbers (2, 4, and 6) are possible, so now the probability of rolling a 2 is 1/3.
Exactly how does conditional probability play into statistical analysis? Read on.
Inferential Statistics: Testing Hypotheses
In advance of doing a study, a statistician draws up a tentative explanation - a hypothesis - as to why the data might come out a certain way. After the study is complete and the sample data are all tabulated, he or she faces the essential decision a statistician has to make - whether or not to reject the hypothesis.
That decision is wrapped in a conditional probability question: What's the probability of obtaining the data, given that this hypothesis is correct? Statistical analysis provides tools to calculate the probability. If the probability turns out to be low, the statistician rejects the hypothesis.
Here's an example. Suppose you're interested in whether or not a particular coin is fair - whether it has an equal chance of coming up heads or tails. To study this issue, you'd take the coin and toss it a number of times - say 100. These 100 tosses make up your sample data. Starting from the hypothesis that the coin is fair, you'd expect that the data in your sample of 100 tosses would show 50 heads and 50 tails.
If it turns out to be 99 heads and one tail, you'd undoubtedly reject the fair coin hypothesis. Why? The conditional probability of getting 99 heads and one tail given a fair coin is very low. Wait a second. The coin could still be fair and you just happened to get a 99-1 split, right? Absolutely. In fact, you never really know. You have to gather the sample data (the results from 100 tosses) and make a decision. Your decision might be right, or it might not.
Juries face this all the time. They have to decide among competing hypotheses that explain the evidence in a trial. (Think of the evidence as data.) One hypothesis is that the defendant is guilty. The other is that the defendant is not guilty. Jury members have to consider the evidence and, in effect, answer a conditional probability question: What's the probability of the evidence given that the defendant is not guilty? The answer to this question determines the verdict.
Null and alternative hypotheses
Consider once again that coin-tossing study I just mentioned. The sample data are the results from the 100 tosses. Before tossing the coin, you might start with the hypothesis that the coin is a fair one, so that you expect an equal number of heads and tails. This starting point is called the null hypothesis. The statistical notation for the null hypothesis is [H.sub.0]. According to this hypothesis, any heads-tails split in the data is consistent with a fair coin. Think of it as the idea that nothing in the results of the study is out of the ordinary.
An alternative hypothesis is possible - that the coin isn't a fair one, and it's loaded to produce an unequal number of heads and tails. This hypothesis says that any heads-tails split is consistent with an unfair coin. The alternative hypothesis is called, believe it or not, the alternative hypothesis. The statistical notation for the alternative hypothesis is [H.sub.1].
With the hypotheses in place, toss the coin 100 times and note the number of heads and tails. If the results are something like 90 heads and 10 tails, it's a good idea to reject [H.sub.0]. If the results are around 50 heads and 50 tails, don't reject [H.sub.0].
Similar ideas apply to the reading-speed example I gave earlier. One sample of children receives reading instruction under a new method designed to increase reading speed, the other learns via a traditional method. Measure the children's reading speeds before and after instruction, and tabulate the improvement for each child. The null hypothesis, [H.sub.0], is that one method isn't different from the other. If the improvements are greater with the new method than with the traditional method - so much greater that it's unlikely that the methods aren't different from one another - reject [H.sub.0]. If they're not, don't reject [H.sub.0].
REMEMBER
Notice that I didn't say "accept [H.sub.0]." The way the logic works, you never accept a hypothesis. You either reject [H.sub.0] or don't reject [H.sub.0].
Notice also that in the coin-tossing example I said around 50 heads and 50 tails. What does around mean? Also, I said if it's 90-10, reject [H.sub.0]. What about 85-15? 80-20? 70-30? Exactly how much different from 50-50 does the split have to be for you to reject [H.sub.0]? In the reading-speed example, how much greater does the improvement have to be to reject [H.sub.0]?
I won't answer these questions now. Statisticians have formulated decision rules for situations like this, and we'll explore those rules throughout the book.
Two types of error
Whenever you evaluate the data from a study and decide to reject [H.sub.0] or to not reject [H.sub.0], you can never be absolutely sure. You never really know what the true state of the world is. In the context of the coin-tossing example, that means you never know for certain if the coin is fair or not. All you can do is make a decision based on the sample data you gather. If you want to be certain about the coin, you'd have to have the data for the entire population of tosses - which means you'd have to keep tossing the coin until the end of time.
(Continues...)
Excerpted from Statistical Analysis with Excel For Dummies by Joseph Schmuller Excerpted by permission.
All rights reserved. No part of this excerpt may be reproduced or reprinted without permission in writing from the publisher.
Excerpts are provided by Dial-A-Book Inc. solely for the personal use of visitors to this web site.
Pt. 1 | Statistics and Excel : a marriage made in heaven | 5 |
Ch. 1 | Evaluating data in the real world | 7 |
Ch. 2 | Understanding Excel's statistical capabilities | 21 |
Pt. II | Describing data | 35 |
Ch. 3 | Show and tell : graphing data | 37 |
Ch. 4 | Finding your center | 61 |
Ch. 5 | Deviating from the average | 71 |
Ch. 6 | Meeting standards and standings | 83 |
Ch. 7 | Summarizing it all | 97 |
Ch. 8 | What's normal? | 113 |
Pt. III | Drawing conclusions from data | 123 |
Ch. 9 | The confidence game : estimation | 125 |
Ch. 10 | One-sample hypothesis testing | 141 |
Ch. 11 | Two-sample hypothesis testing | 155 |
Ch. 12 | Testing more than two samples | 183 |
Ch. 13 | Slightly more complicated testing | 207 |
Ch. 14 | Regression : linear and multiple | 219 |
Ch. 15 | Correlation : the rise and fall of relationships | 253 |
Pt. IV | Working with probability | 271 |
Ch. 16 | Introducing probability | 273 |
Ch. 17 | More on probability | 295 |
Ch. 18 | A career in modeling | 307 |
Pt. V | The part of tens | 323 |
Ch. 19 | Ten statistical and graphical tips and traps | 325 |
Ch. 20 | Ten (or so) things that didn't fit in any other chapter | 331 |
App | When your worksheet is a database | 357 |
Anonymous
Posted June 6, 2011
No text was provided for this review.
Overview