# Chocolate chip cookies help make statistics lessons relevant and palatable

##### Jan 07, 2008

Chocolate chip cookies aren't just a favorite after-school snack. They're also a rich source of statistical data, according to Herbie Lee, an associate professor of applied mathematics and statistics at the University of California, Santa Cruz, Baskin School of Engineering.

In an article in the November 2007 issue of American Statistician entitled, "Chocolate Chip Cookies as a Teaching Aid," Lee describes how he has used these tasty and comforting props to teach statistical concepts, such as random distributions and hypothesis testing.

Many people are required to take a course in statistics as preparation for a wide variety of careers in research, business, and public policy. But few look forward to it. According to Lee, teachers of statistics often face a classroom full of students who are poorly motivated to learn and downright fearful of mathematical concepts.

When he brought chocolate chip cookies into his classroom, however, Lee discovered that the beloved treats provided an easy and effective way to excite a broad group of learners. "The students loved the cookie examples," he said.

Lee teaches university undergraduates, but his methods could also be used to introduce basic concepts of statistics--such as variability--in high school or middle school, he said. From the course evaluations he has received from hundreds of students, Lee has learned that cookie examples seem to help people pay attention in class. And, presumably, that means more students grasp the importance of statistics in everyday life, he said.

"There's a lot of variability in the world, so we need methods to help us make decisions in the face of uncertainty," Lee said. "It's not intuitive and not something humans do well. Getting a better feeling for randomness and for why statistics is useful is a really important and valuable lesson."

Four years ago, Lee was looking for a better way to bring this message home to undergraduates. Standard textbook examples for statistical concepts usually came from sports, biology, and economics, but these resonated only with certain groups of students, he said. So he decided to try a hands-on demonstration using chocolate chip cookies, something nearly everyone could appreciate.

During a lecture, he pulled out a bag of cookies and suddenly the students paid attention, he said. Then he gave a cookie to each student and asked him or her to count the number of chips (which requires carefully eating the cookie, since not all the chips can be seen from the outside). Lee graphed the data, showing a Poisson distribution, which is close to a classic bell curve in this case.

"The number of chips match what we expect statistically, but not what we know intuitively," Lee explained. "The students don't expect individual cookies to be that different, but they are. This example shows that variability is all around us, even in something like mass-produced cookies."

Math teachers have been known to spice up their lessons with various kinds of food items, including M&M candies, Hershey's kisses, and chewing gum. But these are usually "one-trick ponies," said Lee. Chocolate chip cookies, on the other hand, can be used to illustrate many key statistical concepts. That's why Lee developed ways to use cookies as a repeating theme in his course. He uses them as examples leading into discussions about measurement error, data display (such as histograms), extreme values, outliers, hypothesis testing, and analysis of variance.

For instance, when it came time to study two-sample t-tests, Lee brought in a second brand of cookies. The students got excited, he said, as they tried to figure out how to compare the difference in brands in light of all the variability between individual cookies. And, of course, they got to eat more treats.

Lee has even found chocolate chip cookies helpful for teaching graduate students about Bayesian analysis, a method for dealing with uncertainty that requires starting with an educated guess, or "prior."

"It's interesting because the students' initial guesses on the number of chips are usually very wrong," he said. "They find out what happens when their guesses are fairly far off, and how much they can update their prior by collecting real data."

Lee now has developed protocols that he plans to use in his statistics courses for the foreseeable future.

"If I hook students with the cookies, I find they keep coming to lectures for the rest of the course," he noted. "It has worked so well, now I use the cookies as much as I can."

Lee's article is available on his web site.

Source: University of California, Santa Cruz

Explore further: Strong teams attract crowds for international cricket

## Related Stories

#### Warming temperatures are pushing two chickadee species—and their hybrids—northward

38 minutes ago

The zone of overlap between two popular, closely related backyard birds is moving northward at a rate that matches warming winter temperatures, according to a study by researchers from the Cornell Lab of ...

#### Establishing standards where none exist: Researchers define 'good' stem cells

38 minutes ago

After more than a decade of incremental – and paradigm shifting, advances in stem cell biology, almost anyone with a basic understanding of life sciences knows that stem cells are the basic form of cell ...

#### Astronomers witness mysterious, never-before-seen disintegration of asteroid

2 hours ago

