fb
$20 Bonus + 25% OFF
$20 Bonus + 25% OFF
Securing Higher Grades Costing Your Pocket? Book Your Assignment at The Lowest Price Now!
loader
Add File

Error goes here

Files Missing!

Please upload all relevant files for quick & complete assistance.

Stuck on Your Question?

Get 24x7 live help from our Top Tutors. All subjects covered.

250 words

Error goes here

Students Who Viewed This Also Studied

1 Page
Management

Write a review report critiquing a statistical analysis conducted by someone else (with emphasis on the tenability of the premise, what you like and why or what you don't and why, how could it be impr ...

Type

Assignment

Subject

Statistics

3 Pages
Management

The manager of TripleA Company finds that there are too many things that are going wrong in his company, particularly the working attitude of his employees. If this state of affairs continues, he feel ...

Type

Assignment

Subject

Statistics

11 Pages
ECO 204 principles of microeconomics

Write at least  that exclude the graph ,data and spss Please help me to do the ANALYSIS PART according to the literature review that I have finished. You need to do is FIND THE REAL WORLD data su ...

Course

ECO 204

Type

Assignment

Subject

Statistics

University

Help university

8 Pages
M6803 Computational Methods in Engineering

Write three separate programs to approximate the sine curvebetween 0and 2using curve fitting by(a)a polynomialcurveof power 4;(b)a cubic spline;(c)Lagrange’sinterpolating polynomialor Newton& ...

Course

M6803

Type

Assignment

Subject

Statistics

University

Singapore University of Social Sciences

CS544 Foundations of Analytics with R

Question

Answered

Question:

Part1) Central Limit Theorem

Initialize the city of Boston earnings dataset as shown below:

boston <- read.csv(

"http://people.bu.edu/kalathur/datasets/bostonCityEarnings.csv",

colClasses = c("character", "character", "character", "integer", "character"))

The data in the file contains the total earnings of the employees of city of Boston.

  1. Show the histogram of the employee earnings. Use breaks from 40000 to 400000 in steps of 20000 and show the corresponding tick labels on the x-axis. Compute the mean and standard deviation of this data. What do you infer from the shape of the histogram?

  2. Draw 5000 samples of this data of size 10, show the histogram of the sample means. Compute the mean of the sample means and the standard deviation of the sample means. Set the start seed for random numbers as the last 4 digits of your BU id.

  3. Draw 5000 samples of this data of size 40, show the histogram of the sample means. Compute the mean of the sample means and the standard deviation of the sample means. Set the start seed for random numbers as the last 4 digits of your BU id.

  4. Compare of means and standard deviations of the above three distributions.

Part2) Central Limit Theorem – Negative Binomial distribution

Suppose the input data follows the negative binomial distribution with the parameters size = 3 and prob = 0.5. Set the start seed for random numbers as the last 4 digits of your BU id.

  1. Generate 5000 random values from this distribution. Show the barplot with the proportions of the distinct values of this distribution.

  2. With samples sizes of 10, 20, 30, and 40, draw 1000 samples from the data generated in a). Use sample() function with replace as FALSE. Show the histograms of the densities of the sample means. Use a 2 x 2 layout.

  3. Compare of means and standard deviations of the data from a) with the four sequences generated in b).

Part3) Sampling

Create a subset of the dataset from Part1 with only the top 5 departments based on the number of employees working in that department. The top 5 departments should be computed using R code. Then, use %in% operator to create the required subset.

Use a sample size of 50 for each of the following.

Set the start seed for random numbers as the last 4 digits of your BU id.

  1. Show the sample drawn using simple random sampling without replacement. Show the frequencies for the selected departments. Show the percentages of these with respect to sample size.

  2. Show the sample drawn using systematic sampling. Show the frequencies for the selected departments. Show the percentages of these with respect to sample size.

  3. Calculate the inclusion probabilities using the Earnings Using these values, show the sample drawn using systematic sampling with unequal probabilities. Show the frequencies for the selected departments. Show the percentages of these with respect to sample size.

  4. Order the data using the Department Draw a stratified sample using proportional sizes based on the Department variable. Show the frequencies for the selected departments. Show the percentages of these with respect to sample size.

  5. Compare the means of Earningsvariable for these four samples against the mean for the data.

CS544 Foundations of Analytics with R

Answer in Detail

Solved by qualified expert

