Wednesday, February 28, 2018

Power laws

Definitions

A power law can be defined as ”A relationship between two quantities such that one is proportional to a fixed power of the other”. It can also be defined as ”A relative change in one quantity results in a proportional relative change in another”.

Basics about the scales of power law

When you find out what the value of the power is in the power law, you can see how things scale. When the power is 1, dependent variable doubles, when the independent variable doubles. When the power is more than 1, the dependent variable more than doubles. For example, when the power is 2, dependent variable quadrubles, when the independent variable doubles. If the power is below 1, then the dependent variable is less than a doubling independent variable.

Power laws in nature

You can see many power laws working in nature. For example, animals in the world are roughly cube shaped. The amount of skin goes up by the factor of 4, when the surface area (m²) is doubled. In the same time the volume (m³) of guts goes up by a factor of 8. Animals lose heat through their skin and generate it through their guts. When the animals grow, their bone structure has to change as the bones´ ability to support the animal grows slower than the weight of the animal. Compare square with a cube. What this basically means that animals with lots of weight need to have strong bones to support it. For example, an elephant has thick legs, because they carry a lot of weight.

The metabolic rates of animals scale to their mass to the ¾ power. It tells you that the amount of the energy you need to survive. It basically means that the larger you are, the less energy you need compared to your per unit of mass. These kind of scaling laws apply to the oxygen intake and heart rate. Breathing and heart rates scale with mass to the – ¼ power. These power laws are approximations. They do not give exact truths. They are estimates based on existing data. These power laws tell about physical limits of each living thing. You cannot find a giant with thin legs or live forever.

Power laws in human constructions like cities

These laws apply to human behavior like wars and human constructions like languages and cities. For example, Lewis Fry Richardson found out a power law about wars. The higher the number of people killed in the war, the more time it takes to a war as destructive as the former one. You can also find same kind of power law working in languages. How often you use a word is described by an exponent of -1. The word that is the second most common in language is found half the times compared to the most common word. This power law applies also the population of cities in different countries and the sizes of companies. The largest city in the country has approximately twice the population of the second largest city. There are many power laws found in city sizes. For example, the bigger the population of the city, the less each person uses gasoline and the less road they need. All these power laws can be used in planning future cities.

Pareto´s law

Pareto´s law means that the minority of causes, inputs or efforts usually lead to a majority of the results, outputs or rewards. This rule states that there is an in-built imbalance between causes and results, inputs and outputs. Sometimes, this rule is defined as a 20/80-rule. For example, 20% of the customers bring 80% of the profits for the company. I wouldn´t really describe Pareto´s law with 20/80 rule, because these scales have so much variation. For example, only a small percentage of the authors sell almost 100% of the books. You have to invert, when you are using Pareto´s law too. For example, you need to understand that most of the bad things that happen have only few reasons. Most of your losses come from few sources. These rules apply to your relationships too. Most people are insignificant for your well-being, but few people cause most of the bad things in your life. Pareto´s law also means that small changes or lucky events may give big results. For example, when Oprah has recommended some products, their sales have gone through the roof.

Universe is full of power laws. You should understand these non-linearities as well as linear cause-and-effect relationships. These laws are much more usual than everybody thinks. Most of the people never notice them. Using power laws to your advantage is hard, but the results are worth the effort. Most of the misunderstood risks come from power laws. Do not ignore them.

Sources:


These power laws are related to misunderstood risks. They will be the topic for the next week.

-TT

Wednesday, February 21, 2018

Probabilities and statistics

First, I would like to say that I am no mathematician and I am only to some extent familiar with probabilities and statistics. I will keep this introduction in a very basic level. There are many better texts about probabilities and statistics. You should probably try to find better sources for these things.

Definitions

You can define probability as ”The extent to which an event is likely to occur, measured by the ratio of the favorable cases to the whole number of cases possible”. Probability can also be defined as ”The likelihood of given event´s occurrence”.

