Tag Archives: regression

Calling it a dependent variable does not make it so #MRX

makeitsoRegression analysis is an interesting concept.

You start with the most important variable, the one you want to predict, the one you call the dependent variable.

Then, you collect together a bunch of other variables. If you’re lucky, you’ve got a dataset with hundreds of other variables to pick from. These are the ones you call dependent variables.

With the variables outlined, you can now say:

The dependent variable depends on the independent variables
The independent variables predict the dependent variable
The dependent variable is influenced by the independent variables
The dependent variable is explained by the independent variables

But just because you call a variable a dependent doesn’t make it a dependent variable. As with correlation, a regression does not signify causation. Regression is a slightly more complicated, slightly more cool, slightly more interesting correlation.

If you wanted to, you could call any variable a dependent variable. You could easily run a regression model to find the co-efficients behind any of these equations containing both a dependent and independent variables:

Education is a function of salary + number of cars you own + square footage of your residence
Attitude towards the environment is a function of how much meat you eat + the number of fur coats you own
Your favorite colour is a function of the colour of your car + the colour of your living room + the colour of your front door

In each case, is the dependent variable truly caused by the independent variables? Absolutely not. Is there a scientific relationship between the variables dependent and independent variables? Absolutely. It’s purely correlational, but it is most definitely a clear relationship.

So the next time you plop variables into one or the other side of an equation, consider whether it is a predictive or correlational model because the model won’t tell you either way. So in the immortal words of Jean Luc Picard, just saying it won’t make it so.

Buttertart and Nanaimo Bar Statistics: Annie’s Dream Bakery #MRX

As fun as statistics are, there really are very few jobs where you can apply those skills. Unless you want to be a math or statistics teacher, it’s good to have a fall back plan. And if I had my way and unlimited funds, Annie’s Bread Corner would be a flourishing little business right now.
.
I’ve visited a ton of bakeries and pastry shops in many different cities and have figured out exactly what my quaint little bakery would be. The focus would be on fresh, out of the oven, warm baked goods. Tall loaves of olive bread, oatmeal bread, and sourdough bread as well as buttertarts, nanaimo bars, and scones would fill up my shop with tantalizing smells.

Of course, you can’t run a successful business unless you manage it well and that’s where my classical education in psychology and statistics comes into play.

  • I would calculate the frequency of inquiries and purchases for each product by time, day, week, and month
  • I would conduct test/control, randomly ordered tests on different times and days of the week determine whether the buttertarts should be made with pecans or hazelnuts
  • I would run regression analyses to determine which products create the highest total sales per individual shopper
  • I would run cluster analyses to determine which products sell better together than alone
  • Most importantly, all potential customers would be required to fill out a demographic profile, including their taste and smell likes and dislikes before being allowed to view, purchase, or smell any items in the store (the entrance will be hermetically sealed)

Now that I think about it, if statistics are this important to a tiny little bakery, I probably won’t have any time to bake. Help please?

Enter your email address to subscribe

Join 9,698 other followers

LoveStats on Twitter

All Top

Featured in Alltop
Follow

Get every new post delivered to your Inbox.

Join 9,698 other followers

%d bloggers like this: