Yin and Yang in Root Cause Analysis

Yin_and_Yang.svg

There is a balance that exists in root cause analysis that is Yin and Yang. In Chinese philosophy, Yin and Yang represents the harmonious balance between seemingly contradictory forces. Light is Yang, darkness is Yin. Hot is Yang, cold is Yin. Top of a hill is Yang, valley of the hill is Yin. The typical representation of Yin and Yang has the white section as Yang and the black section as Yin.

The root cause analysis process can be represented by the simple schematic below:

yin yang con div

Once the problem statement is made, one should use divergent thinking to gather more data/information and identify the potential sources of a problem. This should be followed by convergent thinking where one focuses on the true root cause(s). One might use Fishbone diagram as the form of divergent thinking, and five why as the convergent thinking.

Divergent thinking is expansive in nature and lacks focus, thus it is Yin. Convergent thinking, on the other hand is zooming in and direct in nature, thus it is Yang. As with anything else in nature, a good root cause analysis process should have at least one cycle of divergent thinking and convergent thinking. The approach of Yin and Yang creates a complete/whole root cause analysis.

Jumping to conclusions is just Yang. The absence of Yin makes this an imbalanced and wrong approach. As noted above, one may use multiple cycles of divergent thinking followed by convergent thinking. Think of this as a rinse process, purifying your thinking process with each cycle. This will provide clarity in your investigation, and prevent biases that water down your efforts to fix the problem.

As you may have noted, each half (Yin or Yang) also has a dot corresponding to the opposite color. This indicates that within each section, nothing is complete. In my humble opinion, this is similar to the Japanese thinking of wabi-sabi. That is, even within the Yin, it is not completely Yin. There is a dot of Yang in it. Even when we are doing divergent thinking, we are going in a certain direction. Even when we are doing convergent thinking, we are still remaining open.

Always keep on learning…

Nash Equilibrium and some strategies to cope

nash

Although the world has lost a great and beautiful mind in John Nash, his concepts and theories are very much alive in this world. He and his wife were tragically killed in an automobile accident in New Jersey last week.

John Nash is the Nobel prize winning genius behind the “Nash Equilibrium”. He showed that every game played between two or more players will always achieve a stable state, from which either player will only incur further losses if something else is played. Thus, they have reached the rational play, knowing what the other player’s strategy is and there is no point in changing their strategy based on what they know of their opponent’s strategy. This does not mean that this is the play where they can maximize their gains. The Nash equilibrium may not always represent the best outcome for either player.

For example, in the famous Prisoner’s Dilemma game, the Nash Equilibrium represents the state where both players should confess. This play is not the one where either party can maximize their gains, but this is the play where they minimize their losses based on what the other player is playing. If they both remain silent, they both get 1 year each. However, if one confesses and the other remains silent, the one confessing gets 0 years. And the one remaining silent gets 20 years. Thus, no matter what, the “rational choice” is to confess. Sadly, the mutually beneficial state of remaining silent is not the best rational choice here.

prisoners_dilemma

Nash’s succinct paper is available here. http://web.mit.edu/linguistics/events/iap07/Nash-Eqm.pdf

In a non-cooperative situation, Nash Equilibrium will almost always result in a less than desired state. In the case of the prisoner’s dilemma example above, the values (how many years) were chosen for explanation. These values are called “utilities”. Sometimes, this is a personal preference. For example, if there are cars parked in the street coming to my house, there is space for only one car to drive in the street. If I have a car coming in the opposite direction, and if that car has the right of way (if the parked car is on my side of the street), I may not assign a large value for not going first. I am not going to lose any sleep over letting the other guy go in front of me. If there is a tornado behind me, I may assign a larger value as my utility and thus have higher motivation to cut the driver opposite of me, even if he had the right of way. For the game theory enthusiasts, this is a form of game called “Chicken”. As you can imagine, if you do not know the value assigned by the opponent, you may not always make the best move.

