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
Dummy variables in first difference regressionHi guys, I have a potentially very stupid question to ask, but for the life of me I can not figure …
Quick question: winsor right only & interactionDear members I have 2 very quick questions. First: I need to winsorize a variable further ONLY on …
line graphic of series from 1st occurrence Covid-19Hello! I am using the data set provided in this study, "Oxford COVID-19 govt response tracker' here …
similar observations within one variableHi, I would like to spot the observations that are very much alike within one string variable. Let…
chi2 test with probability weightsDears I would lke to run a chi2 test but using pw rather than fw. If i use fw stata of course will …
Subscribe to:
Post Comments (Atom)
0 Response to Checking for Hetro in Longitudinal (Panel) Data
Post a Comment