Selecting a sample after filtering

General help and assistance with jamovi. Bug reports can be made at our issues page: https://github.com/jamovi/jamovi/issues . (If you're unsure feel free to discuss it here)
Post Reply
PatWilliams
Posts: 2
Joined: Fri Nov 30, 2018 8:52 pm

Selecting a sample after filtering

Post by PatWilliams »

I applied a filter to a data set (n = 790) to remove scores below a certain level from my analysis. I then attempted to select a sample of 16 from the remaining 130 scores by computing a new variable and using the function = SAMPLE(Var,16). But instead of a sample of 16, the result was a sample of only 4. Am I doing something wrong? Is there a way to do this and get a sample of the specified number?
User avatar
jonathon
Posts: 2625
Joined: Fri Jan 27, 2017 10:04 am

Re: Selecting a sample after filtering

Post by jonathon »

hi,

this looks to be a bug in the SAMPLE() function. i've created an issue here that you can follow the progress of us fixing it.

https://github.com/jamovi/jamovi/issues/1297

with thanks
Post Reply