Statistics can be defined as ”A branch of mathematics dealing with the collection, analysis, interpretation, and presentation of masses of numerical data”. It can also be defined as ”A fact or piece of data obtained from a study of a large quantity of numerical data.

Basic things about probabilities

  1. The probability that two events will both occur can never be greater than each probability occurring independently. For example, a likelihood of you meeting a person who is a woman and likes ice-cream is never greater than you meeting a woman.
  2. If two possible events A and B are independent, then the probability that both A and B occur is equal to the product of their independent probabilities. For example, the probability of two consecutive heads in two coin flips is 0.5*0.5=0.25. Sometimes you need to calculate a conditional probability. For example, an event B occurs only if an event A has happened before. The probability of an event A happening will differ from the probability that A will happen if B occurs.
  3. If an event can have many different and distinct outcomes A, B and so on, then the probability that either A or B will occur is equal to the sum of the individual probabilities of A and B, and the sum of the probabilities of all the possible outcomes (A, B, and so on) is 100%. For example, you are throwing a dice with 6 numbers and you want to know what is the probability of you getting either a 1 or 2? The probability of either one happening is 1/6+1/6=1/3.
These three basic laws of probability form much of the basis of the probability theory. You should also remember that you can use inversion many times to make easier calculations for probabilities. For example, to get a probability for throwing the dice and getting 1,2,3,4, or 5 is easier by calculating a probability of not getting 6. The probability of an occurring event is always dependent on the number of ways it can occur. To calculate the ways an event can occur is easier, when you understand combinations and permutations. When you hear someone saying ”an outcome is probable, you really hear that an outcome is probable under some set of hypotheses he or she has about the way the world works. Maybe the most important way to use probabilities into one´s advantage is getting an an expected payoff. You get it by:

Multiplying the probability of each possible outcome by its payoff and add them all up

For example, you flip a coin with a friend and you bet 100$ for tails. The expected payoff is 0.5*100$=50$. You should always try to maximize the expected payoff in whatever you are doing.
Statistics

We have a saying in Finland: A lie, a big lie, and statistics. When there are two different parties like employee or employer organizations, they often interpret the same statistics differently. When this is the case, the truth is found from the middle. You should never take any interpretations of statistics at face value. Different incentives give different interpretations. There are so many ways of misinterpreting statistics that I will not get into them now. I will keep things short.

First, you need to understand a sample space which is the set of all possible outcomes. For example, when you are throwing a dice once your sample space is 1,2,3,4,5, and 6. When you work with the large sample space, you can help yourself by using a one value that describes the average value of the entire sample space.This is called the central tendency. Mean median and mode are ways to describe it. Lets keep this simple and think about the mean only. If you want to find a mean, you have to add up all the values at the data set and then divide them by the number of values you added to sample space. A sample space is an important feature in statistics. This applies especially to things that go with the normal distribution.

Normal distributions are often used to represent random variables whose distributions are not completely known. These distributions do not tell much about individuals. When the data represents bigger groups they work better. A bell curve describes the variation in normal distribution. Most of the observations are close to the mean. Curve slopes symmetrically downward in both sides of the mean. First, the number of observations diminishes fast and then slower, until it is hard to see any changes.

The bigger the sample size compared to the population, the more it reflects the underlying population of being sampled. These choices for the sample should be taken randomly. Otherwise the results are useless. A sample size of 100 in the poll or survey gives a margin of error that is too big for most of the purposes. A sample size of 1000 usually have a margin of error around 3%. Often this is enough. Repeating a survey with the same sample size do not give the same results. You should expect some variation in the results.

There is a difference between statistics and probability. Statistics concerns the inference of probabilities based on observed data. Probability concerns predictions based on fixed probabilities.

Shortly about randomness

