Dear all, I have to create a treatment and a control group. For example, I have a variable called "b" and I have to divide a between treatment and control. On another variable "a" there is written a number 1 and 0. It is on the side of "b" and the meaning is that it assign each observation to treatment and control. How do I divide "b" on the basis of the information contained in "a" ?
Related Posts with Treatment and control
issue with adding lines to yscale in profileplotHello, I am using profileplot from SSC in Stata 15.1 to plot mean trajectories over 10 time points.…
Bootstrapping proportionsHi - I'm new to Stata and need help with what is probably a simple task, if you know how to do it. …
Gravity model ppmlhdfe last estimates not foundHi all, I have been dealing with this set of data for a long time, but still can not get to final r…
CFA: How to set variance of factor to one?Hi I am working on a measurement model in Stata. I want to extract the standardized factor score wi…
Create a average variableHello everyone! i have two variables: ing (as income) and region (as region/state), i want to have t…
Subscribe to:
Post Comments (Atom)
0 Response to Treatment and control
Post a Comment