Get Access to This Answer

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque. Amet dictum sit amet justo donec enim diam vulputate ut. Neque convallis a cras semper auctor neque vitae. Elit at imperdiet dui accumsan. Nisl condimentum id venenatis a condimentum vitae sapien pellentesque. Imperdiet massa tincidunt nunc pulvinar sapien et ligula. Malesuada fames ac turpis egestas maecenas pharetra convallis posuere. Et ultrices neque ornare aenean euismod. Suscipit tellus mauris a diam maecenas sed enim. Potenti nullam ac tortor vitae purus faucibus ornare. Morbi tristique senectus et netus et malesuada. Morbi tristique senectus et netus et malesuada. Tellus pellentesque eu tincidunt tortor aliquam. Sit amet purus gravida quis blandit. Nec feugiat in fermentum posuere urna. Vel orci porta non pulvinar neque laoreet suspendisse interdum. Ultricies tristique nulla aliquet enim tortor at auctor urna. Orci sagittis eu volutpat odio facilisis mauris sit amet.

Tellus molestie nunc non blandit massa enim nec dui. Tellus molestie nunc non blandit massa enim nec dui. Ac tortor vitae purus faucibus ornare suspendisse sed nisi. Pharetra et ultrices neque ornare aenean euismod. Pretium viverra suspendisse potenti nullam ac tortor vitae. Morbi quis commodo odio aenean sed. At consectetur lorem donec massa sapien faucibus et. Nisi quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Duis at tellus at urna condimentum mattis pellentesque. Vivamus at augue eget arcu dictum varius duis at. Justo donec enim diam vulputate ut. Blandit libero volutpat sed cras ornare arcu. Ac felis donec et odio pellentesque diam volutpat commodo. Convallis a cras semper auctor neque. Tempus iaculis urna id volutpat lacus. Tortor consequat id porta nibh.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque. Amet dictum sit amet justo donec enim diam vulputate ut. Neque convallis a cras semper auctor neque vitae. Elit at imperdiet dui accumsan. Nisl condimentum id venenatis a condimentum vitae sapien pellentesque. Imperdiet massa tincidunt nunc pulvinar sapien et ligula. Malesuada fames ac turpis egestas maecenas pharetra convallis posuere. Et ultrices neque ornare aenean euismod. Suscipit tellus mauris a diam maecenas sed enim. Potenti nullam ac tortor vitae purus faucibus ornare. Morbi tristique senectus et netus et malesuada. Morbi tristique senectus et netus et malesuada. Tellus pellentesque eu tincidunt tortor aliquam. Sit amet purus gravida quis blandit. Nec feugiat in fermentum posuere urna. Vel orci porta non pulvinar neque laoreet suspendisse interdum. Ultricies tristique nulla aliquet enim tortor at auctor urna. Orci sagittis eu volutpat odio facilisis mauris sit amet.

Tellus molestie nunc non blandit massa enim nec dui. Tellus molestie nunc non blandit massa enim nec dui. Ac tortor vitae purus faucibus ornare suspendisse sed nisi. Pharetra et ultrices neque ornare aenean euismod. Pretium viverra suspendisse potenti nullam ac tortor vitae. Morbi quis commodo odio aenean sed. At consectetur lorem donec massa sapien faucibus et. Nisi quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Duis at tellus at urna condimentum mattis pellentesque. Vivamus at augue eget arcu dictum varius duis at. Justo donec enim diam vulputate ut. Blandit libero volutpat sed cras ornare arcu. Ac felis donec et odio pellentesque diam volutpat commodo. Convallis a cras semper auctor neque. Tempus iaculis urna id volutpat lacus. Tortor consequat id porta nibh.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque. Amet dictum sit amet justo donec enim diam vulputate ut. Neque convallis a cras semper auctor neque vitae. Elit at imperdiet dui accumsan. Nisl condimentum id venenatis a condimentum vitae sapien pellentesque. Imperdiet massa tincidunt nunc pulvinar sapien et ligula. Malesuada fames ac turpis egestas maecenas pharetra convallis posuere. Et ultrices neque ornare aenean euismod. Suscipit tellus mauris a diam maecenas sed enim. Potenti nullam ac tortor vitae purus faucibus ornare. Morbi tristique senectus et netus et malesuada. Morbi tristique senectus et netus et malesuada. Tellus pellentesque eu tincidunt tortor aliquam. Sit amet purus gravida quis blandit. Nec feugiat in fermentum posuere urna. Vel orci porta non pulvinar neque laoreet suspendisse interdum. Ultricies tristique nulla aliquet enim tortor at auctor urna. Orci sagittis eu volutpat odio facilisis mauris sit amet.