Game theory is unfortunately alive and well at the work place as many research studies have shown. Whenever there is a form of negotiation going on there is always a possibility of a non-cooperative situation and this can lead into not so favorable outcomes, as result of the Nash Equilibrium states. A game can have multiple Nash Equilibrium states based on the opponent’s strategy. Here are some key points that can help you in dealing with the traps set by the Nash Equilibrium when you are in a bad spot. The strategies below are geared towards minimizing the imbalance in the games.

  • Tit for Tat:

Believe it or not, the best thing to do in a repeat play game is to be the nice guy first. The strategy Tit for Tat requires you to play what the other player played last. Thus, if he was nice to you first, you play nice in the next game. If he was not nice, you also do not play nice in the next game. Thus, you are forming an immediate feedback loop to the opponent, and directing how the game shall be played. It actually might help to be the kinder person first, putting your best foot forward. This is best played between people with equal standing.

  • Information misdirection:

As I indicated before, if you do not know what the value is assigned by your opponent, your strategy may be futile. Information is gold currency when it comes to playing games. You can signal to your opponent that you value X, while you are after Y. You can also trade key information as needed to gain trust as well. It is also wise to reveal only what is required. A good example is when you play poker.

  • Change the rules:

Simply put, change the rules of the game or the game itself, if you do not like what you are playing. You may try to change how the value is perceived or try to include a new value altogether that changes the initial game. If the venue for the game was telephone, arrange for a face to face meeting.

  • Bring in an authority:

How many times have you said, “I would like to talk to your supervisor”? Nobody can be 100% confident or sure about themselves. Bringing in an authority generally will make the opponent self-conscious and even self-doubting, giving you an advantage.

  • Bring in more people:

Sometimes, it makes sense to bring in more people into the game, even if they are going to be spectators and not going to be on your side. Nobody wants to be seen as the bully or the bad guy. Nonviolent and peaceful protests are examples of this strategy. The press and media are there to catch/witness any misstep that the opponent might take.

  • Look for standards or rules that are applicable:

An easy example here is if you do your homework before going to purchase a car, and inform the salesman that you know the other vendor sells it for much less a price. You can also state your past experience as a guideline of what you are expecting out of the game.

Disclaimer: Please note that this post is purely based on my opinion and not to be used as advice. I shall not be responsible for any possible outcomes. I have not delved into much depth regarding the Nash Equilibrium or Game Theory itself. This is a vast and very interesting topic. I encourage the reader to learn about this fascinating field as much as possible.

Always keep on learning…

An organized mind and a cluttered desk:

Nicolas_P._Rougier's_rendering_of_the_human_brain

Having been immersed in TPS (Toyota Production System) or lean, I have been very interested in seeing how many lean practitioners talk about 5S and the importance of a clean and organized desk. It is almost as if, the clean and organized desk indicates a clean and organized mind – making you a more productive worker. As with everything else, generalization is not always a good thing.

The goal of 5S (or Go-Esu as our Japanese counterparts say) is not to clean and have a tidy work place. The goal of 5S is to ensure that any waste becomes immediately visible. I have delved philosophically about how this applies to an office environment, where the work does not always have routine, efficient and predictable attributes.

My own personal experience has been that having a less than tidy desk never hindered my productivity. Sometimes, the opposite was true. My desk may have piles, but the most important projects/documents are always on the top and close to me. Proximity and the order indicate the importance and timeliness requirement of the project.

My goal has been to have an organized mind first, and then an organized desk. It looks like there has been some research done about the cluttered desks, and this is not truly new news. The goal of this post is not to promote cluttered desks. The goal of this post is to promote organized minds through mindfulness.

Einstein is supposed to have asked, “If a cluttered desk is a sign of a cluttered mind, of what, then, is an empty desk a sign?” The cued answer is a tongue-in-cheek “Empty mind.”

