## 3 Badges

14 years, 201 days

## @mmcdara  I know you spent a lot o...

I know you spent a lot of time trying to help. I thank you. The problem is not about the model being incorrectly set, as the equations are the optimality conditions from a well known economic model called overlapping generations model. The solution you are proposing, which is solving the system without the argument v, is not the right one. It suits an infinitely-lived (or representative) agent model, but not an overlapping generations one. Thanks again for having tried to help. It is appreciated.

## Variables with different number of argum...

Thanks for your reply. I am seeking a numerical solution that I can plot as a function of time t. The argument v is the date of birth. To the best of my knowledge, there is no way one can get rid of the argument v. An attempt at doing so will be to define v as t-g, where g denotes the age. Even doing this does not reduce the number of arguments, as g replaces v.

Thus, l(t,v), which is the labor supply at time t of an agent born at time v, cannot be transformed into l(t). L(t) is the aggregation of l(t,v) for all the agents born between v=t-T and t.

Eq 9 is an exogenous perturbation I am adding to the system to see the way it reacts when the value of x changes over time. If there is a way to declare x(t) as an exogenous variable, it will be fine. Doing this will reduce the system to a set of 8 equations in 8 unknowns, a(t,v), c(t,v), l(t,v), L(t), K(t), r(t), w(y), Y(t). The number of equations being equal to the number of unknowns, there is a numerical solution to the system, given the values I have assigned to the parameters alpha, delta, rho, sigma, and x(t). Regards

 >
 >
 >
 >
 >
 >
 >
 >
 (1)
 >
 (2)
 >
 (3)
 >
 >
 >
 >
 >
 >
 >
 >
 >
 (4)
 >
 >
 >
 >

Download OLG.mw

## Variables with different number of argum...

@mmcdara
Hi, I have uploaded the file again. You can download it now. I have to precise that eq9 is an exogenous variable (i.e. a shock added to the system after time 0). Thanks for your help.

 >
 >
 >
 >
 >
 >
 >
 >
 (1)
 >
 (2)
 >
 (3)
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 (4)

 >

Download OLG.mw

## Thanks...

Both options are useful. Once agin many thanks for your help. God bless!

## assign command...

Please, how do I apply the assign command to Osol (the solution of your pptimization problem). I have tried assign(Osol) and assign(%), but it did not work. I would like to access the value of each of the variables by using its name, e.g. a2; a3; a4. Regards

## @acer Thanks for your reply. The parame...

@acer

Thanks for your reply. The parameter tau_l, denoting the labor income tax rate, could assume any value between 0 and (say) .3. Regards

## Thanks...

Thanks for your help. Indeed, I had a very old version of Maple. I am now using the latest version. Your solution seems to work only for tau_l=.08. In my initial file, it works only for tau_l=.06. What could explain that? How do I set the Digit if I want it to work for all possible values of this parameters? Regards

## Thanks...

I have run your file using the latest version of Maple. It works even for all the possible values of the parameter tau_l. Regards

## Thanks...

Many thanks for your reply. I have not been able to run the file you attached, but I will keep trying. Regards

## Many thanks to all for your help...

Many thanks to all for your help

## Digits...

@Carl Love , Please, how did you select the value assigned to Digits? Does it have to do with the number of equations or variables? I do not think so. Because, I have changed the value assigned to the parameter ppsi to

1.947717707.

Maple is not returning any solution but I should have as solution,

a1 = .001429702370;

a2 = .05359982467;

c0 = .04074911445;

c1 = .06013098441;

c2 = .08873162853;

e0 =.2344194943;

h = .5898272762;

h1 =1.456583;

k = .05218750893;

l0 = .1114825847;

l1 = .3373447081;

r = .655446246;

w = .3221564941;

y = .2764103032;

epsilon1 = .04295105598;

## Thanks...

@Carl Love , It has worked. I appreciate your help. Many thanks

 Page 1 of 1
﻿