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
Repeated Measures Correlation QuestionHello all! Beginner stats student here. I was hoping to gain some insight from the board in how to …
Numlist in foreach loop, when number is within variable nameI have been trying to use ‘numlist’ in a foreach loop as I have a list of about 100 variables, all r…
Binary outcome equation with a categorical selection equationHello all: I have a two stage model. The first stage is a selection equation with a categorical vari…
Line break in a string variable, its posible?Hi all, I wonder if its posible a line break in a string variable, my idea is use this variable in …
Generating a numeric variable from string variableI currently have a variable called "Residence" which takes on two values: Urban and Rural I'm gener…
Subscribe to:
Post Comments (Atom)
0 Response to Resample data
Post a Comment