A study conducted in 2013 by Kathleen D. Vohs, a behavioral scientist at the University of Minnesota, indicated that a cluttered desk might actually lead to outside the box thinking by allowing one to veer from the conventionally treaded paths. http://pss.sagepub.com/content/24/9/1860

It is true that many great minds have been found to have messy desks.

albert

ALBERT EINSTEIN

jobs-500x333

STEVE JOBS

twain

MARK TWAIN

But as I stated earlier, the goal of this post is not to promote a cluttered desk. 🙂

I have been trying to have a better organized mind through mindfulness practice. The goal of mindfulness practice is to be aware and to be present at the given moment. Surprisingly this has huge benefits in the hustled world that we live in. Check out this link. http://greatergood.berkeley.edu/article/item/three_benefits_to_mindfulness_at_work

Mindfulness helps in improving our emotional intelligence, and helps us being focused on the task at hand. It provides clarity to our minds.

So let us try to organize our minds, getting rid of clutter leading to clarity and focus. And then, have an organized desk. Maybe, a cluttered desk is not that bad after all.

Keep on learning…

The Price of Rice – A fable about leadership

US_long_grain_rice

I heard this story when I was a little kid. Now that I am older, I am not able to trace its source. I think it may have been a Zen story. Anyways, the way I remember it is as follows:

There was a famous teacher in a village. Two brothers came to be trained under him. Years went by, and the older brother was getting restless. In his mind, the teacher was partial to his younger brother, and he could not understand why. He is older and felt wiser than the younger brother. But the teacher never gave him any responsibilities.

One day, the older brother went to his teacher and asked him,

“Teacher, why is it that you do not give me any responsibilities? You always seem to be biased towards my younger brother. We came here at the same time, and learned everything together. Yet, you treat him better than you treat me. Why?”

The teacher smiled. He sipped his tea, and then said,

“Let’s do this; why don’t you run to the village center and go to the rice store. Ask the vendor, what is the price of rice? Come back when you are ready.”

The older brother thought this was an easy job. He ran to the village center and asked the vendor the price for rice, and ran back to his teacher.

“It is 10 rupees per kilo.” He said trying to catch his breath.

The teacher asked him. “Is this the price for brown rice?”

“Yes”. The older brother replied.

“What about the white rice?” The teacher asked.

“I do not know.” The older brother replied.

So he ran back again, and asked the vendor for the price of white rice, and ran back to his teacher.

“It is 12 rupees per kilo.” He replied again trying to catch his breath.

“Is there a price discount, if I buy 10 kilos?” The teacher asked.

“I do not know” was the answer again.

The student ran to the village center yet again to gather more information.

“The price is 8 rupees if we buy 10 kilos.” The student responded.

“What about the white rice?” was the next question from his teacher.

Now the student was too tired to run back again, so he sat down ashamed.

The teacher asked for the younger brother to come. He was unaware of any of the happenings.

“Why don’t you run to the village center and go to the rice store. Ask the vendor, what is the price of rice? Come back when you are ready.” The teacher asked the same thing to the younger brother.

“Sure thing, Teacher”, the younger brother replied.

He ran off and came back after a short while.

“The price of rice is 10 rupees per kilo for brown, and 12 rupees per kilo for white. If you buy 10 kilos, you will get a discount of 2 rupees for both brown and white. The new stock is coming in two days, so we might want to wait to get the fresh supply. The vendor also gave his regards to you.” The younger brother replied.

“Thank you, my son. You may go now”, the teacher said.

The teacher took another sip of his tea, and looked at the older brother, and said.

“When you are given a task, always try to see what the big picture is. Try to understand how your seemingly little task aligns with the big task at hand.”

“Do not be a small person caring about only small things and your own small world. Be a big person caring about both small and big things.” The teacher continued finishing his tea.

THE END.

Soon after joining the work force, I came to the realization that I have to move in and out of the big and small picture perspectives. A task or a project sometimes seems to live on even after you are done with it, and it is generally intertwined with multiple other projects. Thus I learned to keep my mind at the task at hand, while keeping my eyes on the big picture.

