Login or Register
Log in with
Forums
FAQ
Search in titles only
Search in General only
Advanced Search
Search
Home
Forums
Forums for Discussing Stata
General
You are not logged in. You can browse but not post. Login or
Register
by clicking 'Login or Register' at the top-right of this page. For more information on Statalist, see the
FAQ
.
Announcement
Collapse
No announcement yet.
X
Collapse
Posts
Latest Activity
Search
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Filtered by:
Clear All
new posts
Jessica Sardinha
Join Date:
Sep 2018
Posts:
17
#1
Heteroskedasticity for Random Effects
23 Feb 2019, 04:49
How can I test Heteroskedasticity in a Random Effects panel?
I know xttest3 but it doesn't work in RE.
Carlo Lazzaro
Join Date:
Apr 2014
Posts:
17739
#2
23 Feb 2019, 06:49
Jessica:
assuming you have a N>T panel dataset, see
https://economics.stackexchange.com/...vs-time-series
Kind regards,
Carlo
(Stata 19.0)
Comment
Post
Cancel
Jessica Sardinha
Join Date:
Sep 2018
Posts:
17
#3
24 Feb 2019, 10:40
Thanks Carlos!
I have T>N. So Can I use the code below too?
xtreg y x1 x2, re predict uhat, ue predict xb, xb gen uhatsq = uhat^2 reg uhatsq c.xb##c.xb, vce(cl id) testparm c.xb##c.xb
If yes, when the F statistic is significant I have Heteroskedasticity? If no, how can I test Heteroskedasticity for random effects?
Comment
Post
Cancel
Carlo Lazzaro
Join Date:
Apr 2014
Posts:
17739
#4
24 Feb 2019, 11:14
Jessica:
see #15 at
https://www.statalist.org/forums/for...how-to-procede
that replied to your very same question.
Kind regards,
Carlo
(Stata 19.0)
Comment
Post
Cancel
Previous
Next
Working...
Yes
No
OK
OK
Cancel
X
Comment