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
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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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
1
0
0
0
2
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
1
चार्टवर 3524 परिणाम दर्शवा
एक परिणाम (ईमेल) निर्यात निवडा
एक परिणाम (ईमेल) निर्यात निवडा
MS Excel निर्यात
ही कार्यक्षमता आपल्या स्वत: च्या VUCA निवडणुकीत उपलब्ध होईल
2023.11.22
वलेरी कोसेन्को
उत्पादन मालक सास पाळीव प्राणी प्रकल्प sdtest®
१ 199 199 in मध्ये वलेरी एक सामाजिक पेडोगॉग-सायकोलॉजिस्ट म्हणून पात्र ठरली होती आणि त्यानंतर त्यांनी प्रकल्प व्यवस्थापनात आपले ज्ञान लागू केले.
व्हॅलेरीने २०१ 2013 मध्ये पदव्युत्तर पदवी आणि प्रकल्प आणि प्रोग्राम मॅनेजर पात्रता प्राप्त केली. आपल्या मास्टरच्या कार्यक्रमादरम्यान, तो प्रोजेक्ट रोडमॅप (जीपीएम ड्यूश गेसेल्सचफ्ट फर प्रोजेक्ट मॅनेजमेंट ई. व्ही.) आणि सर्पिल डायनेमिक्सशी परिचित झाला.
व्हॅलेरीने विविध सर्पिल गतिशीलता चाचण्या घेतल्या आणि एसडीटीस्टची सध्याची आवृत्ती अनुकूल करण्यासाठी त्याचे ज्ञान आणि अनुभव वापरले.
वॅलेरी हे व्ही.यू.सी.ए. च्या अनिश्चिततेचा शोध घेण्याचे लेखक आहेत. मानसशास्त्रातील सर्पिल गतिशीलता आणि गणिताची आकडेवारी वापरुन संकल्पना, 20 हून अधिक आंतरराष्ट्रीय मतदान.