A large number of independent random variables should be distributed according to the normal distribution. This is called the central limit theorem. For example, you want to manufacture 1000 screws that weigh 10 grams. You want to add enough metal that leaves each screw weighing 10 grams, when the screws are manufactured. According to the central limit theorem, the weight of your screws should vary according to the normal distribution. Unless this is happening, somebody is probably fabricating the results. There are many random processes in which the results look like a bell curve. For example, people´s heights, how long will they live, etc. There are also some processes in which the normal distribution is useless like damages from natural disasters, etc.

You can be fooled by randomness. Sometimes, random processes look like patterns of data. For example, so called hot hand, in which there is a shooting streak for a basketball player is actually mostly a random pattern. It doesn´t mean there is no skill involved. You just have to concentrate on the long term statistics, instead of short term patterns. It is not easy to separate random streaks from patterns. Among a large group of people, there are always random streaks that look like patterns. Our brains do not understand randomness well. It is better for acknowledging patterns, even when there isn´t any. Humans have a need to be in control of events. Random events do not confirm this need which creates a clash between reality and the need to feel in control.


Have a nice end of the week!

-TT

Tuesday, February 13, 2018

Feedback Loops

Definitions

Donella A Meadows has defined a feedback loop in her book ”Thinking in Systems” as ”A closed chain of causal connections from a stock through a set of decisions or rules or physical laws or actions that are depended on the level of the stock, and back again through a flow to change the stock.” A little simpler definition can be ”A path by which some of the output of a circuit, a system, or a device is returned to the input.”

Balancing feedback loops

These loops are goal or balance-seeking. They try to keep stocks stable and within a certain range. They also resist the change in systems. If stock level gets too high, balancing feedback loop will try to get it lower. If stock level is too low it tries to get it higher. For example, you have a room in which you want to keep a temperature within a certain range. You have a balancing feedback loop that keeps the temperature within the range you want. There are always some losses of heat in the room, when the temperature outside is colder. Your balancing loop adjusts the heating depending on how much colder the temperature is outside. When the temperature outside is much warmer than in the room, the heat outside comes in. Then your balancing loop will cool the air inside.

These balancing loops are not always working properly. The information from them can come too late, be unclear or incomplete or hard to understand. The action they cause can be delayed or ineffective, etc. Stock-maintaining balancing loops must have their goals set for compensating the draining or inflowing processes that change the level of the stock. All these loops have their own breaking point. This is the point where the pull of other loops is stronger than the pull of the balancing loop. When your heating system is not having enough heating power compared to the leaks outside, your room temperature gets too cold.

Reinforcing feedback loops

These loops are amplifying or reinforcing. They can cause virtuous or vicious effects of healthy growth or complete destruction. It creates a bigger or smaller inflow to a stock than is already there. Reinforcing loops enhance the direction of the change in a stock or a system. When a system element can reproduce itself or grows as a constant fraction of itself, reinforcing loops are found in the system. Reinforcing loops produce an exponential growth. Growth gets faster all the time. For example, the bigger the interest in your bank account, the more money you will get into your account every year, because you get the interest for the interest too. These loops may not change the system until the path of least resistance is overcome. For example, the sales of the new product may not start growing faster until a certain amount of product is sold.

Feedback loops are mostly linked together

Single loops are seldom at work in systems. Mostly, there are complex patterns of interconnecting loops. A single stock can have many balancing and reinforcing loops pulling in many directions. A single interconnecting flow can be attached to many different stocks. This flow can increase the ouflow of one stock and at the same time increase the inflows of many stocks. These feedback loops create a system behavior which is hard to predict. When you change the functioning or a goal of one loop, you may create changes in many others. In other words, one change can produce combinations of changes instead of one.

Lets keep things simple and concentrate on one stock system like population with both a balancing and a reinforcing feed back loops. This is one of the most common and important system structures. Lets start by identifying the most important inflows and outflows of the population. The most important inflow is people born into the population. The most important outflow is people dying. This kind of system changes when the relative strength of the loops change. In a normal situation, more people are born than dying. This means that the net effect of these loops is increasing population. It also means that the net effect is self-reinforcing growth in population.

