Slide 1
Marriage market
Autumn School Dynamic MSM
16-18 November 2015 | L-Esch-sur-Alzette
Slide 2
The structure of the marriage market
(based on MIDAS)
No
Yes
Married?
person is ‘selected’
to find a partner
Match and link individuals
create a new household
Divorce?
yes
Divorced
Autumn School Dynamic MSM
No
Remain married
16-18 November 2015 | L-Esch-sur-Alzette
Slide 3
The matching routine
Females selected for the marriage market
Males selected for the marriage market
1
2
3
4
1
p(1,1)
p(1,2)
p(1,3)
…
2
p(2,1)
p(2,2)
p(2,3)
…
3
p(3,1)
p(3,2)
p(3,3)
…
4
…
…
…
…
5
6
…
e.g. age,
age difference,
…
5
6
…
p=partnership(♀x,♂y)=max{p(x,y|x)} of the remaining y
Autumn School Dynamic MSM
16-18 November 2015 | L-Esch-sur-Alzette
Slide 4
Matching – structural form
set1filter
set2filter
score
orderby
pool_size (optional argument)
algo (optional argument)
The result of the matching function is the id number of the matched entity
The matching function at this point does not allow for macro’s or temporary
variables
You should try out various matching orderings
Autumn School Dynamic MSM
16-18 November 2015 | L-Esch-sur-Alzette
Slide 5
Rank_matching – structural form
set1filter
set2filter
orderby1
orderby2
The result of the matching function is the id number of the matched entity
The matching function at this point does not allow for macro’s or temporary
variables
Matching is based on decreasing orderby1 and orderby2.
Autumn School Dynamic MSM
16-18 November 2015 | L-Esch-sur-Alzette
Slide 6
After a couple is formed, a new
household needs to be created
Use new() to create a new household
‘Entity name’
filter
e.g.
- newhousehold: new('household', filter= ISFEMALE and not alone and
justcoupled)
- hh_id: if(justcoupled,
if(ISMALE, partner.newhousehold, newhousehold),
hh_id)
Autumn School Dynamic MSM
16-18 November 2015 | L-Esch-sur-Alzette
Slide 7
Where there is marriage, there is
divorce…
A couple divorces when one of the partners divorces
- to_divorce: divorce or partner.divorce
In that case, the link between the partners is broken
- partner_id: if(to_divorce, UNSET, partner_id)
And (we assume that) the man leaves the house
- hh_id: if(ISMALE and to_divorce,
new('household'),
hh_id)
This is a key decision (which should be checked), because the above setting
implies that children always remain with the mother after divorce.
Autumn School Dynamic MSM
16-18 November 2015 | L-Esch-sur-Alzette
© Copyright 2026 Paperzz