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?
Confidence interval in survey analysisDear all, I have been analyzing survey data in Stata, and I encounter a problem regarding value of …
Propensity Score Matching in a Panel settingHi, I working with a panel data, 6 years of data. I am trying to use propensity score matching to ma…
Creating a matrix containing the minimum element-by-element value from other matricesHello. I am trying to create a new matrix in which each element is definied as the minimal value of …
Identify internal numeric logic between string and numeric variables?Hi Statalisters, I have the following dataset with three variables, srcdate, srcyear, and fiscalyea…
Extracting the number of countries in the estimation as a scalar I wish to extract the number of countries in an estimation as a scalar. I export the results to L…
Subscribe to:
Post Comments (Atom)
0 Response to Stata takes the first group in categorical variables as the reference group?
Post a Comment