QuickHelper

(10)

$20/per page/

About QuickHelper

Levels Tought:
Elementary,High School,College,University,PHD

Expertise:
Accounting,Applied Sciences See all
Accounting,Applied Sciences,Business & Finance,Chemistry,Engineering,Health & Medical Hide all
Teaching Since: May 2017
Last Sign in: 258 Weeks Ago, 5 Days Ago
Questions Answered: 20103
Tutorials Posted: 20155

Education

  • MBA, PHD
    Phoniex
    Jul-2007 - Jun-2012

Experience

  • Corportae Manager
    ChevronTexaco Corporation
    Feb-2009 - Nov-2016

Category > Statistics Posted 31 Aug 2017 My Price 11.00

​You will need to install package "knitr" in RStudio on your computer to complete this.

Question description

 

You will need to install package "knitr" in RStudio on your computer to complete this.

1)Q

Test Driving knitR

Use the MTCars dataset for this exercise.

You will use R functions to perform various tasks on your data, and use knitR to mix in text, code, and output into a single document. When you are done, you will create a pdf, and that pdf will be your final output that you will upload here.

Start with the statistical functions on slide 44 of the Session Three presentation (Session 3 PDF attached), looking at MPG.

We will be working towards a document that will include summaries, graphs and charts that will allow you to demonstrate various things about the cars in this dataset, their engines, transmissions, and fuel economy.

(Test Drive KnitR) you have to perform statistical operations for which you can refer slide 44 from session 3. Before using the statistical function make sure you have LaTeX installed in your system and even install the package KnitR in RStudio you have to do some settings for which you can refer session 7. Form a simple question which is related to mtcars dataset. Try "? mtcars " which will provide you details about the variables. Find data of engines, transmission, and fuel economy and try to find relation between the variables. Now perform statistical operation(refer from slide 44 from session 3) to find the solution to your question. In the end you have to knit that page to PDF or HTML.

Before forming the question please do refer slides from session 7 and instructions given for TestDriveKnitR.

2Q)

KntR3 -Use latex for this question export to PDF

Now we'll integrate more things into our investigation.

First, fix any errors in your previous knitR work before continuing.

Now we're going to dig into our cars some more. Start by using the lattice library to do a histogram of the mtcars data we've been working with. Show a histogram of the mileage of each engine based upon the number of cyl in a single plot. Do the same thing for transmission type and number of gears. Write some thoughts about the results of these observations.

Now we're going to do some modeling. Instead of doing an aov table of effects, do an aov table of means, modeling mpg and cyl. Do the same thing with mpg and am, and mpg and gear. Write about these observations.

Finally, let's do a linear model. Write about what you're about to do, then create a linear model for mpg against weight from the original mtcars dataset. Run a coef of the Model and report it out. Explain in your paper what this accomplishes. Then plot the actual mpg data against the linear model you got earlier from the slope and intercept. Play with some of the other useful functions available.

Write a summary of the work you've done, and what you believe these observations demonstrate.

LaTEX was important because I want you to be exporting directly from knitR to pdf, which uses LaTEX and gives a specific look into paper.

Please find the attachments for this questions, any questions let me know

Answers

(10)
Status NEW Posted 31 Aug 2017 07:08 AM My Price 11.00

Hel-----------lo -----------Sir-----------/Ma-----------dam----------- T-----------han-----------k Y-----------ou -----------for----------- us-----------ing----------- ou-----------r w-----------ebs-----------ite----------- an-----------d a-----------cqu-----------isi-----------tio-----------n o-----------f m-----------y p-----------ost-----------ed -----------sol-----------uti-----------on.----------- Pl-----------eas-----------e p-----------ing----------- me----------- on----------- ch-----------at -----------I a-----------m o-----------nli-----------ne -----------or -----------inb-----------ox -----------me -----------a m-----------ess-----------age----------- I -----------wil-----------l

Not Rated(0)