Coefficient Restrictions for NLS

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

rdwest
Posts: 18
Joined: Wed Dec 23, 2009 11:35 am

Coefficient Restrictions for NLS

Postby rdwest » Thu Mar 25, 2010 7:15 am

Hi,

I am estimating a diffusion model for which the two parameters to be estimated (c(1) and c(2)) must be bounded between 0 and 1. I'm having trouble figuring out how to impose these restrictions on the model.

I am familiar with the command "param" to set starting values for iterative estimation....but I can't seem to impose restrictions (or "bounds", as programs like SAS name them).

Here is the model (where time is the independent variable)

param c(1) 0.005 c(2) 0.005
equation eq1.ls dep = (1+ exp(-(c(1)+c(2))*time))/(1+(c(1)/c(2))*exp(-(c(1)+c(2))*time))

Thank you,
R.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13600
Joined: Tue Sep 16, 2008 5:38 pm

Re: Coefficient Restrictions for NLS

Postby EViews Gareth » Thu Mar 25, 2010 8:07 am



Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests