2. [50 pts] Using microarray technology, an estimate of a gene's expression in a cohort of...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
2. [50 pts] Using microarray technology, an estimate of a gene's expression in a cohort of subjects can often be approximated as normally distributed because the gene's expression is often averaged over multiple probes on the microarray. Thus, the central limit theorem applies. Use Python to complete all parts of the problem. a. Implement the following: i. Generate n=5 samples that are uniformly distributed numbers in the range of [0, 1] and compute the mean of these 5 numbers. ii. Repeat this step 1000 times to obtain 1000 means. iii. Plot a histogram of these 1000 values. iv. Calculate the mean and standard deviation of this distribution. v. Calculate the percentage of the 1000 values that are within 1, 2, and 3 standard deviations of the mean. vi. Using vertical lines overlaid on the histogram, indicate the values corresponding to 1, 2, and 3, standard deviations from the mean. b. Repeat part (a), using n=30 in step (i), i.e., generating 30 uniformly distributed numbers in the range of [0, 1]. Show all numerical answers and figures as were required for part (a). C. What are the similarities/differences between these two distributions with n=5 versus n=30? 2. [50 pts] Using microarray technology, an estimate of a gene's expression in a cohort of subjects can often be approximated as normally distributed because the gene's expression is often averaged over multiple probes on the microarray. Thus, the central limit theorem applies. Use Python to complete all parts of the problem. a. Implement the following: i. Generate n=5 samples that are uniformly distributed numbers in the range of [0, 1] and compute the mean of these 5 numbers. ii. Repeat this step 1000 times to obtain 1000 means. iii. Plot a histogram of these 1000 values. iv. Calculate the mean and standard deviation of this distribution. v. Calculate the percentage of the 1000 values that are within 1, 2, and 3 standard deviations of the mean. vi. Using vertical lines overlaid on the histogram, indicate the values corresponding to 1, 2, and 3, standard deviations from the mean. b. Repeat part (a), using n=30 in step (i), i.e., generating 30 uniformly distributed numbers in the range of [0, 1]. Show all numerical answers and figures as were required for part (a). C. What are the similarities/differences between these two distributions with n=5 versus n=30?
Expert Answer:
Related Book For
Applied Statistics And Probability For Engineers
ISBN: 9781118539712
6th Edition
Authors: Douglas C. Montgomery, George C. Runger
Posted Date:
Students also viewed these programming questions
-
CANMNMM January of this year. (a) Each item will be held in a record. Describe all the data structures that must refer to these records to implement the required functionality. Describe all the...
-
Let A, B be sets. Define: (a) the Cartesian product (A B) (b) the set of relations R between A and B (c) the identity relation A on the set A [3 marks] Suppose S, T are relations between A and B, and...
-
In an attempt to prepare propylbenzene, a chemist alkylated benzene with 1-chloropropane and aluminum chloride. However, two isomeric hydrocarbons were obtained in a ratio of 2:1, the desired...
-
A finance major has inherited $200,000 and wants to invest it in a diversified portfolio. Some of the investments she is considering are somewhat risky. These include international mutual funds,...
-
A spring is suspended vertically from the ceiling of a room. When a mass is attached to the bottom of the spring, the amount of stretch is recorded. A plot of stretch versus mass is given in FIGURE...
-
Explain why time-based budgeting is essential for cost control.
-
Nonmonetary Exchanges You has two clients that are considering trading machinery with each other. Although the machines are different from each other, you believe that an assessment of expected cash...
-
-Mention the different conflict management techniques that are ineffective. -Explain how appealing to superordinate goal is an effective conflict management technique. -Explain compromise mechanisms...
-
Applied Questions 1. Phosphorus in pig excrement pollutes aquatic ecosystems, causing fish kills and algal bloorms, and contributes to the greenhouse effect. E. coli produces an enzyme that breaks...
-
Write a program that fills the window with a large ellipse, with a black outline and filled with your favorite color. The ellipse should touch the window boundaries, even if the window is resized....
-
The StringBuilder class has a method for reversing a string. In a ReverseTester class, construct a StringBuilder from a given string (such as "desserts"), call the reverse method followed by the...
-
Show that the BankAccount(double initialBalance) constructor is not strictly nec essary. That is, if we removed that constructor from the public interface, how could a programmer still obtain...
-
Given a string s, write expressions for: The string consisting of the first letter The string consisting of the first and last letter The string consisting of all but the first and last letter ...
-
Consider the following problem description: Customers order products from a store. Invoices are generated to list the items and quantities ordered, payments received, and amounts still due. Products...
-
We have discussed cost accounting as it would apply to a manufacturing industry. Conduct research online to determine the applicability of cost accounting in other industry sectors and present your...
-
Citing a scientific article, explain in your own words, how DNA fingerprinting has been used in forensic science to solve crimes and why it may not always be accurate or effective.
-
A plate-and-frame filter press contains 16 frames and operates at a constant flow rate of $30 \mathrm{gpm}$. Each frame has an active filtering area of $4 \mathrm{ft}^{2}$, and it takes $15...
-
A rotary drum filter that is $6 \mathrm{ft}$ in diameter and $8 \mathrm{ft}$ long is to be used to filter a slurry. The drum rotates at $0.5 \mathrm{rpm}$, and one-third of the drum's surface is...
-
A rotary drum filter is used to filter a slurry. The drum rotates at a rate of $3 \mathrm{~min} / \mathrm{cycle}$, and $40 %$ of the drum surface is submerged beneath the slurry. A constant pressure...
Study smarter with the SolutionInn App