Randomised Sample
Randomised Sample
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
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
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