Produce a table of the popularity of your name

Assignment Help Programming Languages
Reference no: EM133714097 , Length: word count:1200

Data manipulation
This section analyses US baby names from 1880-2010 to determine patterns in naming conventions. The data are available in in a file called ‘names.zip'. Download the file to a specific folder on your machine. If you unzip the file you'll see that each year is a comma-separated file with 3 columns - name, sex, and number of births.
Load in the file from 1960 using read.table or read.csv.
Produce appropriate commands to answer the following questions:
According to these data, how many children were born in 1960?
Which were the 10 most popular names for each sex?
Are there any names in the data set that were only given once? (Note: the readme file suggests names given less than 5 times should have been removed, but you should check this.)
Load in the file from 2000 in a separate data frame. Which names had the biggest rise/fall compared to 1960?
Write some R code which loads in all of the files for each year and merges them into a single data frame with 4 columns: year, name, sex, and number of births.

Data analysis
This section again uses the US baby names data from 1880-2010, introduced in Section 2.
Produce a table of the popularity of your name over each year. (If your name is not in the data set choose a similar name which is in the data set.) What year was the maximum for your name?
Create a table showing the total births by sex and year. Do males or females tend to have higher birth rates?
Create a table of the frequency of different last letters in names for years 1900, 1950 and 2000 for males and females. Which last letter(s) stand out as having the biggest increase/decrease?
Which are the most popular palindromic names? Calculate the proportion of palindromic names per year. Are such names on the increase?

Graphics
This section uses the US baby names data from 1880-2010, introduced in Section 2.
Create a line plot to illustrate the male and female birth rates across all years, on the same plot. Label your axes, add a title to your plot, and include a legend. Include the plot in your pdf report and write a one paragraph description of the plot.
Create a barplot to illustrate the frequency of different last letters in names for years 1900, 1950 and 2000 for males and females, on the same plot, but using a different panel for each sex. Label axes appropriately, add titles to your panels, and include legends. Include the plot in your pdf report and write a one paragraph description of the plot.
Create a plot to illustrate the proportion of palindromic names per year. Label your axes and add a title to your plot. Include the plot in your pdf report and write a one paragraph description of the plot.

Creativity
Do something interesting with the names data! Create a table or a plot which shows something we have not discovered above already. Make sure to include all R code in your script file and outline your findings in your pdf document.

Hints
If you find your computer is too slow at doing some of the calculations in tasks 2 and 3 then try running every 10th year instead of every year.

Reference no: EM133714097

Questions Cloud

How were these related to ideas of daodejing and zhuangzi : What were the streams that went into the making of "religious Daoism"? How were these related to the ideas of the Daodejing and Zhuangzi?
Bowel movement and urinated : The patient explains that she had a bowel movement and urinated and both are a blue color. What should the nurse inform the patient?
Discuss facility licensure requirements in your state : Discuss facility licensure requirements in your state, including Certificate of Need (CON); if you are not in a CON state, indicate as such.
Main goals of quantitative research : What are the main goals of quantitative research, and how do they differ from the goals of qualitative research?
Produce a table of the popularity of your name : Write some R code which loads in all of the files for each year and merges them into a single data frame with 4 columns: year, name, sex, and number of births
Discuss justice and christian ethics play in the my career : Based on the understanding of how a Christian's faith ought to affect his/her behavior also include lessons learned throughout his/her career.
Discuss which moral theory or theories you see reflected : Briefly describe in 3-6 sentences why you made this selection. Discuss which moral theory or theories you see reflected in the code.
Home health nurse in rural community : Case study narrative: Nurse M works as a home health nurse in a rural community. Nurse M visits 10 clients each day.
Comparing islamic modernists : Comparing Islamic modernists: How do you think Kemal Atatürk would have responded to later Islamic modernists such as Kabir Helminski and perhaps Saira Khan?

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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