To me, the younger brother also ensured to maintain a personal interaction with the rice vendor. This is also an important thing to keep in mind.

Always keep on learning, and be ready when you are next asked what the price of rice is.

Let’s not hypothesize – Part 1

8FF3

Over the last few months, there has been a lot of frenzy in a small portion of the blogosphere over the “ban of P-values” by the Psych magazine  Basic and Applied Social Psychology (BASP). You can read the full editorial here.

http://www.tandfonline.com/doi/pdf/10.1080/01973533.2015.1012991

My goal is to create a series of posts covering the items discussed in the editorial. This will include talking about the evolution of hypothesis testing, p-values and confidence intervals.

Some of the highlights from the editorial are below.

1) p < .05 is too easy and leads to low quality papers:

we believe that the p < .05 bar is too easy to pass and sometimes serves as an excuse for lower quality research.

There has been a lot of papers about the traditional approach of using p < .05 or even <.01 as being arbitrary values. I welcome the reader to check out this webpage by Chris Fraley, which has a collection of articles and papers about Null Hypothesis Significance Testing (NHST) and p-values.

http://www.uic.edu/classes/psych/psych548/fraley/

2) Confidence Intervals are no better either:

Analogous to how the NHSTP fails to provide the probability of the null hypothesis, which is needed to provide a strong case for rejecting it, confidence intervals do not provide a strong case for concluding that the population parameter of interest is likely to be within the stated interval.

To me, this is very interesting. I have always relied on confidence intervals to get a bound on the uncertainty around my statistic. The magazine banned the use of Confidence Intervals as well.

Interestingly enough, Bayesian procedures are not “banned”.

Bayesian procedures are neither required nor banned from BASP.
I will be very interested in seeing how this impacts the other fields outside Social Psychology. It is true that many scholars have challenged the idea of using p-values, and offered suggestions to include power, confidence intervals, etc. But this editorial challenges all of that.
Keep on learning…

Making a loaded coin fair – The Unfair Coin Problem

Today’s post is about Game Theory.

460px-JohnvonNeumann-LosAlamos

How do you make a loaded coin fair for a coin toss?

Let’s say that the coin is loaded such that heads comes up 75% of the time, and tails 25% of the time. How would one use this coin fairly for a coin toss?

Enter Jon Von Neumann, the father of Game Theory. His solution was elegant and simple;

Flip the coin twice. If the results are the same (HH or TT), ignore and proceed to flipping them two more times. If the two results are different (HT or TH), use the first of the two results. That is it.

The rationale is that p(H) * p(T) = p(T) * p(H), where p(H) is the probability for heads and p(T) is the probability for Tails. Thus, the probability of two consecutive different results is simply the product of the two.

Since p(H) * p(T) = p(T) * p(H), this now becomes a 50-50 chance. Voila, a fair coin toss rule.

This solution is as elegant as the Tit-for-tat solution for the iterated Prisoner’s dilemma question.

This also reminds me of a great quote from Taligent’s Guide to Designing Programs!

Remember that there is no code faster than no code.

Keep on learning…

Spock and Genchi Genbutsu

thatwhich

I am a big fan of Spock, a key character from the classic Star Trek show. He is a great inspiration for me, and I have already written a post about him here.

Recently, I came across another gem from him that I would like to share.

This is taken from the episode “That Which Survives.”

SPOCK: I note it, Mister Scott, without necessarily understanding it. I propose to run an analysis through the ship’s computers, comparing the present condition of the Enterprise with her ideal condition.

This in my eyes is a good example of Genchi Genbutsu via Grasping the Current Condition. Spock came across a potential problem on the star ship, and he is using the scientific approach to first understand the problem.

If you do not know the ideal state, how will you know what the scope of the problem is?

One should always know the ideal state. This is a form of calibration, a way to know if there is indeed a problem or if it is a false alarm. Humans tend to exaggerate when they try to approximate. When the entirety of data is lacking, one has to approximate, and this can lead him/her to underestimate a threat or overestimate a gain.

