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
How to conduct multiple impulation when all variables have missing values?Dear all, I am working with my resident survey data (n=8356) including 59 items, most of which are …
SEM Builder: Wrong modelHi, I am trying to run a first-order four-factor model in Stata 15 SEM Builder: Array However, the …
The krls command and panel data regressionsHello Forum members, I have come across the krls command for Kernel-Based Regularized Least Squares…
create a complex macroDear all, I want to get three models like this: logistic cancer var1 logistic cancer var2 logistic c…
Strong Correlation of Variables in Spearmans'rho MatrixHello Just before doing a panel regression, I wanted to look at the correlation matrix for the desc…
Subscribe to:
Post Comments (Atom)
0 Response to Resample data
Post a Comment