WOLFRAM

Data Analysis and Visualization

Computation & Analysis

Analyzing Pedometer Data with Mathematica

In Stephen Wolfram's personal analytics blog post, he showed a number of interesting plots of the steps he's recorded on his pedometer over the past two years. Each plot highlighted a different feature of his activity. For example, this daily step distribution makes it clear that Stephen is typically most physically active around noon: In this blog post I'll show you how to analyze your own pedometer data and make cool plots like Stephen's. If you don't have any data, you can use the attached sample data that corresponds to my own physical activity. First we need to import the data and format it appropriately. The data is formatted as pairs of time stamps and step counts in five-minute intervals.
Computation & Analysis

How Do YOU Type “wolfram”? Analyzing Your Typing Style Using Mathematica

Wouldn't it be cool if you never had to remember another password again? I read an article in The New York Times recently about using individual typing styles to identify people. A computer could authenticate you based on how you type your user name without ever requiring you to type a password. To continue our series of posts about personal analytics, I want to show you how you can do a detailed analysis of your own typing style just by using Mathematica! Here's a fun little application that analyzes the way you type the word "wolfram." It's an embedded Computable Document Format (CDF) file, so you can try it out right here in your browser. Type "wolfram" into the input field and click the "save" button (or just press "Enter" on your keyboard). A bunch of charts will appear showing the time interval between each successive pair of characters you typed: w–o, o–l, l–f, f–r, r–a, and a–m. Do several trials: type "wolfram," click "save," rinse, and repeat (if you make a typo, that trial will just be ignored).
Computation & Analysis

From the Wolfram Science Summer School to Wolfram|Alpha Pro

In spring 2011, while adding the finishing touches to my PhD dissertation, I decided to enroll in the Wolfram Science Summer School (then called the NKS Summer School). I never suspected that my project at the Summer School would lead to a job and my involvement in one of the central features of Wolfram|Alpha Pro. During my years as a graduate student I had the chance to live in three different countries and experience different working environments: other than my native Italy, I lived in Paris, where my PhD was based at ENS, and in Princeton, where I was lucky enough to spend time at the Institute for Advanced Study. However, at the end of my PhD, I felt that most of my interest in what I was doing was gone and that I needed to try something new. Once at the Summer School, I had the chance to meet and chat with Stephen Wolfram as he helped me come up with a problem to work on. One of the first things I told him was that I was weary of open-ended academic kinds of problems and I was afraid no one was ever going to read my papers. I said that I wanted to deal with intellectual challenges, but I also wanted to tackle something that had a clear beginning and end. His reply came as a disappointment, since what he suggested I work on was both completely outside my area of expertise and clearly one of those impossibly wide problems that I was now skeptical of. What did he say?
Best of Blog

Analyzing Your Email with Mathematica

In Stephen Wolfram's recent blog post about personal analytics, he showed a number of plots generated by analyzing his archive of personal data. One of the most common pieces of feedback we received was that people wanted to know how they could perform the same kind of analysis on their own data. So in this blog post I'm going to show you how to analyze your email the same way Stephen Wolfram did. Naturally, we did all the data cleaning and analysis for Stephen's data in Mathematica, so we'll be using Mathematica for everything here as well. All the code can be downloaded here. Let's start with that really cool diurnal plot Stephen did of his outgoing email. This plot shows the date and time each email was sent, with years running along the x axis and times of day on the y axis:
Computation & Analysis

Launching a Democratization of Data Science

It’s a sad but true fact that most data that’s generated or collected—even with considerable effort—never gets any kind of serious analysis. But in a sense that’s not surprising. Because doing data science has always been hard. And even expert data scientists usually have to spend lots of time wrangling code and data to do […]

Computation & Analysis

Developing the Kronos Retail Labor Index with Mathematica

In recent years, predicting the health of the U.S. economy has become more complicated than ever. Economists are constantly on the lookout for new ways to predict the economy's future path, but discovering significant new economic indicators has become more difficult. The Kronos Retail Labor Index is an exciting new leading economic indicator of the overall health of the U.S. economy. Dr. Robert Yerex, chief economist at Kronos, used Mathematica exclusively in its development and monthly production.
Computation & Analysis

Data Diving with Mathematica

Wolfram Research hosts lots of popular websites, including Wolfram|Alpha and the Wolfram Demonstrations Project, and we collect a lot of web traffic data on those sites to make sure you, our visitors, are meeting your goals. To really dive deep into that data, our corporate analysis team has built on a number of Mathematica's standard data analysis features to develop a powerful, in-house computable data function for studying web traffic and other business data. In this video, corporate analysis team lead David Howell describes how using Mathematica gives his team huge advantages in discovering new patterns and relationships within our web traffic data and in delivering insightful interactive reports.
Computation & Analysis

UK Investment Returns under Conservative and Labour Governments

As the closing days of the United Kingdom election campaign have focused on the economy, I thought I would repeat the analysis that Theodore Gray did on Dow Jones returns under United States presidential parties—but using UK data. I started by going to an interactive Mathematica Demonstration that Theodore wrote. Like all Demonstrations, it doesn't just present information, it encodes the analysis, so by downloading the source code, I was able to re-deploy it on UK data quite quickly. The data was a little more difficult (detailed at the end of this post). So what did I find?
Computation & Analysis

Mathematica Tests the St. Swithun’s Day Proverb

Like most in the United Kingdom, I have been trapped in my house by snow for most of the last week. Waking up again like Bill Murray in Groundhog Day, to another snowy view, I have been dreaming of summer days to come. It was against this background that I thought I would get around to testing whether an old British weather proverb was true: St. Swithun's day if thou dost rain For forty days it will remain St. Swithun's day if thou be fair For forty days 'twill rain no more