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
PstestHi, I'm using Stata 16 for my analysis. I've run the pstest command to obtain results for the balan…
Difference-in-differences estimator for time-invariant subgroupsI have a conceptual question. I have a standard difference in differences (DiD) model Code: Y_{i,…
Problems with Merge 1:1 using unique id numberGood morning all, I am a PhD student and relative newcomer to Stata and was hoping you might be able…
Fixed effects for IV using cross section dataDear Statlist users, I am studying the impact of parental investments in early childhood, as record…
Generating elasticities for individual cases using the 'aidsills' commandDear Statalisters, I'm using the 'aidsills' command for estimating demand systems developed by Lecoq…
Subscribe to:
Post Comments (Atom)
0 Response to Resample data
Post a Comment