Hi, I am new to STATA and would really appreciate if someone could advise me on the following:
I would like to generate a new categorical variable that would correspond to histogram bins.
I have 200759 observations, 7064 bins (0.005 widths); min value of the variable is -19.80374 and maximum 15.48759.
I've tried gen with autocode but getting missing values
Thanks.
Related Posts with Converting continuous variable into categorical
Oddity (?) involving placement of (missing = ) in -recode-I've discovered, I believe, that if (missing = SomeValue) is included among the assignment rules for…
ppml, ppml_panel_sg and ppmlhdfeHi all, I'm a PhD student and greatly appreciate your valuable comments on the following. I'm runn…
Combing Multiple VariablesHi, I am very new to Stata, so I apologize if this a basic question or has been answered elsewhere. …
How can I convert a stata date value to missing?Hello, I am working with some data that has missing dates for certain observations. I am importing …
Interaction term issueDears Statalists, In my panel data analysis, I am using interaction term. The model looks something…
Subscribe to:
Post Comments (Atom)
0 Response to Converting continuous variable into categorical
Post a Comment