I have a variable with many categories and want to create new variables for each one. Is there a way to not do it one by one?
Thank you
Array
Related Posts with Create variables from a categorical variable
average log size in panel dataHello, I have a random effects model with clustered errors and I would like to add the log size to …
Graphing a multilevel model with interaction effectHi all! I'm looking for suggestions on how to graph a multilevel model I'm working on. I'm working…
Using the new table collect row percentages for multiple factor variablesHi all, I recently attended the webinar on customizable tables in Stata 17. One of the sample table…
I got different result from xtreg and eventddHello, I have unbalanced panel data, the DV is shortage, and the Independent variable civica_status …
Dropping string observations starting with a numberHi. I have the following data and want to delete all observations where the Product starts with a nu…
Subscribe to:
Post Comments (Atom)
0 Response to Create variables from a categorical variable
Post a Comment