When there is a sudden humanitarian catastrophe or a civil war in some population, the change reverses into diminishing population and the balancing loop dominates the behavior of the system. When these changes in relative strengths of feedback loops happen, the behavior of the system changes. A stock governed by linked balancing and reinforcing loops grows exponentially if the reinforcing loop dominates the balancing one. Stock declines exponentially if the balancing loop is dominant.

Other things to know about feedback loops

You have to remember that the delivery of information through a feedback loop will only affect future behavior. Feedback loop cannot deliver signal fast enough to have an effect in present. There are three typical delays in the real world. First, a perception delay. For example, a shopowner doesn´t react to any small changes in sales. She normally reacts, when the sales have changed for a longer time period, like five days. Second, there is a response delay. A shopowner makes up some part of any shortage with each new order. Third, there is a delivery delay. A subcontractor delivers the goods with delay because he has to process the order and deliver it. Changing the length of the delay will likely cause a large change in the system. When the delay is too short, the system behavior will likely oscillate.

Physical, growing systems are going to encounter limits. Those limits are balancing feedback loops. When the limits are achieved, these loops start dominating the systems by either strengthening the outflows or weakening the inflows. These limits are temporary or permanent. Eventually, the system will adjust to the limit or the limit will adjust to the system. There has to be at least one reinforcing loop delivering th growth and at least one balancing loop limiting the growth in the physical, exponentially growing systems. One interesting and important thing about feedback loops is that systems with similar feedback structures produce similar behaviors. Physically different parts do not really change behaviors.

Sources:

Donella H Meadows, Thinking in Systems
John H. Miller Crude Look at the Whole


Tuesday, February 6, 2018

Systems (updated)

Definitions

System is defined as: ”A set of things working together as parts of a mechanism or an interconnecting network; a complex whole or ”A set of principles or procedures according to which something is done; an organized scheme or method.

Examples

Universe is a system. Your body, habits and skills are systems. Most things we do are systems. Some systems are consisted on smaller subsystems like your body has skin, organs, etc. Latticework of mental models is an example of a thinking system.

Systems basics

All systems have elements, interconnections and a function or a purpose. Elements are not necessarily physical things. For example, your individual characteristics like self-confidence is a parts of the system called you. Anything with different elements is not a system. You have to ask yourself couple questions: Can you identify parts? Do they affect each other? Do they produce a behavior together that is different from the behavior with separate individual elements? And does the behavior over time stay the same in different circumstances? The interconnections are the relationships that keep the elements together. Interconnections can be physical and informational flows. Physical flows can be water going through the pipes, etc. A signal of measured temperature of the room may change the electric power used for heating. It is an informational flow. You should always think about the behavior of the whole system, even though you are concentrating on one element or interconnection.

A function or a purpose is not necessarily known consciously. It can be found by examining the system behavior for a while. You cannot really understand a purpose or a function if you believe in its stated purpose. This part is the most crucial part of the system. The system is changed, when its purpose or function changes without any changes in elements or interconnections. Changing the purpose or a function of a system is one of the best ways to make it better. Depending on the system, it can be one of the hardest things to do. Change in the interconnections change the system too. It can become unrecognizable. Changing the elements of the system do not create big changes in the system, unless they do not change the purpose or the interconnections of it.

The element of the system you can feel, see or measure at any given time is a stock. It can be a temperature in the room, a group of people or the amount of cars in the inventory. Flows are the actions that create the change over time for stocks. Flows change the amount of stocks within the system. If you understand the behavior of stocks and flows over time, you understand a lot about the behavior of the system.

