Hello,
I have an unbalanced data set of around 250,000 observations that means I have annual data of all listed North American companies from 1990-2015 on Dividends, Interest Rates, Cash, Long Term Debt, and so on. So I have a cross-section time-series data set.
Now I wanted to make a xtline for Cash/GDP ratio over the period 1990-2015. But that does not work.
I inserted following code, and the response was:
. xtline Cash_GDP, overlay
"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.
You can change that in Stata/SE and Stata/MP. What follows is relevant only if
you are using Stata/SE or Stata/MP.
The maximum line length is defined as 16 more than the maximum macro length,
which is currently 645,200 characters. Each unit increase in set maxvar
increases the length maximums by 129. The maximum value of set maxvar is
32,767. Thus, the maximum line length may be set up to 4,227,159 characters if
you set maxvar to its largest value."
What can I do in this case? Please help?!
Kind Regards,
Diana
I have an unbalanced data set of around 250,000 observations that means I have annual data of all listed North American companies from 1990-2015 on Dividends, Interest Rates, Cash, Long Term Debt, and so on. So I have a cross-section time-series data set.
Now I wanted to make a xtline for Cash/GDP ratio over the period 1990-2015. But that does not work.
I inserted following code, and the response was:
. xtline Cash_GDP, overlay
"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.
You can change that in Stata/SE and Stata/MP. What follows is relevant only if
you are using Stata/SE or Stata/MP.
The maximum line length is defined as 16 more than the maximum macro length,
which is currently 645,200 characters. Each unit increase in set maxvar
increases the length maximums by 129. The maximum value of set maxvar is
32,767. Thus, the maximum line length may be set up to 4,227,159 characters if
you set maxvar to its largest value."
What can I do in this case? Please help?!
Kind Regards,
Diana
Comment