Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3.9 LAB: Calculating probabilities using a normal distribution The intelligence quotient (IQ) of a randomly selected person follows a normal distribution with a mean

​​​​3.9 LAB: Calculating probabilities using a normal distribution The intelligence quotient (IQ) of a randomlyThe probability that a randomly selected person has an 10 less than or equal to 105.0 is 0.631. TheThe probability that a randomly selected person has an 10 less than or equal to 105.0 is 0.631. The

3.9 LAB: Calculating probabilities using a normal distribution The intelligence quotient (IQ) of a randomly selected person follows a normal distribution with a mean of 100 and a standard deviation of 15. Use the scipy function norm and user input values for 101 and 102 to perform the following tasks Calculate the probability that a randomly selected person will have an IQ less than or equal to 101 Calculate the probability that a randomly selected person will have an IQ between 101 and 102 For example, if the input is 105 110 the output is The probability that a randomly selected person has an 10 less than or equal to 105.0 in 0.631. The probability that a randomly selected person has an 10 between 105.0 and 110.0 is 0.117. LAB ACTIVITY 3.9.1: Calculating probabilities using a normal distribution 0/3 The probability that a randomly selected person has an 10 less than or equal to 105.0 is 0.631. The probability that a randomly selected person has an IQ between 105.0 and 110.0 is 0.117. LAB ACTIVITY 3.9.1: Calculating probabilities using a normal distribution 1# Import norm from scipy.stats 2 from scipy.stats import norm 3 4# Input tno IQs, making sure that IQ1 is less than 102 I 5 101 float(input()) 6 102 float(input()) 7 8 while 101 102: 9 10 print("IQ1 should be less than IQ2. Enter numbers again.") 101 float(input()) 102 float(input()) main.py Develop mode 11 12 13 Calculate the probability that a randomly selected person has an IQ less than or equal to 101. 14 probLT# Your code here 15 Submit mode Enter program input (optional) 0/3 Load default template... Run your program as often as you'd like, before submitting for grading Below, type any needed input values in the first box, then click Run program and observe the program's output in the second box The probability that a randomly selected person has an IQ less than or equal to 105.0 is 0.631. The probability that a randomly selected person has an IQ between 105.0 and 110.0 is 0.117. WASTONG LAB ACTIVITY 3.9.1: Calculating probabilities using a normal distribution 8 while IQ1 102: 9 main py print("101 should be less than IQ2. Enter numbers again."). float(input()) float(input()) IQ1 102 10 11 12 13 Calculate the probability that a randomly selected person has an IQ less than or equal to 101. 14 probLT Your code here 15 16 Colculate the probability that a randomly selected person has an IQ between IQ1 and IQ2 17 probletw#Your code here 18 19 print("The probability that a randomly selected person has an IQ less than or equal to 20 print('%.3 % probLT".") str(101) 21 print("The probability that a randomly selected person has on IQ between 22 print("%.3f X probletw 0/3 Load default template..... str(101)* and str(IQ

Step by Step Solution

There are 3 Steps involved in it

Step: 1

Python Import norm from scipystats from scipystats import norm Input two IQs making sure that IQ1 is ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction To Statistical Investigations

Authors: Beth L.Chance, George W.Cobb, Allan J.Rossman Nathan Tintle, Todd Swanson Soma Roy

2nd Edition

1119683459, 978-1119683452

More Books

Students also viewed these Programming questions

Question

What is the shape of the exponential distribution?

Answered: 1 week ago