Skip to content

Commit 21051be

Browse files
authored
[match_transport.md] Fix typos (#302)
1 parent 8c84d8d commit 21051be

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

lectures/match_transport.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,19 @@ kernelspec:
1515

1616
## Overview
1717

18-
Optimal transport theory studies how a marginal probabilty measure can be related to another marginal probability measure in an ideal way.
18+
Optimal transport theory studies how a marginal probability measure can be related to another marginal probability measure in an ideal way.
1919

2020
* here ideal means to minimize some cost criterion.
2121

22-
The output of such a theory is a **coupling** of the two probability measures, i.e., a joint probabilty
22+
The output of such a theory is a **coupling** of the two probability measures, i.e., a joint probability
2323
measure having those two marginal probability measures.
2424

25-
This lecture describes how Job Boerma, Aleh Tsyvinski, Ruodo Wang,
25+
This lecture describes how Job Boerma, Aleh Tsyvinski, Ruodu Wang,
2626
and Zhenyuan Zhang {cite}`boerma2023composite` used optimal transport theory to formulate and compute an equilibrium of a model in which wages and allocations of workers across jobs adjust to match measures of different types with measures of different types of occupations.
2727

2828
Production technologies allow firms to reshape costs of mismatch so that they become concave.
2929

30-
It is then possible that in equilibrium there is neither **positive assortive** nor **negative assorting** matching, an outcome that {cite}`boerma2023composite` call **composite assortive** matching.
30+
It is then possible that in equilibrium there is neither **positive assortative** nor **negative assortative** matching, an outcome that {cite}`boerma2023composite` call **composite assortative** matching.
3131

3232
For example, with composite matching in an equilibrium model with workers of different types, ex ante identical *workers* can sort into different *occupations*, some positively and some negatively.
3333

@@ -665,7 +665,7 @@ def find_layers(self):
665665
(H_z[None, 1:] <= layers_height[:-1, None])
666666
* (layers_height[1:, None] <= H_z[None, :-1]))
667667
668-
# each layer is reshaped as a list of indices correponding to types
668+
# each layer is reshaped as a list of indices corresponding to types
669669
layers = [self.type_z[layers_01[ell]]
670670
for ell in range(len(layers_height)-1)]
671671
@@ -1194,7 +1194,7 @@ We then return the full matching, the off-diagonal matching, and the off-diagona
11941194
11951195
```{code-cell} ipython3
11961196
def solve_primal_pb(self):
1197-
# Compute on-diagonal matching, create new instance with resitual types
1197+
# Compute on-diagonal matching, create new instance with residual types
11981198
off_diagoff_diagonal, match_tuple = self.generate_offD_onD_matching()
11991199
nonzero_id_x, nonzero_id_y, matching_diag = match_tuple
12001200
@@ -1440,7 +1440,7 @@ There are two feasible matchings, one corresponding to PAM, the other to NAM.
14401440
14411441
Evidently,
14421442
1443-
* PAM corresponds to the matching with two medium side displacement because the correponding cost is strictly convex and increasing in the the displacement.
1443+
* PAM corresponds to the matching with two medium side displacement because the correponding cost is strictly convex and increasing in the displacement.
14441444
14451445
* NAM corresponds to the matching with a small displacement and a large displacement because the gain is strictly convex and increasing in the displacement.
14461446
@@ -1485,7 +1485,7 @@ To explore the coincidental resemblence to a NAM outcome, let's shift left typ
14851485
14861486
PAM and NAM are invariant to any such shift.
14871487
1488-
However, for a large enough shift, composite sorting now coindices with PAM.
1488+
However, for a large enough shift, composite sorting now coincides with PAM.
14891489
14901490
```{code-cell} ipython3
14911491
N = 2
@@ -2138,7 +2138,7 @@ if len(exam_assign_OD.n_x) * len(exam_assign_OD.m_y) < 1000:
21382138
21392139
+++ {"user_expressions": []}
21402140
2141-
Having computed the dual variables of the off-diagonal types, we compute the dual variables for perfecly matched pairs by setting
2141+
Having computed the dual variables of the off-diagonal types, we compute the dual variables for perfectly matched pairs by setting
21422142
21432143
$$
21442144
\begin{aligned}
@@ -2402,7 +2402,7 @@ ConcaveCostOT.plot_marginals_pdf = plot_marginals_pdf
24022402
24032403
+++ {"user_expressions": []}
24042404
2405-
We plot the hystograms and the measure of underqualification for the worker types and job types. We then compute the primal solution and plot the matching.
2405+
We plot the histograms and the measure of underqualification for the worker types and job types. We then compute the primal solution and plot the matching.
24062406
24072407
```{code-cell} ipython3
24082408
# Plot pdf

0 commit comments

Comments
 (0)