Good afternoon everyone,
I am currently working on a research project in labor economics. My dataset is an unbalanced panel data of individuals listing all the official endings of contracts for them from 2018 to 2021. The observations are daily, and sometimes the same worker has, for instance, 4 contracts concluded in one month as he is a temporary worker. My goal was to draw a graph depicting all the layoffs of workers across these years, and I wanted to do so by using xtline. I have managed to set up the dataset as panel data, including the id of the workers as panel variable (unbalanced), and monthly observations in time variable (STATA says there are gaps in the data, even if this is not possible, since there are like 4 observations for each day of each year). When trying to plot it, however, an error appears;
"macro substitution results in line that is too long
The line resulting from substituting macros would be longer than allowed. The maximum allowed length is
645,216 characters, which is calculated on the basis of set maxvar."
I am at a loss. Am i doing something wrongly in managing my data?
Thanks to anyone who answers beforehand.
I am currently working on a research project in labor economics. My dataset is an unbalanced panel data of individuals listing all the official endings of contracts for them from 2018 to 2021. The observations are daily, and sometimes the same worker has, for instance, 4 contracts concluded in one month as he is a temporary worker. My goal was to draw a graph depicting all the layoffs of workers across these years, and I wanted to do so by using xtline. I have managed to set up the dataset as panel data, including the id of the workers as panel variable (unbalanced), and monthly observations in time variable (STATA says there are gaps in the data, even if this is not possible, since there are like 4 observations for each day of each year). When trying to plot it, however, an error appears;
"macro substitution results in line that is too long
The line resulting from substituting macros would be longer than allowed. The maximum allowed length is
645,216 characters, which is calculated on the basis of set maxvar."
I am at a loss. Am i doing something wrongly in managing my data?
Thanks to anyone who answers beforehand.
Comment