Dear Stata users,
I have the following dataset:
I want to convert my dataset into monthly panel data (I am aware that some observations will be repeated). Could anyone explain me how should I code this? I know that there is a similar previous question (https://www.statalist.org/forums/for...ate-into-panel), but the code did not help in my case (I do not have experience with date variables). My dates start in 1983.
Related Posts with Convert spell into panel data
Variable not found when running loop even though it existsHello all, This is my first time asking a question on here, so please excuse me if I am describing …
Creating Attrition (Non-response) Weights for Balanced PanelHi everyone, I am working with panel data which consists of three waves (3, 4, and 5) as below. I wa…
Assigning variable label when generating a new oneHi everyone, I am trying to generate a new variable named "new" using an existent variable named "ol…
Calculate days from hospital admission to a procedure using National Inpatient Sample (NIS)Hi all, My goal is to calculate time (days) from admission to the time a patient first received a s…
Sorting ID’sHello, My data looks like this: Code: * Example generated by -dataex-. To install: ssc install da…
Subscribe to:
Post Comments (Atom)
0 Response to Convert spell into panel data
Post a Comment