This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

psaspeed2rate

Single monthly mortality rate given PSA speed

Syntax

[CPRPSA,SMMPSA] = psaspeed2rate(PSASpeed)

Description

example

[CPRPSA,SMMPSA] = psaspeed2rate(PSASpeed) calculates vectors of PSA prepayments, each containing 360 prepayment elements, to represent the 360 months in a 30-year mortgage pool.

Examples

collapse all

This example shows how to compute the prepayment and mortality rates, given a mortgage-backed security with annual speed set at the PSA default benchmark.

PSASpeed = [100 200];
 
[CPRPSA, SMMPSA]= psaspeed2rate(PSASpeed);

% view the plot of the output
psaspeed2rate(PSASpeed)

Input Arguments

collapse all

Annual speed relative to the benchmark, specified as any value > 0 using an NSPD-by-1 vector. The PSA benchmark is 100.

Data Types: double

Output Arguments

collapse all

PSA conditional prepayment rate, returned as a 360-by-NSPD vector in decimals.

PSA monthly default rate, returned as a 360-by-NSPD vector in decimals.

References

[1] PSA Uniform Practices, SF-49

Introduced before R2006a