# Help Regarding BETA value

**URL:** <https://forum.dynare.org/t/help-regarding-beta-value/20842>\
**Category:** Perfect foresight simulations\
**Created:** [4 August 2022 11:57 UTC](https://forum.dynare.org/t/help-regarding-beta-value/20842 "2022-08-04T11:57:31Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nibha](https://forum.dynare.org/letter_avatar_proxy/v4/letter/n/c77e96/32.png) [@Nibha](https://forum.dynare.org/u/Nibha)\
**Post date:** [4 August 2022 11:57 UTC](https://forum.dynare.org/t/help-regarding-beta-value/20842/1 "2022-08-04T11:57:31Z")

</div>

I am running a DGE model in Dynare. Though I have been able to finalise the model set up, however, while calibrating the parameters of the model, I am unable to feed the BETA value as less than 0.9. It would be very helpful if anyone can guide me in this regard.  
A higher BETA value implies higher impatience on part of the consumers, which is not a requirement in my framework. Hence, I want to try and see what happens to my results if I vary BETA between 0.1 and 0.6. Kindly advise.

---

<div class="post-metadata">

**Author:** ![DoubleBass](https://forum.dynare.org/user_avatar/forum.dynare.org/doublebass/32/17420_2.png) [@DoubleBass](https://forum.dynare.org/u/DoubleBass)\
**Post date:** [4 August 2022 12:05 UTC](https://forum.dynare.org/t/help-regarding-beta-value/20842/2 "2022-08-04T12:05:25Z")

</div>

Hi,

a bit more information about your model would be helpful and also what the issue is when you use low values. Is it the steady state or something else? Have you thought about whether this makes sense also in combination of your steady state interest rate? Just my first thought. Also, I have never heard/read about a value this low, does this make economic sense w.r.t. intuition about consumption e.t.c.?

---

<div class="post-metadata">

**Author:** ![Nibha](https://forum.dynare.org/letter_avatar_proxy/v4/letter/n/c77e96/32.png) [@Nibha](https://forum.dynare.org/u/Nibha)\
**Post date:** [5 August 2022 04:54 UTC](https://forum.dynare.org/t/help-regarding-beta-value/20842/3 "2022-08-05T04:54:50Z")

</div>

Thank you very much for replying to my query. Our model is Deterministic Infinite - Horizon Ramsey Model.

[ramseymodel.mod](https://forum.dynare.org/uploads/short-url/ifTMfoqRPMPmBE2plw9WgI8wZrz.mod) (470 Bytes)  
[ramseymodelsim.log](https://forum.dynare.org/uploads/short-url/7Q0u53vqvqlKFrYgUbb9dj3JitV.log) (4.7 KB)  
[ramseymodelsim.mod](https://forum.dynare.org/uploads/short-url/hNQeiZWbTOwsuUs9XhjdbOHxmrc.mod) (512 Bytes)  
[ramseymodel.log](https://forum.dynare.org/uploads/short-url/fBFRb46YPhXg622AnP1GT6c7xpR.log) (4.1 KB)

I am attaching the dynare files here for your kind perusal - The error arises when I work on determining the steady state and perform simulation. I want to assess the role of BETA in influencing individuals’ trade off between present and future consumption, hence, I want to try with different BETA values. Thank you for pointing out the plausible issue that could arise due to the initial interest rate value. I shall surely think along those lines. Kindly look at my attached dynare files once and share your suggestions.

Thank you.

---

<div class="post-metadata">

**Author:** ![DoubleBass](https://forum.dynare.org/user_avatar/forum.dynare.org/doublebass/32/17420_2.png) [@DoubleBass](https://forum.dynare.org/u/DoubleBass)\
**Post date:** [5 August 2022 11:45 UTC](https://forum.dynare.org/t/help-regarding-beta-value/20842/4 "2022-08-05T11:45:05Z")

</div>

Hi Nibha,

you have a timing error for your variable k. Dynare uses the end of period convention. Thus, you have to change k(+1) to k and all k to k(-1) then the ramseymodelsim.mod runs through. Have you tried a stochastic version of your model to first see whether it makes sense with ‘normal’ parametrization?

---

<div class="post-metadata">

**Author:** ![Nibha](https://forum.dynare.org/letter_avatar_proxy/v4/letter/n/c77e96/32.png) [@Nibha](https://forum.dynare.org/u/Nibha)\
**Post date:** [6 August 2022 09:14 UTC](https://forum.dynare.org/t/help-regarding-beta-value/20842/5 "2022-08-06T09:14:48Z")

</div>

Thank you so much for replying to my query. I incorporated your suggestion and accordingly changed the variable k, and ran the model again. However, I am still getting some error notifications (attaching the error and dynare file). Would it be possible for you to share a basic template (dynare files) of your file with me? I just want to check if I am correctly running the process. Kindly guide.

[ramseymodelsim.log](https://forum.dynare.org/uploads/short-url/vIEutTnIP0e4tElxX5EOCMYFhaQ.log) (18.9 KB)  
[ramseymodelsim.mod](https://forum.dynare.org/uploads/short-url/XWubaeDrwIYkjX5QJku0T3Frek.mod) (519 Bytes)

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [8 August 2022 08:01 UTC](https://forum.dynare.org/t/help-regarding-beta-value/20842/6 "2022-08-08T08:01:33Z")

</div>

The timing is still incorrect in the production function and the labor FOC is missing brackets. Moreover, you did not provide a valid `endval`. How about the attached file?  
[ramseymodelsim.mod](https://forum.dynare.org/uploads/short-url/qWGNk2z1Ls7ZLlTKTW5EULRZ85t.mod) (654 Bytes)

---

<div class="post-metadata">

**Author:** ![Nibha](https://forum.dynare.org/letter_avatar_proxy/v4/letter/n/c77e96/32.png) [@Nibha](https://forum.dynare.org/u/Nibha)\
**Post date:** [10 August 2022 05:36 UTC](https://forum.dynare.org/t/help-regarding-beta-value/20842/7 "2022-08-10T05:36:18Z")

</div>

Thankyou Sir for responding. I wanted to know what is the **unit of measurement** you define for the initial and end value. Because for our study we are considering Indian dataset and are skeptical on which unit of measurement to take.

If you can also suggest any literature where the authors have mentioned the unit of measurement for the initial and end value. That would be really helpful.

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [10 August 2022 07:45 UTC](https://forum.dynare.org/t/help-regarding-beta-value/20842/8 "2022-08-10T07:45:11Z")

</div>

We usually use unitless percentage deviations from steady state, with the steady state units being meaningless. See e.g.

> [@Compare VAR IRF of original series and percentage change of series](https://forum.dynare.org/t/compare-var-irf-of-original-series-and-percentage-change-of-series/12787/2):
>
> What exactly is your question? Im most DSGE models the levels of the variables can be scaled arbitrarily, rendering the levels meaningless. Percentage deviations are invariant to such scaling. Think about measuring output in euro or dollars. The levels would differ according to currencies, but the IRFs in percentage deviations would be the same.

---

<div class="post-metadata">

**Author:** ![Nibha](https://forum.dynare.org/letter_avatar_proxy/v4/letter/n/c77e96/32.png) [@Nibha](https://forum.dynare.org/u/Nibha)\
**Post date:** [13 August 2022 09:30 UTC](https://forum.dynare.org/t/help-regarding-beta-value/20842/9 "2022-08-13T09:30:49Z")

</div>

Thankyou Sir.

---

<div class="post-metadata">

**Author:** ![Nibha](https://forum.dynare.org/letter_avatar_proxy/v4/letter/n/c77e96/32.png) [@Nibha](https://forum.dynare.org/u/Nibha)\
**Post date:** [13 August 2022 09:35 UTC](https://forum.dynare.org/t/help-regarding-beta-value/20842/10 "2022-08-13T09:35:39Z")

</div>

Dear Sir/Ma’am,

I tried solving a very simple GE framework with 2 sectors as shown in the attached file, however, I have two queries. I will be really grateful if the forum can help me in rectifying my queries. I am trying my best to solve them.

a. I am trying to differentiate between two sectors by putting a technology parameter “T” in one of the two sectors. However, the model is not running (despite the system being internally consistent) and I am getting the following error - attached as a file. [model.log](https://forum.dynare.org/uploads/short-url/bVoXPPG7Pk5rpZamTWVLrBoQzGr.log) (18.7 KB)

b. I have been trying to put initial values based on actual data from an Indian dataset. However, the system is not allowing me to do that as well. I am attaching the file for your kind perusal. Please help me in rectifying the errors. It would be very helpful if someone can also suggest a guide on how to learn the basics of Dynare (apart from the guide available on the software) so that I am able to get answers to my simple queries on my own.  
[model.mod](https://forum.dynare.org/uploads/short-url/txaXIdeaZvtcnJqmox74aDhMAzA.mod) (1.1 KB)

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [13 August 2022 11:53 UTC](https://forum.dynare.org/t/help-regarding-beta-value/20842/11 "2022-08-13T11:53:40Z")

</div>

You again did not have a well-defined terminal condition and also did not use a sufficient number of periods to reach the terminal condition.  
[model1.mod](https://forum.dynare.org/uploads/short-url/3PrWKfbXWg2YaavgAib8azq11kk.mod) (1.2 KB)

---

<div class="post-metadata">

**Author:** ![Nibha](https://forum.dynare.org/letter_avatar_proxy/v4/letter/n/c77e96/32.png) [@Nibha](https://forum.dynare.org/u/Nibha)\
**Post date:** [13 August 2022 12:30 UTC](https://forum.dynare.org/t/help-regarding-beta-value/20842/12 "2022-08-13T12:30:38Z")

</div>

Thankyou Sir. After running I am receiving this error. Kindly help!

dynare model1.mod  
Starting Dynare (version 5.1).  
Calling Dynare with arguments: none  
Starting preprocessing of the model file …  
ERROR: model1.mod: line 22, col 1: syntax error, unexpected INT\_NUMBER

error: Dynare: preprocessing failed  
error: called from  
dynare at line 269 column 5

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [13 August 2022 15:44 UTC](https://forum.dynare.org/t/help-regarding-beta-value/20842/13 "2022-08-13T15:44:01Z")

</div>

Please provide the most recent version.

---

<div class="post-metadata">

**Author:** ![Nibha](https://forum.dynare.org/letter_avatar_proxy/v4/letter/n/c77e96/32.png) [@Nibha](https://forum.dynare.org/u/Nibha)\
**Post date:** [13 August 2022 16:10 UTC](https://forum.dynare.org/t/help-regarding-beta-value/20842/14 "2022-08-13T16:10:12Z")

</div>

I ran the same code which you attached.  
[model1.mod](https://forum.dynare.org/uploads/short-url/9YqAFKavhFuwyTrPu2ePooZeX29.mod) (1.2 KB)

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [14 August 2022 15:41 UTC](https://forum.dynare.org/t/help-regarding-beta-value/20842/15 "2022-08-14T15:41:48Z")

</div>

The file runs on my machine without any problems.

---

<div class="post-metadata">

**Author:** ![Nibha](https://forum.dynare.org/letter_avatar_proxy/v4/letter/n/c77e96/32.png) [@Nibha](https://forum.dynare.org/u/Nibha)\
**Post date:** [19 August 2022 07:59 UTC](https://forum.dynare.org/t/help-regarding-beta-value/20842/16 "2022-08-19T07:59:16Z")

</div>

Thankyou Sir. I will try to figure out the problem in my Dynare.

I have another question to put. Sorry this have been repetitive question for the forum. I have looked at the help provided in the forum but I am still unable to figure out how to plot a single graph for say variable ‘c’ from the two mod files. Attaching the mod files for your reference. If you could please guide. Thankyou!

[OffOn.mod](https://forum.dynare.org/uploads/short-url/nsbSBiS3Khps33OpN0lQCfFNZam.mod) (1.2 KB)  
[Benchmark.mod](https://forum.dynare.org/uploads/short-url/k1wnZvon64CCEvdbCwgMq3uCvWy.mod) (712 Bytes)

---

<div class="post-metadata">

**Author:** ![Nibha](https://forum.dynare.org/letter_avatar_proxy/v4/letter/n/c77e96/32.png) [@Nibha](https://forum.dynare.org/u/Nibha)\
**Post date:** [19 August 2022 08:02 UTC](https://forum.dynare.org/t/help-regarding-beta-value/20842/17 "2022-08-19T08:02:20Z")

</div>

In addition to the above question, can we change the color of the graphs and increase the font or boldness?

---

<div class="post-metadata">

**Author:** ![Nibha](https://forum.dynare.org/letter_avatar_proxy/v4/letter/n/c77e96/32.png) [@Nibha](https://forum.dynare.org/u/Nibha)\
**Post date:** [22 August 2022 05:22 UTC](https://forum.dynare.org/t/help-regarding-beta-value/20842/18 "2022-08-22T05:22:34Z")

</div>

Hello Sir, I was able to plot graphs in one from two mod files. However I am unable to change the color of the line graphs (after looking at the resources). A small request if you could please help me one this.

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [22 August 2022 08:08 UTC](https://forum.dynare.org/t/help-regarding-beta-value/20842/19 "2022-08-22T08:08:51Z")

</div>

Please provide the files. Usually, it’s just

```auto
plot(a,b,'LineColor','red')

```

---

<div class="post-metadata">

**Author:** ![Nibha](https://forum.dynare.org/letter_avatar_proxy/v4/letter/n/c77e96/32.png) [@Nibha](https://forum.dynare.org/u/Nibha)\
**Post date:** [22 August 2022 08:49 UTC](https://forum.dynare.org/t/help-regarding-beta-value/20842/20 "2022-08-22T08:49:20Z")

</div>

Thankyou Sir for replying. I am attaching the mod files. I want to change colors for  
[Benchmark.mod](https://forum.dynare.org/uploads/short-url/aBRO7KnRQr3CY13ac0dEG4UD4J1.mod) (754 Bytes)  
[OffOn.mod](https://forum.dynare.org/uploads/short-url/eUP463SJoBBPs4uRuaNjfgI3NeM.mod) (1.3 KB)  
each of the three different variables in one graph. I tried plot(a,b,‘LineColor’,‘red’) but couldn’t reach the solution. Kindly help!

[Next page](https://forum.dynare.org/t/help-regarding-beta-value/20842.md?page=2)
