Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Homework Help/Study Tips Expert

Assignment Tasks:

You will use WHO data set for Tasks 1- 5. Read the WHO data using an appropriate function and complete the tasks 1-5.

1- Tidy Task 1:

Use appropriate "tidyr" functions to reshape the WHO data set into the form given below:

2- Tidy Task 2:

The WHO data set is not in a tidy format yet. The "code" column still contains four different variables' information (see variable description section for the details). Separate the "code" column and form four new variables using appropriate "tidyr" functions. The final format of the WHO data set for this task should be in the form given below:

3- Tidy Task 3:

The WHO data set is not in a tidy format yet. The "rel", "ep", "sn", and "sp" keys need to be in their own columns as we will treat each of these as a separate variable. In this step, move the "rel", "ep", "sn", and "sp" keys into their own columns. The final format of the WHO data set for this task should be in the form given below:

4- Tidy Task 4:

There is one more step to tidy the WHO data set. We have two categorical variables "sex" and "age". Use "mutate()" to factorise sex and age. For "age" variable, you need to create labels and also order the variable. Labels would be: <15, 15-24, 25-34, 35-44, 45-54, 55-64, 65>=. The final tidy version of the WHO data set would look like this:

5- Task 5: Filter & Select

Drop the redundant columns "iso2" and "new", and filter any three countries from the tidy version of the WHO data set. Name this subset of the data frame as "WHO_subset".

You will use surveys and species data sets for Tasks 6 - 10. Read the species and surveys data sets using an appropriate function. Name these data frames as "species" and "surveys", respectively.

6- Task 6: Join

Combine "surveys" and "species" data frames using the key variable "species_id". For this task, you need to add the species information ("genus", "species", "taxa") to the "surveys" data. Rename the combined data frame as "surveys_combined".

7- Task 7: Calculate

Using the "surveys_combined" data frame, calculate the average weight and hindfoot length of one of the species observed in each month (irrespective of the year). Make sure to exclude missing values while calculating the average.

8- Task 8: Missing Values

Select one of the years in the "surveys_combined" dataframe, rename this data set as "surveys_combined_year". Using "surveys_combined_year" dataframe, find the total missing values in "weight" column grouped by species. Replace the missing values in "weight" column with the mean values of each species. Save this imputed data as "surveys_weight_imputed".

9- Task 9: Inconsistencies or Special Values

Inspect the "weight" column in "surveys_weight_imputed" dataframe for any further inconsistencies or special values (i.e., NaN, Inf, -Inf). Trace back and explain briefly why you got such a value.

10- Task 10: Outliers

Using the "surveys_combined" data frame, inspect the variable hindfoot length for possible univariate outliers. If you detect any outliers use any of the methods outlined in the Module 6 notes to deal with them. Explain briefly the actions that you take to handle outliers.

Attachment:- Assignment.zip

Homework Help/Study Tips, Others

  • Category:- Homework Help/Study Tips
  • Reference No.:- M92809472
  • Price:- $140

Guranteed 48 Hours Delivery, In Price:- $140

Have any Question?


Related Questions in Homework Help/Study Tips

Assignmentwrite a 1750- to 2100-word paper in which you

Assignment Write a 1,750- to 2,100-word paper in which you analyze the values of the organization for which you work, or one with which you are familiar. Observe and analyze the corporate or business culture. Include the ...

Assignment application of international lawmonarch

Assignment : Application of International Law Monarch Associates, a U.S. computer parts manufacturer, entered into a joint venture with a Russian computer technology company, Vladir Unlimited. The joint venture agreement ...

Question - complete initial post and at least one response

Question - Complete initial post and at least one response in the discussion forum (see attached description and rubric). Your initial post is due by the end of Day 5 (minimum 400 words), and your response to a peer is d ...

Explain what you do or will do to satisfy this

Explain what you do or will do to satisfy this competency. The statement should demonstrate your ability to meet the specific needs of this area. it should be written in the first person and use your own words. Use parag ...

Question use the practice problem and a quantitative

Question: Use the practice problem and a quantitative, peer-reviewed research article you identified in the Topic 1 assignment to complete this assignment. In a 1000-1,250 word essay, summarize the study, explain the way ...

Question please answer each question in 75 words a piece

Question: Please answer EACH question in 75 words A PIECE. Use references, if needed. 1. Explain how you feel the following saying relates to service learning, civic engagement and becoming community: "Do unto others as ...

Question the development of diseases or the state of

Question: The development of diseases or the state of wellness and health are influenced by social, economic, environmental, and demographic factors of a population. As such, population statistics play a major role in de ...

Discussion take a look at the revenue cycle what factors

Discussion : Take a look at the revenue cycle. What factors contribute to its complexity? Where do you see the greatest opportunity for human error? How could you help avoid this or employ corrective measures?

Promptthis paper is your first fieldwork assignment as an

Prompt This paper is your first fieldwork assignment as an ethnomusicologist-in-training: • Select and attend a live music performance in the Washington D.C./Maryland/Virginia area that involves at least two musicians. Y ...

Assignmentresearch an application of graph theory in the

Assignment Research an application of Graph Theory in the real world. Find an article that describes how Graph theory is used, and what parts of Graph Theory are used. Explain why this application is important for scienc ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As