Do you know your ideal state at work? At home?

Always keep on learning…

Drop the PA from CAPA

ISO_logo

The new revision of ISO 9001 is going to be released later this year. One of the changes proposed, that piqued my interest, was removal of the Preventive Action section. Preventive Action is “replaced” with Risk Based Thinking.

Preventive Action is proactive in nature. So is risk based thinking. Since my field is medical devices, risk based thinking is deeply engrained in me. It is my understanding that this revision is proposed to create a management system that is risk based.

One of the ways that I have used the PA of CAPA is to identify potential opportunities to implement what we learned from the CAPA. This could be similar products, processes or designs. This is similar to Yokoten in Lean Manufacturing. Jon Miller at Gemba Panterai calls this as “Horizontal Deployment”.

Yokoten means “horizontal deployment” and refers to the practice of copying good results of kaizen in one area to other areas.

The new revision does not take away this meaning. The new revision has in fact moved the thought of risk based thinking to Planning section. Thus, the intent is to spread the idea of risk based management throughout the organization.

As mentioned earlier, risk based thinking is proactive by definition. When properly done, risk based thinking can reduce the nonconformity occurrences, thus reducing the need for corrective actions. Corrective actions are reactive in nature. Risk based thinking leads to more preventive actions throughout the organization.

Paraphrasing heavily from the proposed changes;

When planning for QMS, the organization shall determine the risks and opportunities that need to be addressed to (among other things) prevent or reduce undesired effects.

It will be interesting to see how this will be handled with ISO 13485 standard.

Keep on learning…

Wilk’s One Sided Tolerance spreadsheet for download

wilks

I have created a spreadsheet that allows the user to calculate the number of samples needed for a desired one-sided tolerance interval at a desired confidence level. Additionally, the user can also enter the desired order for the sample size.

For example, if you have 93 samples, you can be 95% confident that 95% of the population are above the 2nd lowest value samples. Alternatively, you can also state that 95% of the population is below the 2nd highest value of the samples.

Here is an example of this in use.

If there is an interest, I can also try creating a two sided tolerance interval spreadsheet as well.

The keen student might notice that the formula is identical to the Bayes Success Run Theorem when the order p =1.

The spreadsheet is available for download here. Wilks one sided

Keep on learning…

Ship of Theseus and Process Validation

1024px-Model_of_a_greek_trireme

There is a great Greek paradox/puzzle called the Ship of Theseus. There are multiple versions and derivations to it. My favorite version is as follows (highly watered down);

Theseus bought a new ship. Each day he replaced one part of the ship. Plank by plank, and sail by sail and finally oar by oar. Finally no part of the original ship remained. Now the paradox is this – is the ship same as the original ship now that every part has been replaced? This is a great thought experiment about identity and understanding of self. If we go one step further and build a new ship with all the parts that were replaced from the original ship, is the new ship the same as the original ship?

When I read about this great paradox, somehow my mind started thinking about process validation. We get a new piece of equipment, say a pouch sealer, and during the course of multiple years, the equipment gets many of the parts replaced and many of the parts get worn down. Is the sealer the same as the original sealer? Is the original validation still valid?

This is where two main aspects of the process validation are important.

1) Maintaining the validated state; and 2) Revalidation Criteria.

Maintaining the validation state includes proper monitoring of the process, once it is qualified, to ensure that the process is in a state of control. For example, for a sealer validation, we might perform seal strength testing and visual inspection based on a frequency and defined criteria. Any adverse results shall be reviewed and rectified.

The revalidation criteria can be based on predetermined criteria as well. Some examples are below.

1) Major parts of the equipment replaced.

2) Equipment relocated to a new facility.

3) Equipment not in use for more than a year.

4) Significant changes to the process like raw material change.

5) Negative trends in Quality.

Both maintaining the validated state and revalidation requirements must be part of a process validation protocol.

Keep on learning…