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.
ကေြာက်ရ
မေးခွန်းများအားလုံး
ကျွန်တော့်ရဲ့အကြီးမားဆုံးကြောက်ရွံ့မှုက
ကျွန်တော့်ရဲ့အကြီးမားဆုံးကြောက်ရွံ့မှုက
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
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
1
0
1
0
0
0
1
0
0
0
2
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
1
0
ပြပွဲ 3520 ဇယားအပေါ်ရလဒ်များ
ပို့ကုန်များအတွက်ရလဒ် (အီးမေးလ်) ကို Select လုပ်ပါ
ပို့ကုန်များအတွက်ရလဒ် (အီးမေးလ်) ကို Select လုပ်ပါ
က MS Excel ကိုတင်ပို့
ဤလုပ်ဆောင်ချက်ကို သင့်ကိုယ်ပိုင် VUCA စစ်တမ်းများတွင် ရရှိနိုင်ပါသည်။
2023.11.22
valerii kosenko
ထုတ်ကုန်ပိုင်ရှင် Saas Pett Project SDTESS®
Valerii သည် 1993 ခုနှစ်တွင်လူမှုရေးသင်ကြားမှုစိတ်ပညာရှင်အဖြစ်အရည်အချင်းပြည့်မီပြီးစီမံကိန်းစီမံခန့်ခွဲမှုတွင်သူ၏ဗဟုသုတကိုကျင့်သုံးခဲ့သည်။
Valerii သည် 2013 ခုနှစ်တွင်မဟာဘွဲ့နှင့်စီမံကိန်းနှင့်ပရိုဂရမ်မန်နေဂျာအရည်အချင်းကိုရရှိခဲ့သည်။ သူသည်သခင်၏အစီအစဉ်တွင်သူသည်စီမံကိန်းလမ်းပြမြေပုံ (GPM Deutsche Gesellschaft für pro projektmanagent) နှင့်အကျွမ်းတဝင်ဖြစ်လာခဲ့သည်။
Valerii သည် sdtest ဗားရှင်းကိုလိုက်လျောညီထွေဖြစ်အောင်ကြိုးပမ်းမှုအမျိုးမျိုးသော Dynamics အမျိုးမျိုးသောစမ်းသပ်မှုများကိုပြုလုပ်ခဲ့ပြီးသူ၏ဗဟုသုတနှင့်အတွေ့အကြုံများကိုအသုံးပြုခဲ့သည်။
Valerii သည် V.U.C.A. ၏မသေချာမရေရာမှုကိုစူးစမ်းလေ့လာခြင်း၏စာရေးသူဖြစ်သည်။ အယူအဆသည်စိတ်ပညာဆိုင်ရာလိမ်လည်မှုနှင့်သင်္ချာဆိုင်ရာကိန်းဂဏန်းများကို အသုံးပြု. အပြည်ပြည်ဆိုင်ရာရွေးကောက်ပွဲပေါင်း 20 ကျော်ကိုအသုံးပြုသည်။