Once upon a time, there was a tiny oak tree sapling named Peety. Peety dreamed of growing up into a mighty oak tree.
Each year, Peety grew a little bit taller. He stretched his branches toward the sun and felt his trunk thicken as he grew.
Over many years, Peety grew from a sapling into a young tree and finally into a tall, mature oak! He was so tall that he could see over the whole forest.
Peety noticed that the other tall oak trees had thick trunks, too. His friend Paul reached high into the sky just like Peety. Paul's trunk was thick and sturdy at the base.
The small saplings that were sprouting had skinny little trunks. But Peety knew that would change over time as they grew taller.
Peety realized that, just like him, the taller an oak tree was, the thicker its trunk became.
So even though the forest was filled with all different sizes of oak trees, Peety noticed a pattern - a correlation between tree height and trunk width. The tall trees always had thicker trunks, while the small saplings had skinny trunks. This was how pine trees grew strong enough to reach great heights!
If you record how a tree grows - its height and trunk thickness - and plot it on a picture or graph, then the correlation is when these two things change together. That is, if you see that one is increasing, the other is also increasing, and vice versa.
The SDTEST® gives clues to someone's motivational values. However, additional polls can provide more pieces of the puzzle.
Imagine also giving a "Fears" poll. It asks people to rate different fears from 0 (not scary) to 5 (very scary).
Now imagine 100 people who took both tests. You could match up each person's SDTEST® colors with their rated fears.
If people high in Blue values feared uncertainty more, that insight ties values to perceptions. Blue people may resist change more.
Or if Orange achievers feared failure most, that reveals their drive. They may overwork to avoid mistakes.
Comparing tests gives an expanded picture of values in action. More puzzle pieces make the whole image more apparent!
Multiple tests can work together, like colors blending on a palette. Other polls reveal what engages your values, like how your hobbies show what activities you enjoy most. Combined, they paint a richer picture of what motivates our thoughts and deeds.
Below you can read an abridged version of the results of our VUCA poll “Fears“. The full results of our VUCA poll “Fears“ are available for free in the FAQ section after login or registration.
Strahovi
Vsa vprašanja
Moj največji strah je
Moj največji strah je
Answer 1
11%
3
0
5
4
0
4
5
5
1
0
5
4
0
4
3
3
4
4
0
5
4
0
2
5
2
5
5
5
5
4
0
5
5
4
2
5
0
5
3
2
5
0
5
5
1
0
3
3
0
0
0
2
3
5
3
4
4
4
4
4
5
5
5
5
2
1
5
1
2
0
5
4
5
0
5
0
1
5
5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0
1
0
4
0
1
1
0
0
0
0
0
0
0
0
0
0
3
0
0
0
0
2
1
0
0
0
0
0
0
3
0
0
0
0
0
0
0
0
1
0
0
0
0
2
3
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
1
0
0
3
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
1
0
0
2
0
0
0
1
0
0
0
1
0
1
0
0
0
Prikaži 3497 rezultate na grafikonu
Izberite rezultat (e-pošta) za izvoz
Izberite rezultat (e-pošta) za izvoz
Izvoz v MS Excel
Ta funkcionalnost bo na voljo v vaših lastnih volilih VUCA
2023.11.22
Valerii Kosenko
Lastnik izdelka SaaS Pet Project Sdtest®
Valerii je bil leta 1993 kvalificiran kot socialni pedagog-psiholog in je od takrat uporabil svoje znanje pri upravljanju projektov.
Valerii je magistriral in kvalifikacijo projekta in vodje programa leta 2013. Med magistrskim programom se je seznanil s projektnim načrtom (GPM Deutsche Gesellschaft Für Projektmanagement e. V.) in spiralno dinamiko.
Valerii je opravil različne teste spiralne dinamike in svoje znanje in izkušnje uporabil za prilagoditev trenutne različice SDTest.
Valerii je avtor raziskovanja negotovosti V.U.C.A. Koncept z uporabo spiralne dinamike in matematične statistike v psihologiji, več kot 20 mednarodnih anket.