Hi everyone
I am back with another question to help me out
I have a table output containing lots of missing.
But here is the question:
I like to create a variable where
- UB8 and UB6 in total is 364 + 457=821 for yes ECE
- and 341+23=364 a no for ECE
- Is it possible to know for 821+364=1185 children if they attended ECE or not?
- so what I need is for 3 cat 1,0 and 9 to make 2 dummys (new ECE and dummy ECE)
Can someone help me out
Array
Array
Related Posts with Creating 2 dummy variables in Stata
Parallel trends assumption test for a two way fixed effect model (omitted treatment variable)Hi everyone, I want to test for the parallel trend assumption in the difference in differences. My …
Help for replacing parts of a string variableDear community, I want to clean a string variable that contains the name of a bank. Sometimes, it a…
Results of the Hsiao procedure for the homogeneity test on panel dataHi Statalists, I work on a panel of 5 individuals and 38 years. I performed the Hsiao test to test …
Gologit 2 interpretationHi everyone, I have read Williams' article about Gologit2 model. I have some concerns about the inte…
Set base group for 2 variables when including interaction terms in a regressionDear all, I am currently running a regression in Stata that involves an interaction term between ye…
Subscribe to:
Post Comments (Atom)
0 Response to Creating 2 dummy variables in Stata
Post a Comment