Hello,
I have a data set with 3 columns that has pairs of roommates with their current room number. I want to generate a new data set such that each person gets a new room mate and both of them get a new room (with no repetition of any kind). Any suggestions on how I can do this?
Thanks in advance for the help.
Best,
Janaki
Related Posts with Randomly generating new list of room mates and room numbers from an existing list
Mediation Panel dataDear all, I am currently conducting a fixed effects panel regression in Stata with the following va…
Maximum value per year per ticket?Hi Stata users, Do you know how it is possible to sort on maximum value per year and per ticket? Fo…
Importing several sas7bdat files to Stata and saving them in seperate folderHello everyone, I have received ~300 .sas7bdat files that I need to import to Stata and save them a…
Need assistance with histogram or bar graphI am having difficulty getting a histogram that was fairly easy to do in python with pyplot. I have …
Counting and storing the value in a new variableI am trying to calculate the number of earners by household and then storing this number in a new va…
Subscribe to:
Post Comments (Atom)
0 Response to Randomly generating new list of room mates and room numbers from an existing list
Post a Comment