Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please provide solution to the following python exercise PROBLEMS 2b and 2c, thank you! 2a previously answered [20 pts] Using microarray technology, an estimate of
Please provide solution to the following python exercise PROBLEMS 2b and 2c, thank you! 2a previously answered
[20 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=10 samples that are uniformly distributed numbers in the range of [0,2] and compute the mean of these 10 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, 2]. Show all numerical answers and figures as were required for part (a). c. What are the similarities/differences between these two distributions with n=10 versus n=30Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started