STAT 205 Homework 1 (Due: 5:00 Pm, Tuesday, January 17, 2017)

STAT 205 Homework 1 (Due: 5:00 Pm, Tuesday, January 17, 2017)

<p> STAT 205 Homework 1 (Due: 5:00 pm, Tuesday, January 17, 2017) Instructor: Shiwen Shen Total Points: 100 Submission instruction: Answer all the questions individually in the word file. If necessary, paste the code, output and plot from R. Put your name on the top line and submit the completed word file on the blackboard.sc.edu Assignments section before the deadline. (EMAIL SUBMISSION WILL NOT BE ACCEPTED)</p><p>1. Install R in your personal computer and finish the following questions: (Note: you have to show code, output and plot from R to get full credit.) a) Generate 500 random normal data. (10) b) Draw a histogram of the generated data. (10) c) Compute the sample mean, median, variance, and standard deviation of the generated data. (10)</p><p>2. Textbook page 15, Exercise 1.2.5. (10)</p><p>3. Textbook page 15, Exercise 1.2.6. (20)</p><p>4. Textbook page 16, Exercise 1.2.10. (10)</p><p>5. Refer to the collection of 100 ellipses shown in the figure in textbook page 26, which can be thought of as representing a natural population of the mythical organism C. ellipticus. The ellipses have been given identification numbers 00, 01, …, 99 for convenience in sampling. Certain individuals of C. ellipticus are mutants and have two tail bristles. a) Use your own judgement to choose a sample of size 10 from the population that you think is representative of the entire population. Note the number of mutants in the sample. (5) b) Use R to randomly choose a sample of size 10 from the population. Note the number of mutants in the sample. Using R code: sample(0:99,10). (5) c) Repeat a) and b) for another 7 times. Now, you should have 8 different numbers of mutants from each of the two methods. Calculate the average number of mutants in each method, and report your results in the following table: (10) Method 1 2 3 4 5 6 7 8 Average Judgement Random d) Actually there are 38 out of 100 mutants in the figure. Which method, judgement or random, performs better in sampling? (10)</p>

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    1 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us