Astronomers have witnessed for the first time the breakup of an asteroid into as many as 10 smaller pieces. The discovery is published online March 6 in Astrophysical Journal Letters.

#### The first electric vehicle rental project for tourists in Japan struggles to make a profit

2 hours ago

Researchers at the Cambridge Service Alliance at the University of Cambridge, have suggested new ways of increasing the uptake of electric car usage.

#### Data gains power through graphics and charts, specialists say

2 hours ago

It seems like big data is everywhere you look. And in a way, it is: Maps, medical scans, and weather charts are commonplace forms of data visualization. Each was examined during "Thinking with Your Eyes," ...

#### Veterinary research highlights refocus for cattle export

2 hours ago

Respiratory diseases are the greatest mortality risk for export cattle on long sea voyages according to PhD research by a local veterinary scientist.

## Recommended for you

#### Strong teams attract crowds for international cricket

Mar 06, 2014

The strength of the team—not the promise of a close contest—is the biggest draw to crowds in international cricket, new research has found.

#### Improving radiation therapies for cancer mathematically

Mar 05, 2014

In a paper published in December in the SIAM Journal on Scientific Computing, authors Li-Tien Cheng, Bin Dong, Chunhua Men, Xun Jia, and Steve Jiang propose a method to optimize radiation therapy treatments in cancer patien ...

#### Computational study finds maximum packing density of 55,000 different shapes

Mar 05, 2014

A team of researchers at the University of Michigan has used computational and analytical analysis to find the maximum packing density of 55,000 uniquely shaped particles. In their paper published in the ...

#### Secret to the perfect pancake is discovered

Mar 04, 2014

In a collaboration with Meadowhall Shopping Centre, students from the University's Maths Society (SUMS) developed, trialled and tested a formula which enables pancake-lovers across the world to rustle-up ...

#### New data shows baseball managers when to replace the starting pitcher

Feb 28, 2014

Last October, the Detroit Tigers won the first game of the American League Championship Series against the Boston Red Sox; the Tigers led the second game, 5-1, going into the eighth inning in Boston's Fenway ...

## More news stories

#### Statue of Egypt pharoanic princess found in Luxor

(AP)—Egypt has announced that a team of European archaeologists have found a nearly 2-meter- (6 ½-foot-) tall alabaster statue of a pharoanic princess, dating from approximately 1350 B.C., outside the southern city of ...

#### Lose yourself to dance, know yourself better

Could managers gain a new kind of understanding about their interaction with colleagues and employees by 'dancing'? That's the question arising from new research published this month in the International Journal of Work Or ...

A second viewing in a police line-up may help more eyewitnesses identify the culprit, new research from Flinders University reveals.

#### Expiration of terrorism risk insurance act could hurt national security, study finds

Allowing the federal terrorism risk insurance act to expire could have negative consequences for U.S. national security, according to a new study from the RAND Corporation.

#### Women's widespread inequality and rape as a weapon of war

Women are more likely to experience mass rape and sexual torture in armed conflicts around the world, as a deliberate strategy to humiliate, intimidate and dominate them and their 'enemy' community.

#### New tracking system measures distribution hazards on products and packages

Packaging and distribution of goods is a multi-billion dollar industry. Yet damage to goods while in transit has a financial impact on companies and consumers, also in the millions of dollars, according to ...

#### Anti-psychotic medications offer new hope in the battle against glioblastoma

Researchers at the University of California, San Diego School of Medicine have discovered that FDA-approved anti-psychotic drugs possess tumor-killing activity against the most aggressive form of primary brain cancer, glioblastoma. ...

#### Researchers claim Mojave Crater on Mars is source of Mars rocks found on Earth

(Phys.org) —A trio of researchers, two from France and one from Norway, has published a paper in the journal Science where they claim to have found sufficient evidence to identify a specific crater on Mar ...

#### Microbial detection array detects plague in ancient human remains

(Phys.org) —Scientists who study past pandemics, such as the 14th century Black Death that devastated much of Europe, might soon be turning to an innovative biological detection technology for some extra ...

#### Promising news for solar fuels from Berkeley Lab researchers

There's promising news from the front on efforts to produce fuels through artificial photosynthesis. A new study by Berkeley Lab researchers at the Joint Center for Artificial Photosynthesis (JCAP) shows ...