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
by()-option in twoway graphs: Getting rid of the boc around the titleDear Statalisters, I have a rather simple question about formatting graphs, but I couldn'f figure i…
how to calculate the experience diversity of panels?Every expert panel has about 5 experts, every expert has different experience such as service, R&…
odbc load can't find data sourceHi All - I've been trying to query an ODBC (.accdb) file via Stata 16 on a Mac. (This is for a loca…
Convolutions of two WTP empirical distributionsDear statalist, Have anyone coded a covolution to evaluate equality of empirical WTP distributions?…
Survival analysisDear all, I'm restructuring my historical datasets to perform survival analysis. My data is in a non…
Subscribe to:
Post Comments (Atom)
0 Response to Resample data
Post a Comment