Tellus molestie nunc non blandit massa enim nec dui. Tellus molestie nunc non blandit massa enim nec dui. Ac tortor vitae purus faucibus ornare suspendisse sed nisi. Pharetra et ultrices neque ornare aenean euismod. Pretium viverra suspendisse potenti nullam ac tortor vitae. Morbi quis commodo odio aenean sed. At consectetur lorem donec massa sapien faucibus et. Nisi quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Duis at tellus at urna condimentum mattis pellentesque. Vivamus at augue eget arcu dictum varius duis at. Justo donec enim diam vulputate ut. Blandit libero volutpat sed cras ornare arcu. Ac felis donec et odio pellentesque diam volutpat commodo. Convallis a cras semper auctor neque. Tempus iaculis urna id volutpat lacus. Tortor consequat id porta nibh.

16 More Pages to Come in This Document. Get access to the complete answer.

With a pool of 3000+ homework helper, MyAssignmenthelp.com has been successfully providing homework help services for over a decade now. We have become the best homework solver online with years of experience in academic writing. Our experts have played a vital role behind our overwhelming success. Their knowledge and commitment to provide high quality homework assistance has gained us the status of best homework help provider in this industry. Our services have satisfied the needs of many students so far who often search can someone write my homework online.

More CS544 CS544 Foundations of Analytics with R: Questions & Answers

Q

