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
10-year probabilities after stcrregDear all, I would like to calculate the 10-year risk of stroke for each individual in my dataset, g…
Translog cost function using foreach and one_id programHi, I have a panel of 270 firms with quarterly observations ranging from year 2000 to 2019. I want…
create a 2-way summary tableHi all My data include - id and industry are the firm id and the industry of the firm - first_cer…
float to string format error results in wrong values -- why?I need to create the fipscode for census tracts that were formatted incorrectly. The error occurs w…
Stereotype logistic regression vs. Multinomial and Ordinal Logistic RegressionWhat are the ways to compare the fit of multinomial, ordinal, and stereotype logistic regression to …
Subscribe to:
Post Comments (Atom)
0 Response to Resample data
Post a Comment