Summary method for class "hammel_matching_model"
Arguments
- object
A
hammel_matching_modelobject returned bymatching_model()orage_gap_matching_model().- ...
Additional arguments, currently unused.
- x
A
summary.hammel_matching_modelobject returned bysummary.hammel_matching_model().
Value
summary() returns an object of class summary.hammel_matching_model
containing:
- formula
The utility formula.
- coefficients
The named utility coefficients.
- age_gap
NULL, or a list with the impliedpreferred_age_gapandhalf_weight_distance, in years, of a quadratic age-gap model.- group_exogamy
The
group_exogamyspecification, orNULL.- delta
The
deltaspecification, orNULL.
Details
When the formula is exactly ~ age_difference + I(age_difference^2) with a
negative quadratic coefficient, as built by age_gap_matching_model(), the
summary also reports the implied preferred age gap and half-weight
distance.
Examples
matching <- age_gap_matching_model(
preferred_age_gap = 3,
half_weight_distance = 5,
group_exogamy = list(race = c("W:B" = -3, "W:O" = NA), region = NA)
)
summary(matching)
#>
#> ── Matching model ──
#>
#> • Formula: ~age_difference + I(age_difference^2)
#> • Coefficients: age_difference = 0.1664, I(age_difference^2) = -0.02773
#> • Preferred age gap: 3 years
#> • Half-weight distance: 5 years
#> • Group exogamy (race): W:B = -3, W:O = prohibited
#> • Group exogamy (region): all pairs prohibited
