Database Management and Modeling

R Homework Database Management and Modeling
R HomeworkDatabase Management and ModelingGeneral exercisesE-commerce Data for ExercisesThe data set comprises responses to intercept surveys asked when users visited the site, along with data about each user’s site activity such as number of pages visited and whether a sale was completed. Identifying details for the site and customers have been removed but the observations otherwise are actual data.We will load the data set first, and then explain a few of its observations. To load the data from CSV format, use the following command (or load ecommerce-data.csv from a local location if you have downloaded it, as noted in Section 1.6.3).ecomm.df <- read.csv(“https://goo.gl/hzRyFd”)summary(ecomm.df)

 

Don't use plagiarized sources. Get Your Custom Essay on
Database Management and Modeling
Just from $10/Page
Order Essay

R Homework

Database Management and Modeling

 

General exercises

  1. Create a text vector called Months with names of the 12 months of the year.
  2. Create a numeric vector Summer, with Calendar month index positions for the summer months (inclusive, with 4 elements in all).
  3. Use vector indexing to extract the text values of Months, indexed by Summer.
  4. Multiply Summer by 3. What are the values of Months, when indexed by Summer multiplied by 3? Why do you get that answer?
  5. What is the mean (average) summer month, as an integer value? Which value of Months corresponds to it? Why do you get that answer?
  6. Use the floor() and ceiling() functions to return the upper and lower limits of Months for the average Summer month. (Hint: to find out how a function works, use R help if needed.)

E-commerce Data for Exercises

The data set comprises responses to intercept surveys asked when users visited the site, along with data about each user’s site activity such as number of pages visited and whether a sale was completed. Identifying details for the site and customers have been removed but the observations otherwise are actual data.

We will load the data set first, and then explain a few of its observations. To load the data from CSV format, use the following command (or load ecommerce-data.csv from a local location if you have downloaded it, as noted in Section 1.6.3).

ecomm.df <- read.csv(“https://goo.gl/hzRyFd”)

summary(ecomm.df)

 

  1. How many observations and variables are in the e-commerce data set?
  2. Compute a frequency table for the country of origin for site visits.  After the United States, which country had the most visitors?
  3. Compute a two-way frequency table for the intent to purchase (intentWasPlanningToBuy), broken out by user profile.
  4. What are the proportions of parents who intended to purchase? the proportions of teachers who did? For each one, omit observations for whom the intent is unknown (blank).
  5. Among US states (recorded in the variable region), which state had the most visitors and how many?
  1. Solve the previous problem for the state with the most visitors, using the which.max() function (or repeat the same answer, if you already used it).
  2. Draw a histogram for the number of visits to the site (behavNumVisits). Adjust it for more detail in the lower values. Color the bars and add a density line.
  3. Draw a horizontal boxplot for the number of site visits.
  4. Which chart from the previous two exercises, a histogram or a boxplot, is more useful to you, and why?
  5. Draw a boxplot for site visits broken out with a unique row for each profile type. (Note: if the chart margins make it unreadable, try the following command before plotting: par(mar=c(3, 12, 2, 2)). After plotting, you can use the command par(mar=c(5, 4, 4, 2) + 0.1) to reset the chart margins.)
  6. *Write a function called MeanMedDiff that returns the absolute difference between the mean and the median of a vector.
  7. *What is the mean-median difference for number of site visits?
  8. *What is the mean-median difference for site visits, after excluding the person who had the most visits?

 

 

Get professional assignment help cheaply

Are you busy and do not have time to handle your assignment? Are you scared that your paper will not make the grade? Do you have responsibilities that may hinder you from turning in your assignment on time? Are you tired and can barely handle your assignment? Are your grades inconsistent?

Whichever your reason may is, it is valid! You can get professional academic help from our service at affordable rates. We have a team of professional academic writers who can handle all your assignments.

Our essay writers are graduates with diplomas, bachelor, masters, Ph.D., and doctorate degrees in various subjects. The minimum requirement to be an essay writer with our essay writing service is to have a college diploma. When assigning your order, we match the paper subject with the area of specialization of the writer.

Why choose our academic writing service?

  • Plagiarism free papers
  • Timely delivery
  • Any deadline
  • Skilled, Experienced Native English Writers
  • Subject-relevant academic writer
  • Adherence to paper instructions
  • Ability to tackle bulk assignments
  • Reasonable prices
  • 24/7 Customer Support
  • Get superb grades consistently

 

 

 

 

 

 

Order a unique copy of this paper
(550 words)

Approximate price: $22

Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

We value our customers and so we ensure that what we do is 100% original..
With us you are guaranteed of quality work done by our qualified experts.Your information and everything that you do with us is kept completely confidential.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

The Product ordered is guaranteed to be original. Orders are checked by the most advanced anti-plagiarism software in the market to assure that the Product is 100% original. The Company has a zero tolerance policy for plagiarism.

Read more

Free-revision policy

The Free Revision policy is a courtesy service that the Company provides to help ensure Customer’s total satisfaction with the completed Order. To receive free revision the Company requires that the Customer provide the request within fourteen (14) days from the first completion date and within a period of thirty (30) days for dissertations.

Read more

Privacy policy

The Company is committed to protect the privacy of the Customer and it will never resell or share any of Customer’s personal information, including credit card data, with any third party. All the online transactions are processed through the secure and reliable online payment systems.

Read more

Fair-cooperation guarantee

By placing an order with us, you agree to the service we provide. We will endear to do all that it takes to deliver a comprehensive paper as per your requirements. We also count on your cooperation to ensure that we deliver on this mandate.

Read more

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Open chat
1
You can contact our live agent via WhatsApp! Via +1 817 953 0426

Feel free to ask questions, clarifications, or discounts available when placing an order.

Order your essay today and save 20% with the discount code VICTORY