ScholarMatic | 24/7 Homework Help

ScholarMatic Will Help You Write Your Essays and Term Papers

Answered » You can buy a ready-made answer or pick a professional tutor to order an original one.

Stat 431 Assignment 1

by | Dec 1, 2023 | Posted Questions

Instructions: You need to include all code, output and explanations. You can have the code all in one
chunk at the end of your paper or you can dispurse code, output and explanations together. It is up to you.
Hard copy is due no later than 2:30 PM 5 February 2016 (I will be in the library until 2:30 that day).
1. R has built-in datasets. One such dataset is called trees. Run the following code to access that dataset:
data(trees).
2. Use the head() command to see the first 6 observations.
3. How many observations and variables are in the dataset?
4. Use attach() so that you do not have to use two-level names to call the variables.
5. Find the mean, median, variance, standard deviation of each of the three variables, Height, Girth, and
Volume using the individual commands (mean(), var(), etc.)
6. Use the command summary() to find the same basic summary as the individual commands. For syntax
help, type ?summary for the help file.
7. Now use the stat.desc() command in the pastecs package for all three variables.
8. Create histograms and boxplots of all three variables (either separate or 3 per panel). Briefly describe
the graphs.
9. Create a scatterplot (with points only) of Girth and Height, placing Girth on the x-axis and Height on
the y-axis. Briefly describe the graph (the main things to mention is whether or not there appears to
be an association and if there is, state whether positve or negative).
10. Read in the dataset from the class website called farmacres.csv. Use read.table(), read.csv() or
use the Import Dataset options in the Environment Window. Call the dataset farm.
11. Use the histogram() command in the Lattice package to create a histogram of the acres by stratum.
Briefly describe the distributions.

ScholarMatic: Explanation & Answer

Your ready answer from a verified tutor is just a click away for as little as $14.99


  

Click Order Now to get 100% Original Answer Customized to your instructions!

HOME TO CERTIFIED WRITERS

Why Place An Order With Us?

  • Certified Editors
  • 24/7 Customer Support
  • Profesional Research
  • Easy to Use System Interface
  • Student Friendly Pricing

Have a similar question?

PLAGIRAISM FREE PAPERS

All papers we provide are well-researched, properly formatted and cited.

TOP QUALITY

All papers we provide are well-researched, properly formatted and cited.

HIGHLY SECURED

All papers we provide are well-researched, properly formatted and cited.

ScholarMatic: Get Started

Assignment Writing Service

Feel safe and secure when placing an order on our portal!
Fruitful cooperation begins with solid guarantees, and we are professional enough to promise perfect results. Let’s get it started!