Hi everyone,
I need to conduct a series of regression analyses with negative weights. (I know this is unusual but it is conceptually sound.) The Stata manual says that negative weights are allowed when specified in the "svyset" function with the iweights option. (Syntax svyset id [iweights = w])
This worked with the svy:regress and svy:logistic commands, but when I tried svy:poisson or svy:glm, I got an error for "negative weights encountered". Is there a way to model count data with negative weights?
I need to conduct a series of regression analyses with negative weights. (I know this is unusual but it is conceptually sound.) The Stata manual says that negative weights are allowed when specified in the "svyset" function with the iweights option. (Syntax svyset id [iweights = w])
This worked with the svy:regress and svy:logistic commands, but when I tried svy:poisson or svy:glm, I got an error for "negative weights encountered". Is there a way to model count data with negative weights?
Comment