how to
Dividend dummy is a variable set to one if the firm paid a dividend in the year, and set to 0 if it did not.
gen dummy = 1 if dividend > 0 and 0 if dividend ==.
give me wrong
Related Posts with how to gen variable with two value
Help to interpret psmatch2 messages and resultsHi, I want to run a regression to compáre yield at issuance of green and non-green bonds. In order t…
Changing a string variable with various characters into a numerical (categorical) variableHi! I am fairly new to Stata and looking to organize one of my variables within a dataset. it is a l…
Identify where in variable list a certain value appearsSorry for the basic question. I have a dataset with 100-variable list from v1-v100 with >10k obs…
Joining frequency and percentage in same columnAny idea on how one can join the frequency and percentage into one column and order the row labels i…
Can Inverse probability of censoring weighting (IPCW) approach be applied in stata?Hi all, I wonder if anyone is familar with IPCW model and has revelant example with stata codes to …
Subscribe to:
Post Comments (Atom)
0 Response to how to gen variable with two value
Post a Comment