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
Panelregression using pooled ols with dummiesHello all, I have a paneldataset ranging from 2002 until 2019 containing ~ 500 companies. My paneli…
Plotting trends in relative and absolute inequalities using riigen and marginsHello, In a repeated cross-sectional designed study I would like to calculate the relative and abso…
multiple imputation (-mi-) with the synthetic control method (-synth-)Has anyone combined multiple imputation with the synthetic control method (https://fmwww.bc.edu/repe…
Remove observations of a panel data set based on observations of specific yearsHi All, I have a panel data set as below (only an example and may not be balanced). I want to drop …
P-values and CI's for dotplot?Hi you helpful people. I have measured a concentration of a medical drug 1 week after operation in …
Subscribe to:
Post Comments (Atom)
0 Response to Converting continuous variable into categorical
Post a Comment