Skip to content

Commit

Permalink
Add table and LaTeX examples in webpages
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaillat committed Jul 11, 2024
1 parent 0090b3e commit df51e06
Show file tree
Hide file tree
Showing 4 changed files with 162 additions and 125 deletions.
12 changes: 0 additions & 12 deletions content/courses/course1/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,3 @@ This section concludes by comparing Portuguese and Spanish irregular verbs to ir
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.


## Additional references on unrelated topics

| Title | Author | Year | Link |
| :----- | :------: | :----: | :----: |
| Do Matching Frictions Explain Unemployment? Not in Bad Times | P. Michaillat | 2012 | [pascalmichaillat.org/1.pdf](https://pascalmichaillat.org/1.pdf) |
| A Theory of Countercyclical Government Multiplier | P. Michaillat | 2014 | [pascalmichaillat.org/2.pdf](https://pascalmichaillat.org/2.pdf) |
| A Macroeconomic Approach to Optimal Unemployment Insurance: Theory| C. Landais et al. | 2018 | [pascalmichaillat.org/4.pdf](https://pascalmichaillat.org/4.pdf) |
| A Macroeconomic Approach to Optimal Unemployment Insurance: Applications | C. Landais et al. | 2018 | [pascalmichaillat.org/5.pdf](https://pascalmichaillat.org/5.pdf) |
| Persistence of False Paradigms in Low-Power Sciences | G. Akerlof & P. Michaillat | 2018 | [pascalmichaillat.org/10.pdf](https://pascalmichaillat.org/10.pdf) |
| Resolving New Keynesian Anomalies with Wealth in the Utility Function | P. Michaillat & E. Saez | 2021 | [pascalmichaillat.org/11.pdf](https://pascalmichaillat.org/11.pdf) |
| Modeling Job Stealing | P. Michaillat | 2023 | [pascalmichaillat.org/14.pdf](https://pascalmichaillat.org/14.pdf) |
51 changes: 31 additions & 20 deletions content/data/data1.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,12 @@ This dataset contains all irregular verbs in [all known Romance languages](http:

---

## View
## View datasets

+ Irregular verbs in Portugese: [dataset](https://github.com/pmichaillat/u-star)
+ Irregular verbs in Italian: [dataset](https://github.com/pmichaillat/unemployment-gap)
+ Irregular verbs in French: [dataset](https://github.com/pmichaillat/job-rationing)
+ Irregular verbs in Spanish: [dataset](https://github.com/pmichaillat/countercyclical-multiplier)
+ Construction of the Portugese and Italian datasets: [paper](https://pascalmichaillat.org/1.pdf) and [online appendix](https://pascalmichaillat.org/1a.pdf)
+ Construction of the Spanish and French datasets: [paper](https://pascalmichaillat.org/2.pdf)
+ [Irregular verbs in Portugese](https://github.com/pmichaillat/u-star)
+ [Irregular verbs in Italian](https://github.com/pmichaillat/unemployment-gap)
+ [Irregular verbs in French](https://github.com/pmichaillat/job-rationing)
+ [Irregular verbs in Spanish](https://github.com/pmichaillat/countercyclical-multiplier)

---

Expand All @@ -44,14 +42,15 @@ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

## Description of variables

+ Lorem ipsum dolor sit amet
+ Consectetur adipisicing elit
+ Sed do eiusmod
+ Tempor incididunt ut labore et dolore magna aliqua
+ Ut enim ad minim veniam
+ Quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur.
| Symbol | Range | Variable | Note |
| -------- | --------- | --------- | -------------------------------------------------- |
| $\alpha$ | 1930–1954 | Tempor | Lorem ipsum dolor sit amet |
| $\beta$ | 1930–1954 | Fugiat | Consectetur adipisicing elit |
| $\gamma$ | 1833–1954 | Duis | Sed do eiusmod |
| $\zeta$ | 1930–1994 | Excepteur | Tempor incididunt ut labore et dolore magna aliqua |
| $\nu$ | 1990–2023 | Lorem | Ut enim ad minim veniam |
| $\chi$ | 1990–2023 | Labore | Quis laboris nisi ut aliquip ex ea commodo |
| $\Omega$ | 1890–1900 | Pariatur | Excepteur sint $\beta > \alpha$ |

---

Expand Down Expand Up @@ -83,7 +82,7 @@ file_path = 'data.csv'
with open(file_path, 'r') as file:
```

#### Read data:
### Read data:

Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur.
Expand All @@ -92,7 +91,7 @@ cillum dolore eu fugiat nulla pariatur.
lines = file.readlines()
```

#### Parse and process data:
### Parse and process data:

Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur.
Expand All @@ -105,7 +104,7 @@ for line in lines:
data.extend(line_data) # Extend the main list with values from the line
```

##### Compute summary statistics using NumPy:
#### Compute summary statistics using NumPy:

Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Expand All @@ -118,7 +117,7 @@ min_value = np.min(data_array)
max_value = np.max(data_array)
```

##### Display summary statistics:
#### Display summary statistics:

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
Expand All @@ -131,4 +130,16 @@ print(f"Median: {median}")
print(f"Standard Deviation: {std_dev}")
print(f"Minimum Value: {min_value}")
print(f"Maximum Value: {max_value}")
```
```

### Additional references on unrelated topics

| Title | Author | Year | Link |
| :----- | :------: | :----: | :----: |
| Do Matching Frictions Explain Unemployment? Not in Bad Times | P. Michaillat | 2012 | [pascalmichaillat.org/1.pdf](https://pascalmichaillat.org/1.pdf) |
| A Theory of Countercyclical Government Multiplier | P. Michaillat | 2014 | [pascalmichaillat.org/2.pdf](https://pascalmichaillat.org/2.pdf) |
| A Macroeconomic Approach to Optimal Unemployment Insurance: Theory| C. Landais et al. | 2018 | [pascalmichaillat.org/4.pdf](https://pascalmichaillat.org/4.pdf) |
| A Macroeconomic Approach to Optimal Unemployment Insurance: Applications | C. Landais et al. | 2018 | [pascalmichaillat.org/5.pdf](https://pascalmichaillat.org/5.pdf) |
| Persistence of False Paradigms in Low-Power Sciences | G. Akerlof & P. Michaillat | 2018 | [pascalmichaillat.org/10.pdf](https://pascalmichaillat.org/10.pdf) |
| Resolving New Keynesian Anomalies with Wealth in the Utility Function | P. Michaillat & E. Saez | 2021 | [pascalmichaillat.org/11.pdf](https://pascalmichaillat.org/11.pdf) |
| Modeling Job Stealing | P. Michaillat | 2023 | [pascalmichaillat.org/14.pdf](https://pascalmichaillat.org/14.pdf) |
67 changes: 2 additions & 65 deletions public/courses/course1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
"keywords": [
"Romance languages", "philology", "irregular verbs", "Spanish", "Portuguese"
],
"articleBody": "Introduction This course covers research topics related to Romance philology. It focuses especially on Portugese and Spanish irregular verbs. It tries to answer several questions:\nWhy are there irregular verbs? How are Portuguese irregular verbs different from Spanish irregular verbs? What is the role of Latin and Greek in these irregularities? What about irregular verbs in other Romance languages? Part 1: Review of Romance languages This section reviews Romance languages. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\nLecture videos Lecture video 1 Lecture video 2 Lecture video 3 Lecture notes Lecture note 1 Readings Paper 1 – This paper finds things. Paper 2 – This paper reviews things. Paper 3 – This paper reviews more things and derives some results. Part 2: Portugese irregular verbs This section introduces Portugese irregular verbs. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\nLecture videos Lecture video 4 Lecture video 5 Lecture video 6 Lecture notes Lecture note 2 Readings Paper 4 – This paper shows things. (Details about the results are presented in the paper’s online appendix .) Paper 5 – This paper shows other things. (The paper’s online appendix explains the construction of the data.) Part 3: Spanish irregular verbs This section quickly discusses irregular verbs in Spanish. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.\nLecture videos Lecture video 7 Lecture video 8 Lecture video 9 Lecture video 10 Lecture video 11 Optional lecture video: extensions of the results Optional readings Paper 6 – This paper finds complicated patterns in the data. Paper 7 – This paper reviews data on verbs. Paper 8 – This paper characterizes more things and derives some results. Conclusion This section concludes by comparing Portuguese and Spanish irregular verbs to irregular verbs in other Romance languages.\nUt enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Aenean magna nisl, mollis quis, molestie eu, feugiat in, orci. In hac habitasse platea dictumst. Quisque non felis. Nullam vulputate libero quis ligula. Fusce scelerisque suscipit sapien. Suspendisse commodo ullamcorper magna. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.\nExcepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\nAdditional references on unrelated topics Title Author Year Link Do Matching Frictions Explain Unemployment? Not in Bad Times P. Michaillat 2012 pascalmichaillat.org/1.pdf A Theory of Countercyclical Government Multiplier P. Michaillat 2014 pascalmichaillat.org/2.pdf A Macroeconomic Approach to Optimal Unemployment Insurance: Theory C. Landais et al. 2018 pascalmichaillat.org/4.pdf A Macroeconomic Approach to Optimal Unemployment Insurance: Applications C. Landais et al. 2018 pascalmichaillat.org/5.pdf Persistence of False Paradigms in Low-Power Sciences G. Akerlof \u0026 P. Michaillat 2018 pascalmichaillat.org/10.pdf Resolving New Keynesian Anomalies with Wealth in the Utility Function P. Michaillat \u0026 E. Saez 2021 pascalmichaillat.org/11.pdf Modeling Job Stealing P. Michaillat 2023 pascalmichaillat.org/14.pdf ",
"wordCount" : "636",
"articleBody": "Introduction This course covers research topics related to Romance philology. It focuses especially on Portugese and Spanish irregular verbs. It tries to answer several questions:\nWhy are there irregular verbs? How are Portuguese irregular verbs different from Spanish irregular verbs? What is the role of Latin and Greek in these irregularities? What about irregular verbs in other Romance languages? Part 1: Review of Romance languages This section reviews Romance languages. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\nLecture videos Lecture video 1 Lecture video 2 Lecture video 3 Lecture notes Lecture note 1 Readings Paper 1 – This paper finds things. Paper 2 – This paper reviews things. Paper 3 – This paper reviews more things and derives some results. Part 2: Portugese irregular verbs This section introduces Portugese irregular verbs. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\nLecture videos Lecture video 4 Lecture video 5 Lecture video 6 Lecture notes Lecture note 2 Readings Paper 4 – This paper shows things. (Details about the results are presented in the paper’s online appendix .) Paper 5 – This paper shows other things. (The paper’s online appendix explains the construction of the data.) Part 3: Spanish irregular verbs This section quickly discusses irregular verbs in Spanish. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.\nLecture videos Lecture video 7 Lecture video 8 Lecture video 9 Lecture video 10 Lecture video 11 Optional lecture video: extensions of the results Optional readings Paper 6 – This paper finds complicated patterns in the data. Paper 7 – This paper reviews data on verbs. Paper 8 – This paper characterizes more things and derives some results. Conclusion This section concludes by comparing Portuguese and Spanish irregular verbs to irregular verbs in other Romance languages.\nUt enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Aenean magna nisl, mollis quis, molestie eu, feugiat in, orci. In hac habitasse platea dictumst. Quisque non felis. Nullam vulputate libero quis ligula. Fusce scelerisque suscipit sapien. Suspendisse commodo ullamcorper magna. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.\nExcepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\n",
"wordCount" : "538",
"inLanguage": "en",
"image":"https://pascalmichaillat.org/hugo-website/course1.png","datePublished": "2003-03-10T00:00:00Z",
"dateModified": "2024-05-08T00:00:00Z",
Expand Down Expand Up @@ -196,7 +196,6 @@ <h1 class="post-title entry-hint-parent">
<li><a href="#part-2-portugese-irregular-verbs">Part 2: Portugese irregular verbs</a></li>
<li><a href="#part-3-spanish-irregular-verbs">Part 3: Spanish irregular verbs</a></li>
<li><a href="#conclusion">Conclusion</a></li>
<li><a href="#additional-references-on-unrelated-topics">Additional references on unrelated topics</a></li>
</ul>
</nav>
</div>
Expand Down Expand Up @@ -296,68 +295,6 @@ <h2 id="conclusion">Conclusion<a hidden class="anchor" aria-hidden="true" href="
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p>
</blockquote>
<p>Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<h2 id="additional-references-on-unrelated-topics">Additional references on unrelated topics<a hidden class="anchor" aria-hidden="true" href="#additional-references-on-unrelated-topics">#</a></h2>
<table>
<thead>
<tr>
<th style="text-align:left">Title</th>
<th style="text-align:center">Author</th>
<th style="text-align:center">Year</th>
<th style="text-align:center">Link</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">Do Matching Frictions Explain Unemployment? Not in Bad Times</td>
<td style="text-align:center">P. Michaillat</td>
<td style="text-align:center">2012</td>
<td style="text-align:center"><a href="https://pascalmichaillat.org/1.pdf" target="_blank">pascalmichaillat.org/1.pdf</a>
</td>
</tr>
<tr>
<td style="text-align:left">A Theory of Countercyclical Government Multiplier</td>
<td style="text-align:center">P. Michaillat</td>
<td style="text-align:center">2014</td>
<td style="text-align:center"><a href="https://pascalmichaillat.org/2.pdf" target="_blank">pascalmichaillat.org/2.pdf</a>
</td>
</tr>
<tr>
<td style="text-align:left">A Macroeconomic Approach to Optimal Unemployment Insurance: Theory</td>
<td style="text-align:center">C. Landais et al.</td>
<td style="text-align:center">2018</td>
<td style="text-align:center"><a href="https://pascalmichaillat.org/4.pdf" target="_blank">pascalmichaillat.org/4.pdf</a>
</td>
</tr>
<tr>
<td style="text-align:left">A Macroeconomic Approach to Optimal Unemployment Insurance: Applications</td>
<td style="text-align:center">C. Landais et al.</td>
<td style="text-align:center">2018</td>
<td style="text-align:center"><a href="https://pascalmichaillat.org/5.pdf" target="_blank">pascalmichaillat.org/5.pdf</a>
</td>
</tr>
<tr>
<td style="text-align:left">Persistence of False Paradigms in Low-Power Sciences</td>
<td style="text-align:center">G. Akerlof &amp; P. Michaillat</td>
<td style="text-align:center">2018</td>
<td style="text-align:center"><a href="https://pascalmichaillat.org/10.pdf" target="_blank">pascalmichaillat.org/10.pdf</a>
</td>
</tr>
<tr>
<td style="text-align:left">Resolving New Keynesian Anomalies with Wealth in the Utility Function</td>
<td style="text-align:center">P. Michaillat &amp; E. Saez</td>
<td style="text-align:center">2021</td>
<td style="text-align:center"><a href="https://pascalmichaillat.org/11.pdf" target="_blank">pascalmichaillat.org/11.pdf</a>
</td>
</tr>
<tr>
<td style="text-align:left">Modeling Job Stealing</td>
<td style="text-align:center">P. Michaillat</td>
<td style="text-align:center">2023</td>
<td style="text-align:center"><a href="https://pascalmichaillat.org/14.pdf" target="_blank">pascalmichaillat.org/14.pdf</a>
</td>
</tr>
</tbody>
</table>


</div>
Expand Down
Loading

0 comments on commit df51e06

Please sign in to comment.