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
dummy for interaction variables in regressionHi Here I am again i.wealthindex*i.educationlevel === What is the correct stata command / syntha…
storing logit regression coefficients as new variable?Hi everyone! My question is as stated in the title: I'm running a logit regression and am looking to…
Showing the difference of two variables in a graphGood morning, I would like to know how I can compare two variables, a measured one and a self-repor…
Insignificant OLS results but significant IV regression resultsDear all, I do a regression (Y is a dependent variable and X is an independent variable) OLS gets …
Endogeneity using IV estimatorHi I'm using IV estimator in stata for 2SLS test. I'm wondering each instrumental should be used in …
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