Hi everyone,
A quick question: I run negative binomial regression models with binary and continuous variables in it. Ex:
For continuous variables, I would like calculate how a one standard deviation in X from the mean is associated with a % increase in the frequency of Y.
Any idea how I can calculate this in Stata? Is it the margins command?
Thanks!
UPDATE: As I understand it, I need to standardize the variable to a mean of zero and a standard deviation of 1. This is easily done: egen X_std = std(X). If this is correct, I'll need this standardized version of the variable. But then again, I do I convert the results to percent increases/decreases?
A quick question: I run negative binomial regression models with binary and continuous variables in it. Ex:
Code:
nbreg Y X X1 X2 X3..etc
Any idea how I can calculate this in Stata? Is it the margins command?
Thanks!
UPDATE: As I understand it, I need to standardize the variable to a mean of zero and a standard deviation of 1. This is easily done: egen X_std = std(X). If this is correct, I'll need this standardized version of the variable. But then again, I do I convert the results to percent increases/decreases?
Comment