<jupyter_start><jupyter_text>Problem Statement - Normal DistributionThe mean salaries of Data Scientists working in Chennai, India is calculated to be 7,00,000 INR with a standard deviation of 90,000 INR. The random variable salary of Data Scientists follows a normal distribution.  - What is the probability that a Data Scientist in Chennai has a salary less than 4,00,000 INR?  - What is the probability that a Data Scientist in Chennai has a salary between 6,00,000 & 9,00,000 INR?  - What is the probability that a Data Scientist in Chennai has a salary more than 10,00,000 INR?<jupyter_code>import scipy.stats as stats
# All calculations are in Lakhs
mean = 7
std = 0.9
# z=(x-mean)/std
# Q-1 salary less than 4,00,000 INR
z4 = (4-mean)/std
z4
stats.norm.cdf(z4)
# Q-2 salary between 6,00,000 & 9,00,000 INR
z6= (6-mean)/std
z9= (9-mean)/std
stats.norm.cdf(z9) - stats.norm.cdf(z6)
# Q-3 salary more than 10,00,000 INR
z10 = (10-mean)/std
z10
1 - stats.norm.cdf(z10)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.0959040959040959, 'fraction_numerical': 0.08591408591408592, 'mean_word_length': 4.416216216216216, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '32700', 'license': 'Apache-2.0', 'n_tokens_mistral': 408, 'n_tokens_neox': 348, 'n_words': 134, 'path': 'CourseContent/04-Advanced.Statistics/Week2/SM3 - Normal Distribution Example - Salaries.ipynb', 'repo_name': 'averma111/AIML-PGP', 'size': '1001'}