Think about the room temperature when there is cold weather outside. The heating system creates inflows and the bad insulation creates outflows of the heat in the room. Change in the heating power changes the temperature inside as does the change in the temperature outside the room. When the inflow is equal to the outflow, the temperature stays the same. In other words, a temperature can be increased by decreasing its outflow rate as well as by increasing the inflow rate. These changes are mostly slow.

Stocks work as delays or buffers of the system. The bigger the stocks, the responses to the changes are slower. These changes happen mostly gradually. The speed of changes in systems are set by the changes in stocks. Stocks help inflows and outflows stay independent from each other. Flows can also be temporarily ouf of balance, because stocks work as buffers. The volumes of stocks can be changed by changing the volumes of flows. Keeping the stocks in the acceptable ranges, we need feedback processes that manipulate the volumes of flows.

Self-reinforcing, self-stabilizing feedback loops and delays

If you see a system behave consistently over time, there is likely to be a mechanism called feedback loop. There is a feedback loop, when changes in stock affect the flows into or out of the same stock. Feedback loops can be either self-reinforcing or self-stabilizing. Universe is always expanding. The interest on interest compounds the debt. In self-reinforcing loops, the previous outflows of the stock change the inflows coming into the stock and amplify the outflows coming out of the stock. What happens is that eventually self-reinforcing stock gets to the point where the amplifying destroys the whole system. The other possibility is that the limit of growth comes to the point where the growth stops, slows, diverts or reverses. When this happens, a self-stabilizing feedback loop is formed.

This self-correction keeps the system working without exploding. Every natural system has an optimal growth rate. You should use it into your advantage. Your skin keeps the temperature of your body from overheating by sweating if you are in an environment in which the temperature is too high or you are exercising. It can be hard to notice these stabilizing processes, even though they are mostly necessary. You should keep the self and self-stabilizing loops and their interaction in balance. You should always limit the effect of self-stabilizing processes on self-reinforcing processes in balance. Most systems have many interacting feedback loops.

All the systems have delays. Feedback loops always have some delays. People have a natural tendency in focusing on the consequences you see right after you have done something. The second and third order consequences may come after a long delay. In complex systems, consequences can come after years. You may concentrate on the symptoms, rather than the solutions because of the delays. Some system structures have unrecognized delays and they can lead to wrong solutions. You should have better awareness about the delays. And you should also remember that causes and effects are not always close in time. When you notice a delay in the system, you have to find out, whether the length of the delay is too short or too long. When the delay is too short, it leads to too much variation for the outflow of the system. When the delay is too long the system can become too stable and ineffective.

Small changes in systems can create big results

This happens in individual circumstances as well as in systems. Well-focused small actions aimed for changing the system can create surprisingly big results. Solving a difficult problem can be a matter of finding the system structure in which the small change delivers the big and lasting results. Most often finding these structures is hard. You need to understand the system and how its parts interact with each other. Otherwise you will never find the right structures for these high leverage improvements. You cannot do this without understanding the system as a whole.

Reacting to the change in the system is a lot easier than truly understanding its cause-effect relationships and ways to improve it with small changes. Reacting to the change can be a bad thing. It may cause small changes to the system structure creating bigger problems through self-reinforcing feedback loops. Changing a system structure can have different consequences in the short run and in the long run. Different parts of the systems can also have different consequences caused by the small changes. You also have to think about interactions of the parts before changing anything in one part of the system.

Most results in your life depend on the quality of your systems

You are mostly focusing on the different parts of your systems in a particular moment without thinking about the system as a whole or any long-term consequences. Your systems can deliver results that exceed the sums of their parts by a large margin. They can also deliver results that are not even close to the sums of their parts. People using the same systems tend to produce similar results. When you do not change your systems you cannot expect different results. Most often the results you get are not caused by other people, some particular conditions, bad luck or some other explanations. The reason for bad results are the systems or their implementation or your understanding of them. You should think a lot more about the quality of our systems or their subsystems. Then you can get better results. You cannot really improve yourself without improving your systems.


Have a nice week!

-TT