Page 1 of 1

Randomised Sample

Posted: Mon Sep 16, 2019 8:45 am
by Brenna
This is my first ever time doing reaserch and using Jamovi. I need to create a randomised sample containing 95% of participants. Is this possible? I have read the user guide and googled, but no luck with finding how to do it. Sorry if it is a stupid question!

Re: Randomised Sample

Posted: Mon Sep 16, 2019 9:11 am
by jonathon
hi,

you can use the simulation functions to exclude a random selection of variables.

for example, you could add a filter and specify the formula:

UNIF() < 0.95

UNIF() (by default) generates values from a uniform distribution between 0 and 1. hopefully you can see that combining it with the test, would be true 95% of the time, and on average 5% of the row/participants would be excluded.

a potential problem is that it won't necessarily be *exactly* 95% ... but only on average will it be 95%

so you could repeat the process until you get exactly 95% if that's important.

cheers
Screen Shot 2019-09-16 at 19.04.35.png
Screen Shot 2019-09-16 at 19.04.35.png (501.12 KiB) Viewed 7069 times

Re: Randomised Sample

Posted: Mon Sep 16, 2019 10:52 pm
by Brenna
Thank you so much!