Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • pbalchk for chekcing of covariate balance for categorical variables

    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
Working...
X