Debugging

R provides a number of tools to help you with debugging your code. The primary tools for debugging functions in R are traceback(): prints out the function call stack after an error occurs; does nothing if there’s no error debug(): flags a function for “debug” mode which allows you to step through execution of a […]

How To

A collection of code showing examples of how to do some common tasks in R.

DA CASE STUDIES – 11

What follows are some case studies that include “Documentation of any cleaning or manipulation of data” as part of the deliverables so I’ve included all my step-by-step details. I’ll start off with R then I’ll duplicate the process using SQL, and finally Tableau. Other analyses done in Python is not included and covered in other […]

Outliers

Web Analytics 101

This post is just a quick thought on how I look for outliers in a data set. Outliers are extremely important in analyzing data and should be addressed as early in the process as possible. I used Tableau for the charts.

Bad Charts

How to improve a visualization

There are times when you’re stepping into a situation where you inherit analyses done by others. In many cases you have to edit, revise, reconstruct, or completely abandon an analysis and create a more insightful one. Here is one of many cases that I went through that exact scenario.

Medication Injection

Leadership

This was a fun, fairly simple, and straight forward project for me since I have an engineering background and formulas are my bread and butter. Easiest way to describe the results: a fancy calculator with a large display screen that spits out charts instead of numbers.

Discount or Not

This post is about a project I did to answer the age-old question about discounts. Should I discount or not? How much money do I lose if I discount and how much should I discount? Well, I can only address some of the questions in this post, the remaining questions would be best discussed in the presence of marketing, production, development and the executive committee, as they relate to the mission, goals, and character of the company.

Homelessness

State of Homelessness

This project is a long, detailed, and very informative analysis for me, it took me years to research, create and launch the product. I summarized most of the information or I’d still be writing.