# A Rough Guide to Getting Inequality in OLGs

**URL:** https://discourse.vfitoolkit.com/t/a-rough-guide-to-getting-inequality-in-olgs/219
**Category:** Uncategorized
**Created:** [September 27, 2023, 1:54am UTC](https://discourse.vfitoolkit.com/t/a-rough-guide-to-getting-inequality-in-olgs/219 "2023-09-27T01:54:26Z")
**Posts on this page:** 1
**Showing post:** 13

<div class="post-metadata">

### Author: ![aledinola](https://discourse.vfitoolkit.com/letter_avatar_proxy/v4/letter/a/3ec8ea/32.png) [@aledinola](https://discourse.vfitoolkit.com/u/aledinola)
#### Post date: [June 2, 2024, 3:51pm UTC](https://discourse.vfitoolkit.com/t/a-rough-guide-to-getting-inequality-in-olgs/219/13 "2024-06-02T15:51:07Z")

</div>

Yes you can change the default value, please see here:

> [@New example based on toolkit: Aiyagari with taxes](https://discourse.vfitoolkit.com/t/new-example-based-on-toolkit-aiyagari-with-taxes/277/4):
>
> Fixed the bug (was because currdist was sparse when using Tan improvement, and cannot use sparse matrix as input to fprintf). And you can now set the tolerance using: heteroagentoptions.toleranceGEprices=10^(-4); % Accuracy of general eqm prices heteroagentoptions.toleranceGEcondns=10^(-4); % Accuracy of general eqm eqns [These show the default values.] By default, the stationary general equilbirium is computed using matlab fminsearch(), and these control what fminsearch() options call Tol…

---

_[View the full topic](https://discourse.vfitoolkit.com/t/a-rough-guide-to-getting-inequality-in-olgs/219)._
