<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Najaf Naqvi on Medium]]></title>
        <description><![CDATA[Stories by Najaf Naqvi on Medium]]></description>
        <link>https://medium.com/@najafnaqvi?source=rss-a5d221815290------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*6PtPCja_-f5EiXOE.</url>
            <title>Stories by Najaf Naqvi on Medium</title>
            <link>https://medium.com/@najafnaqvi?source=rss-a5d221815290------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 00:48:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@najafnaqvi/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Pyguru: Data Science Essentials — Numpy — P]]></title>
            <link>https://medium.com/@najafnaqvi/pyguru-data-science-essentials-numpy-p-fcd93c9eaeab?source=rss-a5d221815290------2</link>
            <guid isPermaLink="false">https://medium.com/p/fcd93c9eaeab</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[numpy]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[python-numpy]]></category>
            <dc:creator><![CDATA[Najaf Naqvi]]></dc:creator>
            <pubDate>Wed, 24 Apr 2019 14:16:20 GMT</pubDate>
            <atom:updated>2019-04-24T14:16:20.932Z</atom:updated>
            <content:encoded><![CDATA[<h3>Pyguru: Data Science Essentials — Numpy — Part 1</h3><blockquote><strong>Note</strong>: The prerequisite for this course is some experience in python and understanding of concepts such as lists, tuples, dictionaries etc. Also this is just an summarized introduction to numpy and its various functions, intended to bring familiarity.</blockquote><p>Numpy is a short term for numerical python and is a fundamental package for scientific computing in python. This is a linear algebra based library and is quite popular with the users. It also acts as the base for many other libraries developed for data science.</p><p><em>Please note that we will be using Jupyter notebook for working with numpy.</em></p><p><strong>Various concepts and methodologies used in Numpy:</strong></p><p>Without any further delay let’s dig deep into various numpy concepts and understand how it works:</p><p><strong>Understanding Numpy Arrays:</strong></p><p>Arrays can be considered as the building block for working with numpy libraries, it comes in 2 forms mainly i.e. matrices and vectors. Vectors are strictly 1D arrays and matrices are 2D arrays. We can create numpy arrays using python lists and tuples, lets see how to do it with lists first,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/923/1*JpHT9kfpw5Py-tW3m3A2DQ.jpeg" /><figcaption>Code snippet from Jupyter notebook for working numpy arrays — 1D and 2D</figcaption></figure><blockquote><strong><em>Some useful numpy functions are given below:</em></strong></blockquote><blockquote><strong><em>Arange</em></strong><em>: Arange is similar to the range function in python is used to generate a range of values. It returns evenly spaced values in a given interval.</em></blockquote><p>//arange([start],[stop],[step]) #Syntax</p><p><strong>Zeros:</strong> This is used to generate number of zeros in an array.</p><p>// zeros(shape, dtype = float)</p><p><strong>One’s:</strong> This is used to generate number of zeros in an array.</p><p><strong>Eye: </strong>This returns an identity matrix</p><p><strong>Random</strong>: This is used to generate random number of samples, has variety of methods associated with it which are explained in the below code snippet.</p><p><strong>Reshape: </strong>This is used give a new shape to the array without changing the data of the array.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/822/1*4K5TEtB9EG01yp-Z1U-dYg.jpeg" /><figcaption>Some useful functions (a)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/820/1*bL_HYScXWEPa4YPeuY9Xtw.jpeg" /></figure><p>There are lot more methods which numpy can perform based on the need and people are advised to get down to notebook and start exploring themselves because as they say “Practice makes a man perfect.” Now we will move onto to other operations such as indexing, slicing, broadcasting which can be performed on numpy arrays.</p><blockquote><strong><em>Operations on Numpy:</em></strong></blockquote><p><strong>Indexing:</strong></p><p>Indexing is one of the most important feature of numpy and is widely used to access and perform operations on the array values. Consider an array with the below elements:</p><p>#Creating an array<br>arr_new = np.array(([20,10,80,75,30,90,95]))</p><pre>(array([20, 10, 80, 75, 30, 90, 95]), numpy.ndarray)</pre><p>This is very similar to the indexing we use in python for lists,</p><p>Consider if we want to access the 0th value of the array we would write,</p><p>&gt; arr_new[0]</p><pre>20</pre><p>To access a range of values, we can type the following code:</p><p>&gt; arr_new[0:6] #<em>here 6th will not be included</em></p><pre>array([20, 10, 80, 75, 30, 90])</pre><p>&gt; #Accessing the value in the reverse order <br> arr_new[-4]</p><pre>75</pre><p>This brings to end of the part 1 of numpy, we will continue in the 2nd part of this data science essentials series. Please feel free to contact me in case of any doubts and connect with me on Linkedin.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fcd93c9eaeab" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[INS Series — Distribution Systems]]></title>
            <link>https://medium.com/@najafnaqvi/ins-series-distribution-systems-cf7616eaa324?source=rss-a5d221815290------2</link>
            <guid isPermaLink="false">https://medium.com/p/cf7616eaa324</guid>
            <category><![CDATA[fintech]]></category>
            <dc:creator><![CDATA[Najaf Naqvi]]></dc:creator>
            <pubDate>Wed, 27 Feb 2019 15:08:59 GMT</pubDate>
            <atom:updated>2019-02-27T15:08:59.769Z</atom:updated>
            <content:encoded><![CDATA[<p>INS Series — Distribution Systems</p><p><strong>Trade Associations</strong></p><p>Trade associations are groups which serve their members through political lobbying, research and advertising. These are created to promote a positive image of the association members as a group.</p><p>Producer’s Trade Associations include the following:</p><p><strong>IIABA</strong>: Independent Insurance Agents and Brokers of America</p><p><strong>PIA</strong>: Professional Insurance Agents</p><p><strong>CIAB</strong>: Council of Agents and Brokers (Primarily handle commercial insurance)</p><p><strong>AAMGA</strong>: American Association of Managing General Agents</p><p><strong>Financial Institutions</strong></p><p>Insurers and producers can elect financial institutions such as banks to market their product. Banks would be interested in doing so because they have an opportunity to diversify and earn money without assuming any liabilities of the insurer or producer.</p><p><strong>Qualities of financial institution for insurer:</strong></p><ul><li>Strong customer base</li><li>Product cross selling</li><li>Transactions processing</li><li>DB mining through efficient use of technology</li></ul><blockquote><strong>Functions of insurance producers: (3P3CRS)</strong></blockquote><ol><li>Prospecting</li><li>Premium Collection</li><li>Policy Issuance</li><li>Customer Service</li><li>Claim Handling</li><li>Consulting</li><li>Risk Management Review</li><li>Sales</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cf7616eaa324" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[INS Series — Marketing]]></title>
            <link>https://medium.com/@najafnaqvi/ins-series-marketing-54d233648ec9?source=rss-a5d221815290------2</link>
            <guid isPermaLink="false">https://medium.com/p/54d233648ec9</guid>
            <category><![CDATA[insurance]]></category>
            <dc:creator><![CDATA[Najaf Naqvi]]></dc:creator>
            <pubDate>Mon, 25 Feb 2019 09:02:09 GMT</pubDate>
            <atom:updated>2019-02-25T09:02:09.304Z</atom:updated>
            <content:encoded><![CDATA[<p>INS Series — Marketing</p><p>Factors influencing an agency relationship:</p><ol><li><strong>Legal Roles</strong>: Agency relationship requires absolute trust between the agent and the insurer, they both are bound by legal contract. <strong>Agency contract</strong> is a written contract that gives to agent to represent the insurer.</li><li><strong>Legal Responsibilities</strong></li><li><strong>Scope of authority (AABIE)</strong></li></ol><ul><li><strong>Actual authority</strong>: it can be expressed or implied</li><li><strong>Express Authority</strong>: The authority that insurer grants specifically to the agent</li><li><strong>Implied</strong>: The authority implicitly conferred on an agent by custom,usage or a principal’s conduct indicating intention to confer such authority.</li><li><strong>Binding authority</strong>: An insurance agent’s authority to effect coverage on behalf of the insurer. Binding coverage is usually accomplished by issuing binders which can be written or oral. This is done before a formal policy is issued.</li><li><strong>Apparent authority</strong>: A third party’s belief that an agent has authority to act on the insurer’s behalf.</li></ul><p><strong>Types of Insurance distribution system:</strong></p><ul><li><strong>Independent agency and brokerage marketing system-</strong></li><li><em>These are independent contractors rather than employees of insurer’s ,they are usually free to represent as many or few insurer’s as they want. Eg) policybazaar</em></li><li>Exclusive agency marketing system</li><li>Direct writer marketing system</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=54d233648ec9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[INS Series Insurer’s Profitability Ratio:]]></title>
            <link>https://medium.com/@najafnaqvi/ins-series-insurers-profitability-ratio-222d8d62a9e7?source=rss-a5d221815290------2</link>
            <guid isPermaLink="false">https://medium.com/p/222d8d62a9e7</guid>
            <category><![CDATA[business]]></category>
            <category><![CDATA[general]]></category>
            <category><![CDATA[investing]]></category>
            <category><![CDATA[insurance]]></category>
            <dc:creator><![CDATA[Najaf Naqvi]]></dc:creator>
            <pubDate>Thu, 21 Feb 2019 07:29:55 GMT</pubDate>
            <atom:updated>2019-02-21T07:29:55.833Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>INS Series Insurer’s Profitability Ratio:</strong></p><p>The insurers analyze their financial performance using ratios to identify strengths and weaknesses in their operations. Investors also look at ratios to see whether they should be investing in a company or not. Regulators will also look at ratio to find any discrepancies in the financial health of the company. The common ratios are used to measure insurer’s profitability are:</p><ol><li>Loss Ratio</li><li>Expense Ratio</li><li>Combined Ratio</li><li>Investment Income Ratio</li><li>Overall Operating Ratio</li></ol><p><strong>Loss Ratio</strong> - <br>Loss Ratio = Incurred Losses (including Loss Adjustment Expenses)/Earned Premiums</p><p><strong>Expense Ratio – </strong><br>Expense Ratio = Incurred UW Expenses/Written Premiums</p><p><strong>Q) Why written premium is being used to calculate the Expense Ratio?</strong><br>Ans) Written premium is being used to calculate the expense ratio because at the start we require some acquisition expenses, so it would be useful to use written premium as they will give better picture at the start.</p><p><strong>Combined Ratio- </strong><br>Combined Ratio = Loss ratio + expense ratio</p><p><strong>Investment Income Ratio – </strong><br>IIR = Net investment income/Earned Premium</p><p><strong>Overall Operating Ratio – </strong><br>OOR = Combined ratio – IIR</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=222d8d62a9e7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[INS Series — Chapter 3 Part 2]]></title>
            <link>https://medium.com/@najafnaqvi/ins-series-chapter-3-part-2-1ad762af3f1c?source=rss-a5d221815290------2</link>
            <guid isPermaLink="false">https://medium.com/p/1ad762af3f1c</guid>
            <category><![CDATA[insurance]]></category>
            <dc:creator><![CDATA[Najaf Naqvi]]></dc:creator>
            <pubDate>Wed, 20 Feb 2019 05:13:50 GMT</pubDate>
            <atom:updated>2019-02-20T05:13:50.386Z</atom:updated>
            <content:encoded><![CDATA[<p>INS Series — Chapter 3 Part 2</p><p><em>The sale of insurance generates UW income, which is the amount remaining after UW expenses and losses are subtracted from the premiums</em></p><blockquote><strong><em>What is investment income?</em></strong></blockquote><blockquote>The investment of funds generates investment income, which is the amount remaining (either a gain or a loss) after investment expenses are subtracted from the gross amount earned on investments during a period.</blockquote><blockquote><strong><em>investment income = (gross amount earned on investments during a period - investment expenses)</em></strong></blockquote><blockquote><strong>Written Premium:</strong> Written premiums are the total premiums on all policies put into effect, or &quot;written,&quot; during a given period. This is the agreed premium amount when the policy becomes effective and is expected to be received in the future.</blockquote><blockquote><strong>Earned Premium:</strong> Earned premiums are the portion of the written premiums that apply to the part of the policy period that has already occurred.</blockquote><blockquote><strong>Unwriting Activity Expenses:</strong></blockquote><ul><li><strong>Paid Losses:</strong> Losses that have been paid to, or on behalf of, insureds during a given period. A paid loss is a definite amount.</li><li><strong>Incurred Loss:</strong> The losses that have occurred during a specific period no matter when the claim resulting from the losses is paid</li><li><strong>IBNR – Incurred but not reported losses:</strong> Losses that have occurred but have not been reported to the insurer.</li></ul><p><strong>Incurred loss = Paid loss + loss reserve</strong></p><ul><li>Other expenses include: Acquisition Expenses, General Expenses, Loss adjustment Expenses</li></ul><p><strong>Investment Activity Income:</strong></p><p><strong>Net Investment Income</strong> = Investment Income – Investment Expenses</p><p><strong>Insurer Profitability:</strong></p><p><strong>Overall gain or loss from operations</strong> = Net investment gain or loss + Net underwriting gain or loss</p><p><strong>Note</strong>: After an insurer has paid losses and reserved money to pay additional losses, expenses, and income taxes, the remainder is net income, which belongs to the owners of the company.</p><p><strong>Admitted assets</strong><br>Admitted Assets are types of property that regulators allow insurers to show as assets on their financial statements. Because these types of assets could easily be liquidated or converted to cash at or near the property’s market value, regulators allow admitted assets to be shown on insurers&#39; financial statements.<br>Examples include cash, admitted assets include stocks, bonds, mortgages, real estate, certain computer equipment, and premium balances due in less than ninety days.</p><p><strong>Nonadmitted assets </strong><br>Nonadmitted assets cannot be readily converted to cash at or near their market value if the insurer were to liquidate its holdings. For this reason, regulators do not allow insurers to show them as assets on their financial statements.<br>Nonadmitted assets include premiums that are more than ninety days overdue, property, such as office furniture and equipment.</p><p><strong>Liability of insurers:</strong></p><p>The insurer’s liability is divided into 3 major categories:</p><ul><li>Loss reserve and loss expense reserve</li><li>Unearned premium reserve – It is the unearned premiums on all the policies at a specific time. It is a liability because it represents insurance premiums for which the insurer has not yet rendered any service</li><li>Other liabilities (typically small, miscellaneous obligations)</li></ul><p><strong>Policyholder Surplus</strong> = Admitted Assets – Liabilities</p><p><strong>Income Statement:</strong></p><p>An insurer’s income statement shows the insurer’s revenues, expenses, and net income for a period, usually one year. It compares the revenues generated with the expenses incurred to produce those revenues. The income statement lists these items:</p><ul><li><strong>Revenues</strong>—earned premiums</li><li><strong>Expenses</strong>—incurred losses, loss adjustment expenses, and other underwriting expenses (acquisition expenses; general expenses; and premium taxes,licenses, and fees)</li><li><strong>Net underwriting gain or loss</strong> = earned premiums - total expenses</li><li><strong>Net investment income</strong> = investment income - investment expenses</li><li><strong>Net income before income taxes</strong> = net underwriting gain (loss) + net investment income</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1ad762af3f1c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>