Hi,
I am using pbalchk by Mark Lund, but having trouble with the following code...
egen sumofweights=sum(ipw)
gen normweights=ipw/sumofweights
pbalchk wearable_tracker i.gender
The help suggests that categorical variables can be used, but I am unable to get the syntax to work. I would be most grateful for any suggestsions.
Anand
I am using pbalchk by Mark Lund, but having trouble with the following code...
egen sumofweights=sum(ipw)
gen normweights=ipw/sumofweights
pbalchk wearable_tracker i.gender
The help suggests that categorical variables can be used, but I am unable to get the syntax to work. I would be most grateful for any suggestsions.
Anand