{"nbformat":4,"nbformat_minor":0,"metadata":{"colab":{"provenance":[],"authorship_tag":"ABX9TyNt7bO2gvVz4hc7406ixnyl"},"kernelspec":{"name":"python3","display_name":"Python 3"},"language_info":{"name":"python"}},"cells":[{"cell_type":"code","execution_count":1,"metadata":{"id":"7y1KskSmB95e","executionInfo":{"status":"ok","timestamp":1717751716914,"user_tz":-330,"elapsed":1340,"user":{"displayName":"Amit Sachan","userId":"17076119069500437280"}}},"outputs":[],"source":["import scipy.stats as stats\n","import numpy as np"]},{"cell_type":"code","source":["mu = 12\n","sigma = 2.3\n","ansa = 1-stats.norm.cdf(9,mu, sigma)\n","ansa"],"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"id":"uudC9nGGChHC","executionInfo":{"status":"ok","timestamp":1717751716915,"user_tz":-330,"elapsed":28,"user":{"displayName":"Amit Sachan","userId":"17076119069500437280"}},"outputId":"a6e62796-aeeb-493d-b48d-3141bee14771"},"execution_count":2,"outputs":[{"output_type":"execute_result","data":{"text/plain":["0.9039424922102275"]},"metadata":{},"execution_count":2}]},{"cell_type":"code","source":["ansb = stats.norm.cdf(14,mu, sigma)-stats.norm.cdf(7,mu, sigma)\n","ansb"],"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"id":"CSVpp6SXChKj","executionInfo":{"status":"ok","timestamp":1717751716915,"user_tz":-330,"elapsed":23,"user":{"displayName":"Amit Sachan","userId":"17076119069500437280"}},"outputId":"2cff291e-823d-497f-ef11-38f3648db90c"},"execution_count":3,"outputs":[{"output_type":"execute_result","data":{"text/plain":["0.7928751403577117"]},"metadata":{},"execution_count":3}]},{"cell_type":"code","source":["ansc = stats.norm.ppf(.90,mu, sigma)\n","ansc"],"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"id":"OyRwaVrgChNq","executionInfo":{"status":"ok","timestamp":1717751716915,"user_tz":-330,"elapsed":18,"user":{"displayName":"Amit Sachan","userId":"17076119069500437280"}},"outputId":"f671d4b0-6a8c-47d4-a65b-9d16a1b26e74"},"execution_count":4,"outputs":[{"output_type":"execute_result","data":{"text/plain":["14.94756860075258"]},"metadata":{},"execution_count":4}]},{"cell_type":"code","source":["ansd = stats.norm.ppf(.10,mu, sigma)\n","ansd"],"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"id":"qOE4j7iXChRA","executionInfo":{"status":"ok","timestamp":1717751716915,"user_tz":-330,"elapsed":15,"user":{"displayName":"Amit Sachan","userId":"17076119069500437280"}},"outputId":"db87d6db-848d-4d5d-8125-4f24a0905636"},"execution_count":5,"outputs":[{"output_type":"execute_result","data":{"text/plain":["9.05243139924742"]},"metadata":{},"execution_count":5}]}]}