# Distribution Function Uniform or Normal

**URL:** <https://forum.avicennaresearch.com/t/distribution-function-uniform-or-normal/611>\
**Category:** Support\
**Created:** [March 21, 2023, 12:24pm UTC](https://forum.avicennaresearch.com/t/distribution-function-uniform-or-normal/611 "2023-03-21T12:24:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![h.j.m.nieterau](https://forum.avicennaresearch.com/letter_avatar_proxy/v4/letter/h/9f8e36/32.png) [@h.j.m.nieterau](https://forum.avicennaresearch.com/u/h.j.m.nieterau)\
**Post date:** [March 21, 2023, 12:24pm UTC](https://forum.avicennaresearch.com/t/distribution-function-uniform-or-normal/611/1 "2023-03-21T12:24:45Z")

</div>

Hello,

Based on other studies and after careful deliberation, I decided to use a specific semi-random sampling scheme in my study. Six times a day, participants will be prompted within a 30-minute time frame. Additionally, each participant gets 30 minutes to complete the questions. Yet, while programming the trigger logic, I came across the distribution function. Although I’ve read a lot on fixed, random, and semi-random sampling schemes, I haven’t read about the specific distribution of the prompts (uniform vs. normal) in the literature.

I can imagine several pros and cons for both uniform and normally distributed prompts, but I wondered if you could provide me with more information on these options. I would love to hear about (simulation) studies that used different forms or even compared the two.

Another small question:  
I wondered if it is possible for participants to either choose not applicable OR fill in a slider as answer options to one single question.

Thank you very much!

---

<div class="post-metadata">

**Author:** ![m.hashemian](https://forum.avicennaresearch.com/letter_avatar_proxy/v4/letter/m/a5b964/32.png) [@m.hashemian](https://forum.avicennaresearch.com/u/m.hashemian)\
**Post date:** [March 22, 2023, 12:51pm UTC](https://forum.avicennaresearch.com/t/distribution-function-uniform-or-normal/611/2 "2023-03-22T12:51:43Z")

</div>

Hi @h.j.m.nieterau

Welcome to our forum, and thanks for your detailed question.

The two distribution functions simply specify how Ethica should pick a time within the define time-window.

For example, assume you program your triggering logic to prompt a survey once a day, at a random time between 9 to 10 am. Now if you choose the “Uniform Distribution Function”, the chance of selecting every minute between 9 to 10 am will be equal (follows a uniform distribution), but if you choose “Normal”, the chance of choosing 9:30 will be more than choosing 9 or 10 (follows [normal distribution](https://en.wikipedia.org/wiki/Normal_distribution)).

Your second question was a bit unclear. You mean you want to have a [Single Answer](https://learn.ethicadata.com/reference/survey/questions#single-answer) question, in which one option is “N/A”? Well, that can be done very easily.  
Or you want to have a Single Answer Question where one option is a [Slider Question](https://learn.ethicadata.com/reference/survey/questions#visual-analog-scale-vas)? That, we don’t support and I cannot think of a use case for it!

Thanks,  
Mohammad

---

<div class="post-metadata">

**Author:** ![h.j.m.nieterau](https://forum.avicennaresearch.com/letter_avatar_proxy/v4/letter/h/9f8e36/32.png) [@h.j.m.nieterau](https://forum.avicennaresearch.com/u/h.j.m.nieterau)\
**Post date:** [March 23, 2023, 1:20pm UTC](https://forum.avicennaresearch.com/t/distribution-function-uniform-or-normal/611/3 "2023-03-23T13:20:07Z")

</div>

Dear Mohammad,

Thank you for the quick response.

Also thanks for the clarification on the Distribution Function. Do you think a normal distribution would improve predictability for participants? And thus, maybe improve compliance rates but negatively affect ecological validity?

Here is an example for the second question: “In the last hour, thinking of my child made me happy.” Answer options on the slider: “not happy - extremely happy” However, if the participant did not think about its child, it’s hard to fill in. When there is an option N/A; “I didn’t think about my child”, then it would save us one extra question: (1)“In the last hour, I thought of my child” answer options “yes/no” and if they fill in yes: (2) “these thoughts were… not happy - extremely happy”.

Thank you.

Best,  
Merlin

---

<div class="post-metadata">

**Author:** ![m.hashemian](https://forum.avicennaresearch.com/letter_avatar_proxy/v4/letter/m/a5b964/32.png) [@m.hashemian](https://forum.avicennaresearch.com/u/m.hashemian)\
**Post date:** [March 23, 2023, 2:01pm UTC](https://forum.avicennaresearch.com/t/distribution-function-uniform-or-normal/611/4 "2023-03-23T14:01:31Z")

</div>

> [@h.j.m.nieterau](#):
>
> Do you think a normal distribution would improve predictability for participants? And thus, maybe improve compliance rates but negatively affect ecological validity?

Well, I cannot give an educated opinion here. I have not run any analysis nor have seen any myself. Sorry.

> Here is an example for the second question: “In the last hour, thinking of my child made me happy.” Answer options on the slider: “not happy - extremely happy” However, if the participant did not think about its child, it’s hard to fill in. When there is an option N/A; “I didn’t think about my child”, then it would save us one extra question: (1)“In the last hour, I thought of my child” answer options “yes/no” and if they fill in yes: (2) “these thoughts were… not happy - extremely happy”.

Unfortunately there is no other way than having two questions (as you said towards the end of your message). And I would argue this is a preferred method as well. This about it from two aspects:

1. From the analysis, have two variables for “did\_think\_about\_child” with “yes/no” options, and “happiness\_from\_thinking\_about\_child” with a number value is better than having just one variable containing both of these.
2. From the user experience perspective, combining these two questions into one leads to a more complex user interface IMO.

Hope it helps,  
Mohammad

---

<div class="post-metadata">

**Author:** ![h.j.m.nieterau](https://forum.avicennaresearch.com/letter_avatar_proxy/v4/letter/h/9f8e36/32.png) [@h.j.m.nieterau](https://forum.avicennaresearch.com/u/h.j.m.nieterau)\
**Post date:** [May 11, 2023, 8:56am UTC](https://forum.avicennaresearch.com/t/distribution-function-uniform-or-normal/611/5 "2023-05-11T08:56:29Z")

</div>

Dear Mohammad,

Yes, it sure did. Thanks!

Merlin
