Good Day,
I am trying to check for hetro issue in my longitudinal data where the N is large and P is small. I have run the following command:
xtgls mig_dummy lagSPEI i.age_cat i.Gender , igls panels(heteroskedastic)
estimates store hetero
xtgls mig_dummy lagSPEI i.age_cat i.Gender
local df = e(N_g) - 1
latest hetero1 . , df(`df'
but I get the error
matsize too small - should be at least 2157
r(908);
I have also aplied the command
set matsize 200, permanently
But the error is still percisting.
My data from the dataex command is:
[CODE]
* Example generated by -dataex-. To install: ssc install dataex
clear
input float(mig_dummy lagSPEI age_cat) byte Gender
0 -.376669 30 2
0 .751355 30 2
0 1.18046 30 2
0 .785417 30 2
0 1.81745 30 2
0 1.01097 30 2
0 1.50308 30 2
0 .0247821 30 2
0 -.41504 30 2
0 -.689454 30 2
0 1.34077 30 2
0 .965805 30 2
0 1.14084 30 2
0 1.51453 30 2
1 .354391 30 2
0 .751355 30 1
0 1.18046 30 1
0 .785417 30 1
0 1.81745 30 1
0 1.01097 30 1
0 1.50308 30 1
0 .0247821 30 1
0 -.41504 30 1
0 -.689454 30 1
Could anyone please advise me how to proceed with it as I need to check at least for hetro.
Thanking you
Related Posts with Checking for Hetro in Longitudinal (Panel) Data
Converting CSV file to Excel and then uploading it into Stata formathttps://www.eia.gov/beta/internation...=2014&end=2016 Hi, I would like to convert the above fi…
Dropping individuals when missing observations and change in variableHi, I am running panel data analysis in Stata and work with Survey data from Germany. The period co…
Code that picks up sudden spikes in prices Code: * Example generated by -dataex-. To install: ssc install dataex clear input double op …
regression on filtered dataIs there any disadavntage associated with the filtered regression wherein you you have filtered the …
Creating a variable containing number of decimal points of another variable's valuesHi, I have a variable measuring speed. The values are double and vary in the number of decimal point…
Subscribe to:
Post Comments (Atom)
0 Response to Checking for Hetro in Longitudinal (Panel) Data
Post a Comment