Commit 60cb0315 by Jeffrey Schlitt

### added regression and firmed up active catalog items

parent 89bc0287
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type

12.9 KB | W: | H:

21.2 KB | W: | H:

• 2-up
• Swipe
• Onion skin
 .. _irr: .. |catalogicon| image:: ../../images/CatalogIcon.png :target: `Aginity Catalog Assets`_ :target: `IRR Sample Aginity Catalog Assets`_ Lesson #1: Calculate Internal Rate of Return (IRR) Directly in Redshift ************************************************************************** ... ... @@ -470,7 +470,7 @@ So, one additional filter gives the final query: .. image:: ../../images/result_6.png Aginity Catalog Assets IRR Sample Aginity Catalog Assets ====================================== ... ...
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
 ... ... @@ -91,14 +91,21 @@
• Step 3 - IRR Baby Steps
• Step 4 - Longer Strides
• Step 5 - Crossing the Finish Line
• Aginity Catalog Assets
• IRR Sample Aginity Catalog Assets
• Lesson #5: Learn to Create Basic Recency, Frequency and Monetary Segments
• Lesson #6: Identify Trends Using Linear Regression
• ... ... @@ -209,7 +216,7 @@

Internal Rate of Return (IRR) is a calculation frequently used to estimate an investment’s rate of return.

I encountered it at a large mortgage lender where IRR was one of many calculations used to determine the health of individual loans. The inputs were the mortgage principle, the previous monthly payments, and estimated monthly payments to the end of the loan period. So, there could easily be more than 300 inputs to the IRR calculation. The standard practice was to transfer a sample of borrower data from the data warehouse to the SAS server to run the IRR calculation and transfer the results back to the data warehouse.

The type of iterative calculation required by IRR is not traditionally done on MPP data warehouse platforms. However, with a bit of advanced SQL thinking, this type of calculation can take advantage of the distributed nature of the MPP to score very large populations.

As with all of our lessons if you want to catalog this code in Aginity Pro or Aginity Team click the to skip right to the queries to add to your catalog.

As with all of our lessons if you want to catalog this code in Aginity Pro or Aginity Team click the to skip right to the queries to add to your catalog.

Step 1 - Introduction to IRR

... ... @@ -594,8 +601,8 @@

Aginity Catalog Assets

IRR Sample Aginity Catalog Assets

... ...
This diff is collapsed.
 ... ... @@ -38,7 +38,7 @@ ... ... @@ -91,24 +91,32 @@
• Step 3 - IRR Baby Steps
• Step 4 - Longer Strides
• Step 5 - Crossing the Finish Line
• Aginity Catalog Assets
• IRR Sample Aginity Catalog Assets
• Lesson #5: Learn to Create Basic Recency, Frequency and Monetary Segments
• Lesson #6: Identify Trends Using Linear Regression
• This diff is collapsed.
 ... ... @@ -90,14 +90,14 @@
• Step 3 - IRR Baby Steps
• Step 4 - Longer Strides
• Step 5 - Crossing the Finish Line
• Aginity Catalog Assets
• IRR Sample Aginity Catalog Assets