# Randomly selecting participants until sample size equals an integer, then repeating this 1000 times prior to analysis

4 messages
Open this post in threaded view
|

## Randomly selecting participants until sample size equals an integer, then repeating this 1000 times prior to analysis

 Hey everyone, I have the following question for the following data set. I have 5 conditions with 1 variable of interest (scale 0-20). All conditions have both men and women, but there are more women than men in all conditions. I do find a statistically significant effect between genders in some of these conditions, but I would like to investigate if this effect would also hold true if the genders were evenly distributed. So I aim to randomly select female participants in each condition up until their n is equal to the male n (without replacement). Then I'd like to do that 1000 times and then run the analysis again. Is there any way to do that in SPSS? Thank you very much for your help! Best, Philipp -- Sent from: http://spssx-discussion.1045642.n5.nabble.com/===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD
Open this post in threaded view
|

## Re: Randomly selecting participants until sample size equals an integer, then repeating this 1000 times prior to analysis

 Why not weighting your cases so that both groups are equally sized within your treatments?Mario GieselMunich, Germany Am Donnerstag, 12. November 2020, 11:36:40 MEZ hat Philipp802 <[hidden email]> Folgendes geschrieben: Hey everyone,I have the following question for the following data set. I have 5conditions with 1 variable of interest (scale 0-20). All conditions haveboth men and women, but there are more women than men in all conditions. Ido find a statistically significant effect between genders in some of theseconditions, but I would like to investigate if this effect would also holdtrue if the genders were evenly distributed.So I aim to randomly select female participants in each condition up untiltheir n is equal to the male n (without replacement). Then I'd like to dothat 1000 times and then run the analysis again.Is there any way to do that in SPSS?Thank you very much for your help!Best,Philipp--=====================To manage your subscription to SPSSX-L, send a message to[hidden email] (not to SPSSX-L), with no body text except thecommand. To leave the list, send the commandSIGNOFF SPSSX-LFor a list of commands to manage subscriptions, send the commandINFO REFCARD ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD