Modelling friction model(need advice)

For econometric discussions not necessarily related to EViews.

Moderators: EViews Gareth, EViews Moderator

cklint
Posts: 8
Joined: Wed Jan 12, 2011 8:48 am
Location: birmingham, uk

Modelling friction model(need advice)

Postby cklint » Wed Jan 12, 2011 10:40 am

Hi,

I am going to program (what we call) the “friction model” in economics and statistics. This model can be used for analysing the government intervention. It looks like tobit but different. I can not deal with this model by using eveiws menu-based command. This model assume that government intervenes in the market only when a certain condition is fulfilled.

For example, INT is the amount of government intervention in the market.
The equation to be estimated is:
(1) INT = a + b*X +ewhere INT indicates (actual) intervention amount and X is control variable.

Let INT* denote the desirable intervention amount – this is the same as the right hand side of equation (1) excluding error terms. Then the acutal value, i.e., INT, have a differnt value depending on whether INT* reach the threshold. That is, government is assumed to intervene only when INT* is larger than the upper positive threshold(p>0) or less than the lower negative threshold(n<0).

That is, there are 3 cases.
(2)
INT = INT* - p + e if INT*>p : intervention
INT= 0 if n<=INT*<=p : no intervention
INT= INT* + n +e if INT*<n : intervention


The parameters(a,b, p, n) in (1) and (2) can be estimated by maximum likelihood. The likelihood function is attached.Note that p and n are expressed in plus and minus delta in attached file.

Is anyone who know how to program this model or has complete code of this model or who can give me a a piece of advice to program this model? Help me.
Attachments
liklihood fuc(friction model).docx
liklihood function for estimation
(22.78 KiB) Downloaded 348 times

zoufrier
Posts: 1
Joined: Thu Dec 22, 2011 5:47 pm

Re: Modelling friction model(need advice)

Postby zoufrier » Fri Jan 06, 2012 12:10 pm

Hi
I'm looking for the same work and would like to know if you find a way how to do it?

Waiting for your request


Return to “Econometric Discussions”

Who is online

Users browsing this forum: No registered users and 2 guests