<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Essays on Hieu Phay</title><link>https://hieuphay.com/en/essays/</link><description>Recent content in Essays on Hieu Phay</description><generator>Hugo</generator><language>en</language><managingEditor>Nguyen Duc Hieu</managingEditor><webMaster>Nguyen Duc Hieu</webMaster><atom:link href="https://hieuphay.com/en/essays/index.xml" rel="self" type="application/rss+xml"/><item><title>Solving a basic New-Keynesian model in symbolic programming style with Julia and Python</title><link>https://hieuphay.com/NK-symbolic-programming/</link><pubDate>Sun, 05 Feb 2023 00:00:00 +0000</pubDate><guid>https://hieuphay.com/NK-symbolic-programming/</guid><description>&lt;div class="ox-hugo-toc toc has-section-numbers"&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;1&lt;/span&gt; &lt;a href="https://hieuphay.com/NK-symbolic-programming/#prerequisites"&gt;Prerequisites&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;1.1&lt;/span&gt; &lt;a href="https://hieuphay.com/NK-symbolic-programming/#motivations"&gt;Motivations&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;1.2&lt;/span&gt; &lt;a href="https://hieuphay.com/NK-symbolic-programming/#the-ecosystem-for-symbolic-programming"&gt;The ecosystem for symbolic programming&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;1.3&lt;/span&gt; &lt;a href="https://hieuphay.com/NK-symbolic-programming/#installing-packages"&gt;Installing packages&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;2&lt;/span&gt; &lt;a href="https://hieuphay.com/NK-symbolic-programming/#importing-packages"&gt;Importing packages&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;3&lt;/span&gt; &lt;a href="https://hieuphay.com/NK-symbolic-programming/#derive-the-system-of-stochastic-difference-equations-characterize-the-dynacmics-of-the-economy"&gt;Derive the system of stochastic difference equations characterize the dynacmics of the economy&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;3.1&lt;/span&gt; &lt;a href="https://hieuphay.com/NK-symbolic-programming/#expressing-symbols-and-equations"&gt;Expressing symbols and equations&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;3.2&lt;/span&gt; &lt;a href="https://hieuphay.com/NK-symbolic-programming/#rearrange-and-substitute-equations"&gt;Rearrange &amp;amp; substitute equations&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4&lt;/span&gt; &lt;a href="https://hieuphay.com/NK-symbolic-programming/#the-economy-response-to-exogeneous-shock"&gt;The economy response to exogeneous shock&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1&lt;/span&gt; &lt;a href="https://hieuphay.com/NK-symbolic-programming/#deriving-the-deviation-equations"&gt;Deriving the deviation equations&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.2&lt;/span&gt; &lt;a href="https://hieuphay.com/NK-symbolic-programming/#method-of-undetermined-coefficients"&gt;Method of undetermined coefficients&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;5&lt;/span&gt; &lt;a href="https://hieuphay.com/NK-symbolic-programming/#study-the-stability-of-the-system"&gt;Study the stability of the system&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;5.1&lt;/span&gt; &lt;a href="https://hieuphay.com/NK-symbolic-programming/#extracting-the-coefficient-matrix"&gt;Extracting the coefficient matrix&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;5.2&lt;/span&gt; &lt;a href="https://hieuphay.com/NK-symbolic-programming/#analyze-the-conditions"&gt;Analyze the conditions&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;6&lt;/span&gt; &lt;a href="https://hieuphay.com/NK-symbolic-programming/#taking-stock"&gt;Taking stock&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;h2 id="prerequisites"&gt;&#10; &lt;span class="section-num"&gt;1&lt;/span&gt; Prerequisites&#10; &lt;a class="heading-link" href="#prerequisites" aria-labelledby="prerequisites"&gt;&#10; &lt;i class="fa fa-link" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;h3 id="motivations"&gt;&#10; &lt;span class="section-num"&gt;1.1&lt;/span&gt; Motivations&#10; &lt;a class="heading-link" href="#motivations" aria-labelledby="motivations"&gt;&#10; &lt;i class="fa fa-link" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;/a&gt;&#10;&lt;/h3&gt;&#10;&lt;p&gt;This semester, we had a taste of the New-Keynesian models for monetary economics.&#10;Came along with it are the ugly algebra transformations.&#10;When my batchmates told me this would be the life of doing macroeconomics,&#10;I decided that it&amp;rsquo;s time to learn how to do symbolic programming.&lt;/p&gt;</description></item><item><title>Writing one-sentence-per-line</title><link>https://hieuphay.com/one-sentence-per-line/</link><pubDate>Wed, 30 Jun 2021 00:00:00 +0000</pubDate><guid>https://hieuphay.com/one-sentence-per-line/</guid><description>&lt;div class="ox-hugo-toc toc"&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/one-sentence-per-line/#prerequisites"&gt;Prerequisites&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/one-sentence-per-line/#the-technical-inspirations"&gt;The technical inspirations&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/one-sentence-per-line/#lucid-writings"&gt;Lucid writings&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/one-sentence-per-line/#a-remedy-to-writer-s-block"&gt;A remedy to writer&amp;rsquo;s block&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/one-sentence-per-line/#conclusion"&gt;Conclusion&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/one-sentence-per-line/#references"&gt;References&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;h2 id="prerequisites"&gt;&#10; Prerequisites&#10; &lt;a class="heading-link" href="#prerequisites" aria-labelledby="prerequisites"&gt;&#10; &lt;i class="fa fa-link" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;p&gt;The notion of writing one-sentence-per-line may be confusing for many people &amp;ndash; particularly for those who are not familiar to &lt;a href="https://en.wikipedia.org/wiki/WYSIWYM"&gt;&lt;span class='smallcap'&gt;wysiwym&lt;/span&gt;&lt;/a&gt; systems (i.e. &lt;a href="https://en.wikipedia.org/wiki/Markdown"&gt;markdown&lt;/a&gt;, &lt;a href="https://en.wikipedia.org/wiki/TeX"&gt;\(\TeX\)&lt;/a&gt;,&amp;hellip;).&#10;If you belong to this group, here&amp;rsquo;s a mini-tip:&#10;&lt;em&gt;Don&amp;rsquo;t start your writing in a word processor.&lt;/em&gt;&#10;Whenever you learn new things or having an idea, and you want to jot it down, just open a text editor and write to a &lt;code&gt;.txt&lt;/code&gt; file.&#10;&lt;a href="https://en.wikipedia.org/wiki/Microsoft%5FNotepad"&gt;Notepad&lt;/a&gt; are commonly available on every Windows machine &amp;ndash; use that.&#10;There are several reasons worthy of another post, but here they are:&lt;/p&gt;</description></item></channel></rss>