Calculate the average amount of iron by high and low protein

Assignment Help Applied Statistics
Reference no: EM131669123

Advanced Methods Assignment

1. Read the csv files in the folder.

2. Merge the data frames using the variable "ID". Name the Merged Data Frame "USDA".

3. Prepare the dataset for analysis.

4. Remove records with missing values in 4 or more vectors.

5. How many records remain in the data frame?

6. For records with missing values for Sugar, Vitamin E and Vitamin D, replace missing values with mean value for the respective vector.

7. With a single line of code, remove all remaining records with missing values. Name the new Data Frame "USDAclean".

8. How many records remain in the data frame?

9. Which food has the highest sodium level?

10. Create a scatter plot using Protein and Fat, with the plot title "Fat vs Protein", labeling the axes "Fat" and "Protein", and making the data points red.

11. Create a histogram of Vitamin C distribution in foods, with a limit of 0 to 100 on the x-axis and breaks of 100.

12. Add a new variable to the data frame that takes value 1 if the food has higher sodium than average, 0 otherwise. Call this variable HighSodium.

13. Do the same for HighCalories, HighProtein, HighSugar, and HighFat.

14. How many foods have both high sodium and high fat?

15. Calculate the average amount of iron by high and low protein (i.e. average amount of iron in foods with high protein and average amount of iron in foods with low protein).

Attachment:- Data Analytics Advanced Methods.rar

Verified Expert

This assignment makes extensive use of the function of excel to first segregate the data and then make various modulations in the data. Further it is based on removal of the unwanted gaps in data and then calculating the food nutrients based on the some pre justification. This is completely original work.

Reference no: EM131669123

Questions Cloud

Why the features in excel are important for business : Provide a list of at least three important features and why these are necessary. In your post, include any references that you used in your research.
Develop an incident response plan to combat a security gap : The purpose of this assignment is to develop an incident response plan to combat a specific security gap. Include basic elements of an incident response plan.
What fraction of the processor load : What fraction of the processor load is consumed by all of the keystroke processing?
Job search for a professional position : As a university student who is likely to be seeking a professional position following graduation from your academic program
Calculate the average amount of iron by high and low protein : CMTH 642 - Calculate the average amount of iron by high and low protein (i.e. average amount of iron in foods with high protein and average amount of iron
Improve the performance of system at your organization : Share with the class how focusing on this leverage point could improve the performance of a system at your organization.
Discuss possible theories of recovery for plaintiff : The plaintiff sustained severe burns when his Pinto was hit from behind and exploded into flames. Discuss possible theories of recovery for Plaintiff.
Forensics data analysis and reporting : Discuss three tools that can be used for forensics data analysis and reporting. Explain how you would use these tools in an enterprise.
Design an algorithm that solves this task in worst : Suppose we want to find the k smallest numbers in a list of n numbers, where k=n^1/2. Design an algorithm that solves this task in worst-case time.

Reviews

inf1669123

11/30/2017 4:48:39 AM

Q1. Read the csv files in the folder. Solution: What is the R code? Q2. Merge the data frames using the variable "ID". Name the Merged Data Frame "USDA". Solution: What is the R code?

inf1669123

11/30/2017 4:43:16 AM

11. Create a histogram of Vitamin C distribution in foods, with a limit of 0 to 100 on the x-axis and breaks of 100. 12. Add a new variable to the data frame that takes value 1 if the food has higher sodium than average, 0 otherwise. Call this variable HighSodium. 13. Do the same for HighCalories, HighProtein, HighSugar, and HighFat. 14. How many foods have both high sodium and high fat? 15. Calculate the average amount of iron by high and low protein (i.e. average amount of iron in foods with high protein and average amount of iron in foods with low protein). I need rmd file (r programing). I see the code but was wondering if: 1) I could please get an RMD file with the code that shows solutions (r code and output) for each of the 15 questions. 2) I also need knitted MS word file that shows it all. I have attached similar pdf document just so you see as an example. P.S. When preparing data set (Q3) I think that two data types should be changed as they are categorized incorrectly. 25401280_102 Brankovich Nenad .pdf This RStudio file Can this be saved as .rmd please?

inf1669123

11/30/2017 4:37:17 AM

Please send me two files for the solution. The first file should be an RMD (R) file. The second file should be in MS Word (knitted) with snapshots…thank you! . Read the csv files in the folder. 2. Merge the data frames using the variable "ID". Name the Merged Data Frame "USDA". 3. Prepare the dataset for analysis. 4. Remove records with missing values in 4 or more vectors. 5. How many records remain in the data frame? 6. For records with missing values for Sugar, Vitamin E and Vitamin D, replace missing values with mean value for the respective vector. 7. With a single line of code, remove all remaining records with missing values. Name the new Data Frame "USDAclean". 8. How many records remain in the data frame? 9. Which food has the highest sodium level? 10. Create a scatter plot using Protein and Fat, with the plot title “Fat vs Protein”, labeling the axes “Fat” and “Protein”, and making the data points red.

len1669123

10/5/2017 6:34:40 AM

Please upload two files for the solution. The first file should be an RMD file. The second file should be in MS Word with snapshots.thank you! Read the csv files in the folder.Calculate the average amount of iron by high and low protein (i.e. average amount of iron in foods with high protein and average amount of iron in foods with low protein).

Write a Review

Applied Statistics Questions & Answers

  Hypothesis testing

What assumptions about the number of pedestrians passing the location in an hour are necessary for your hypothesis test to be valid?

  Calculate the maximum reduction in the standard deviation

Calculate the maximum reduction in the standard deviation

  Calculate the expected value, variance, and standard deviati

Calculate the expected value, variance, and standard deviation of the total income

  Determine the impact of social media use on student learning

Research paper examines determine the impact of social media use on student learning.

  Unemployment survey

Find a statistics study on Unemployment and explain the five-step process of the study.

  Statistical studies

Locate the original poll, summarize the poling procedure (background on how information was gathered), the sample surveyed.

  Evaluate the expected value of the total number of sales

Evaluate the expected value of the total number of sales

  Statistic project

Identify sample, population, sampling frame (if applicable), and response rate (if applicable). Describe sampling technique (if applicable) or experimental design

  Simple data analysis and comparison

Write a report on simple data analysis and comparison.

  Analyze the processed data in statistical survey

Analyze the processed data in Statistical survey.

  What is the probability

Find the probability of given case.

  Frequency distribution

Accepting Manipulation or Manipulating

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd