Please I'm very new to using stata, and I want to create dummy variable for values of 0-1 in equal half.
i.e I have a value that measures probability from 0-1, which I want to code as low and high (0=low, 1=high)
Related Posts with Dummy variables
Structural Break Tests with an unknown date - Ambiguous information given in STATA output.Hello, I am running a structural break test with an unknown data (command in STATA: estat sbsingle)…
Cumulative incidence proportions by covariateHi Stata forum, I would like to estimate the cumulative incidence proportions with a competing risk …
Matched pair identifierDear Statalisters, I have a dataset which matches romantic partners in the following way: Code: c…
Destring and generate hundreds of variables with an underscore in the nameHi I have a question on how to destring and generate hundreds of variables that have a similar name…
Strings. Selecting the first occurrence of specific words in a string then ordering the selected words in a consistent way.Hello Statalist I have a data set with a variable haart1 (combination antiretroviral) as shown below…
Subscribe to:
Post Comments (Atom)
0 Response to Dummy variables
Post a Comment