Hi, I happened to use a categorical variable without recoding it in a logit regression and found Stata actually treated group 1 as the reference group. And the results showed no difference from a recoded variable when group 1 is given the value 0. Is it just me who never knew that?
Related Posts with Stata takes the first group in categorical variables as the reference group?
Converting Year response into 4 digit year using the century and if conditionHi family, I have a data set where the year of interview was taking from the last 2 digit. example, …
How can I calculate the turning point of a moderator at given values in Stata?Hi all, here is the example, please run it in Stata, and ignore the issue of significance. Code: *…
Extract data from 1000 regression tablesHi, I am using this command below for 1000 variables as an outcome. foreach outcome of varlist B-A…
Sargan test P value = 0 meaningHi What does a sargan test p value = 0 imply? does it mean my instruments are valid? I read that sa…
producing new variable based on the mean of three variablesHi, I would like to calculate the mean of systolic blood pressure based on three observations for e…
Subscribe to:
Post Comments (Atom)
0 Response to Stata takes the first group in categorical variables as the reference group?
Post a Comment