COUNT MODEL USING PANEL DATA

For econometric discussions not necessarily related to EViews.

Moderators: EViews Gareth, EViews Moderator

wanfairos
Posts: 4
Joined: Wed Mar 04, 2009 10:56 pm

COUNT MODEL USING PANEL DATA

Postby wanfairos » Thu Mar 05, 2009 12:20 am

Hi everybody!

I'm Wan Fairos from Malaysia. Currently, I am in the midst of doing my Phd and my thesis deal with a balance panel data focussing on modelling the non linear count model. I plan to used E-views 6 to analyze the data. As I am dealing with road accident death count data type (the non-negative integer value nature of data), the type of model that will be employed in my thesis is the nonlinear count model that involved exponential family distribution such as the Poisson Regression/Negative Binomial /Quasi Max.Likelh Model. I might overlooked, but as I go through the EViews user guide, the estimation procedure to develop the Poisson/NB/QML model available only for individual time series or individual cross section data. When I looked into the Pooled Time series and Cross Section data chapters, the procedure to estimate the pooled model available only for methods based on linear assumptions.
Thus, my questions are;
1) Using the pooled time series and cross section data, (panel count data), can the Fixed Effects (FE) and Random Effects (RE) of Panel Poisson or Negative Binomial Model developed by Hausman et.al (1984) be analyze using EViews 6?
2) Can Eviews 6 estimate the parameter models of FE and RE of Panel Poisson/NB model using the maximum likelihood of the conditional joint distribution?
I would very much appreciate for any answers and feedbacks regards to my questions.

Thank you.
Regards,
Wan Fairos

EViews Glenn
EViews Developer
Posts: 2672
Joined: Wed Oct 15, 2008 9:17 am

Re: COUNT MODEL USING PANEL DATA

Postby EViews Glenn » Thu Mar 05, 2009 10:10 am

There are no in-built tools for this, but in principle you should be able to use the logl object.

wanfairos
Posts: 4
Joined: Wed Mar 04, 2009 10:56 pm

Re: DEVIANCE VALUE

Postby wanfairos » Fri Mar 20, 2009 8:41 pm

Hi..where can I get the Deviance value in Poisson count model? Which statistics that it refers to?
TQ

EViews Glenn
EViews Developer
Posts: 2672
Joined: Wed Oct 15, 2008 9:17 am

Re: COUNT MODEL USING PANEL DATA

Postby EViews Glenn » Mon Mar 23, 2009 9:45 am

The deviance isn't reported as part of the standard output, but it is easily computed for the Poisson model. Suppose that you have an equation object that has an estimated Poisson count model. From my notes (you should double check the formulas below)...first make the residuals and the fitted mean

Code: Select all

eq01.makeresid yresid
eq01.fitted ymean

Then compute the deviance contributions for each individual

Code: Select all

series dev = @recode(y<>0, y*log(y)-log(ymean)-yresid, -2*res)

You'll want the sum of this
scalar devscalar = @sum(dev)

wanfairos
Posts: 4
Joined: Wed Mar 04, 2009 10:56 pm

Re: DEVIANCE VALUE

Postby wanfairos » Mon Mar 23, 2009 8:24 pm

Ok then. Thank you very much... :D. Really appreciate it. I'll will try to culculate the value based on your instruction. If there's any problem I will get back to you. Thanx!!!

Fairos

wanfairos
Posts: 4
Joined: Wed Mar 04, 2009 10:56 pm

Re: DEVIANCE VALUE

Postby wanfairos » Mon Mar 23, 2009 10:00 pm

I've manage to calculate the residual (yresid) and the fitted (ymean) value. But still do not able to get the deviance series. There's a syntax error that I need to look into. Where can I refer the formula to generate the deviance series? TQ


Return to “Econometric Discussions”

Who is online

Users browsing this forum: No registered users and 34 guests