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
Is there a way to highlight which obs are being omitted in clogit?Hello, I am trying to run clogit and I get the following note: "1,268 groups (11,377 obs) omitted b…
Newey-West estimation for time series data for multiple countriesHello there, I have a monthly dataset (6 dependent variables and 5 independent variables) for 23 co…
How to choose a reference category in multinomial logistic regression?Hello, I have 2 questions if anyone can help: 1) I have 2 groups (treatment and control), and the …
Labels in by group variable using estpost tabstatHi everyone, I am trying to export a descriptive statistics table using estpost tabstat and esttab …
Is there a way to list the observations that share a particular set of values for one variable?Hello everyone, [EDIT: I just realize that's not how people have been posting code - please bear wi…
Subscribe to:
Post Comments (Atom)
0 Response to Resample data
Post a Comment