Write a review report critiquing a statistical analysis conducted by someone else (with emphasis on the tenability of the premise, what you like and why or what you don't and why, how could it be improved upon) ...

View Answer
Q

The manager of TripleA Company finds that there are too many things that are going wrong in his company, particularly the working attitude of his employees. If this state of affairs continues, he feels the company may go into liquidation in the next two or three years. He wants to do a research on t ...

View Answer
Q
icon

We aren't endorsed by this University

Write at least  that exclude the graph ,data and spss Please help me to do the ANALYSIS PART according to the literature review that I have finished. You need to do is FIND THE REAL WORLD data such as WORLD BANK, IMF AND IFS and analysis them whether the data can SUPPORT the reasons and how tha ...

View Answer
Q
icon

We aren't endorsed by this University

Write three separate programs to approximate the sine curvebetween 0and 2using curve fitting by(a)a polynomialcurveof power 4;(b)a cubic spline;(c)Lagrange’sinterpolating polynomialor Newton’s interpolating polynomial.You may refer to the textbook (Numerical Methods for Engineers by C ...

View Answer

Content Removal Request

If you are the original writer of this content and no longer wish to have your work published on Myassignmenthelp.com then please raise the content removal request.

Choose Our Best Expert to Help You

expert
student rating student rating student rating student rating student rating
Simon Harper

MSc in Chemistry

2160 - Completed Orders

Hire Me
expert
student rating student rating student rating student rating student rating
Lowe Short

PhD in Statistics with Specialization in Statistical Computing

600 - Completed Orders

Hire Me
expert
student rating student rating student rating student rating student rating
Hillary Cannon

Master of Arts in Clinical Psychology (MA) from Michigan School of Professional Psychology

600 - Completed Orders

Hire Me
expert
student rating student rating student rating student rating student rating
Jace Bright

I have gathered my post graduation degree from the University of Oxford.

350 - Completed Orders

Hire Me

Still in Two Minds? The Proof is in Numbers!

33845 Genuine Reviews With a Rating of 4.9/5.

student rating student rating student rating student rating student rating
02 Dec 2021

English

Essay: 4 Pages, Deadline: 9 days

Very good paper, included everything and helpful. I got a grade on the essay, received a 100 on my paper. I highly recommend this website!

flag User ID: 6***89 United States

student rating student rating student rating student rating student rating
02 Dec 2021

Marketing

Assignment: 10 Pages, Deadline: 11 days

Excellent job. Very timely. Customer service was top-notch. Even my lecturer was impressed.

flag User ID: 8***83 Canada

student rating student rating student rating student rating student rating
02 Dec 2021

Management

Assignment: 7 Pages, Deadline: 9 days

I am very happy when I get marks I feel very verry good I got good marks thank u so much for helping me

flag User ID: 5***67 Canada

student rating student rating student rating student rating student rating
02 Dec 2021

Project Management

Essay: 9 Pages, Deadline: 1 day

was a part of my programme management curs level 5 i passed it with 85% and that is soo good for me, thank you

flag User ID: 7***04 Birmingham, Great Britain

student rating student rating student rating student rating student rating
02 Dec 2021

Management

Thesis: 1.8 Pages, Deadline: 6 days

Very good job I am very happy when I get marks I very very happy thank u so much for helping me

flag User ID: 5***67 Canada

student rating student rating student rating student rating student rating
02 Dec 2021

Mechanical Engineering

Programming: 6 Pages, Deadline: 15 days

was in time good experience, hope would have scored good grades. Good maintained and very much friendly service.

flag User ID: 6***39 United Kingdom, Great Britain

student rating student rating student rating student rating student rating
02 Dec 2021

Management

Essay: 6 Pages, Deadline: 5 days

excellent work thank you i will always use this website and tell and advise my friends and colleagues about you guys but there must be more discounts ...

flag User ID: 7***75 Kuwait

student rating student rating student rating student rating student rating
02 Dec 2021

HRM

Programming: 2 Pages, Deadline: 4 days

all work done well with good referencing and proper words i got a very good score for this particular course and i am happy about that. thank you so ...

flag User ID: 8***18 United Kingdom, Great Britain

student rating student rating student rating student rating student rating
02 Dec 2021

HRM

Assignment: 3.6 Pages, Deadline: 3 days

submitted my work and the lecture acknowledge my work saying that it was good and i did a very good work.

flag User ID: 8***18 United Kingdom, Great Britain

student rating student rating student rating student rating student rating
02 Dec 2021

Management

Assignment: 16 Pages, Deadline: 16 days

Very supporting and helpful, I am happy to express that the assignment and writing is very good and helped me to achieve good achievement in study.

flag User ID: 4***58 Malaysia

student rating student rating student rating student rating student rating
02 Dec 2021

English

Essay: 4 Pages, Deadline: 9 days

Very good paper, included everything and helpful. I got a grade on the essay, received a 100 on my paper. I highly recommend this website!

flag User ID: 6***89 United States

student rating student rating student rating student rating student rating
02 Dec 2021

Marketing

Assignment: 10 Pages, Deadline: 11 days

Excellent job. Very timely. Customer service was top-notch. Even my lecturer was impressed.

flag User ID: 8***83 Canada

student rating student rating student rating student rating student rating
02 Dec 2021

Management

Assignment: 7 Pages, Deadline: 9 days

I am very happy when I get marks I feel very verry good I got good marks thank u so much for helping me

flag User ID: 5***67 Canada

student rating student rating student rating student rating student rating
02 Dec 2021

Project Management

Essay: 9 Pages, Deadline: 1 day

was a part of my programme management curs level 5 i passed it with 85% and that is soo good for me, thank you

flag User ID: 7***04 Birmingham, Great Britain

student rating student rating student rating student rating student rating
02 Dec 2021

Management

Thesis: 1.8 Pages, Deadline: 6 days

Very good job I am very happy when I get marks I very very happy thank u so much for helping me

flag User ID: 5***67 Canada

student rating student rating student rating student rating student rating
02 Dec 2021

Mechanical Engineering

Programming: 6 Pages, Deadline: 15 days

was in time good experience, hope would have scored good grades. Good maintained and very much friendly service.

flag User ID: 6***39 United Kingdom, Great Britain

student rating student rating student rating student rating student rating
02 Dec 2021

Management

Essay: 6 Pages, Deadline: 5 days

excellent work thank you i will always use this website and tell and advise my friends and colleagues about you guys but there must be more discounts ...

flag User ID: 7***75 Kuwait

student rating student rating student rating student rating student rating
02 Dec 2021

HRM

Programming: 2 Pages, Deadline: 4 days

all work done well with good referencing and proper words i got a very good score for this particular course and i am happy about that. thank you so ...

flag User ID: 8***18 United Kingdom, Great Britain

student rating student rating student rating student rating student rating
02 Dec 2021

HRM

Assignment: 3.6 Pages, Deadline: 3 days

submitted my work and the lecture acknowledge my work saying that it was good and i did a very good work.

flag User ID: 8***18 United Kingdom, Great Britain

student rating student rating student rating student rating student rating
02 Dec 2021

Management

Assignment: 16 Pages, Deadline: 16 days

Very supporting and helpful, I am happy to express that the assignment and writing is very good and helped me to achieve good achievement in study.

flag User ID: 4***58 Malaysia

5% Cashback

On APP - grab it while it lasts!

Download app now

*Offer eligible for first 3 orders ordered through app!

ribbon
callback request mobile
Have any Query?