Hi everyone, I hope someone can help me with this question. I have a dataset includes 1000 observations. Among that, 800 observations has variable "treatment = yes" and 200 observations has variable "treatment= no". I want to resample the with the size of new sample is 1000, where observations which has "treatment = yes" is replacement, and observations which has "treatment = no" is without replacement. Could someone please help me with this? Thanks in advanced.
Related Posts with Resample data
Manipulating string -- Delete everything after space Code: +--------------------------------------------------------+ | sex age …
OLS on survey dataDear All, I have run an ols model on survey data. Is it possible to perform a robustness check. sv…
Suppress legend on twoway graphI'm generating a graph with lines of best fit and it works fine but when I try and suppress the lege…
Invalid SyntaxWe wanted to create an do-file for a coefficient-estimation for the previos 36 months for each fund …
Fixing a specific value within a column based on another variable when generating a new variable through a formula.Hello all, I recognize the title is probably a bit confusing so I am gonna try to illustrate what I…
Subscribe to:
Post Comments (Atom)
0 Response to Resample data
Post a Comment