Hey y'all.
I've been stuck on creating a dummy variable called summer that's 1 when the integer ends in 4, 5, 6, 7, 8, 9 and zero otherwise.
I have already converted my integer date values to string, but I don't know if there exists a function(like .endswith or something for Python) that can do precisely what I need.
Let me know what you guys think.
Related Posts with Help with creating a dummy variable that depends on the last integer of a date
Update to -overid- available on SSCWith thanks as usual to Kit Baum, an update to our program overid is now available on SSC. overid i…
How to use append in esttabHi everyone I am using the following dataset and creating 2 tables Code: * Example generated by -da…
Two-side bar chart over groups hello everyone, I've created the following graph in excel and I'd like to do it with Stata, howeve…
How to save 1 specific xtreg beta coefficient to use in postestimations?Dear Stata Community members, I would like to ask how I can save one particular beta coefficient af…
Need some helpIm working with a "Encuesta Permanente de Hogares" (EPH) can someone help me with something? …
Subscribe to:
Post Comments (Atom)
0 Response to Help with creating a dummy variable that depends on the last integer of a date
Post a Comment