Create histograms of the ptratio in the oklahoma schools

Assignment Help Other Engineering
Reference no: EM131226722

For the scripts created below. The entire console needs to be displayed. So the graphics and the script can be seen.

1. At the top of your script, include housekeeping steps to first list the contents of the workspace and then clear it out.

2. Load the HW04 workspace that you downloaded from eCampus for the previous assignments. You may use the file menu on the R console to browse for and load the workspace. When this is completed, copy the line of code from the console window and paste it into your script so you can load the workspace automatically the next time you want to run the script. After loading the workspace, include a step that lists in the console the contents of the workspace again to confirm the desired data file has been loaded.

3. Include a statement that will cause R to send all of the graphics in this assignment directly to the PDF file that you will be posting on Web Assign. NOTE: You may want to wait until you have all of your graphics working properly before including this step so you can see the graphics in the console while you are working on them.

4. Create histograms of the PTRatio in the Oklahoma schools. Make sure the layout, labels, and title all match the sample output.

a. Create the first histogram using the default number of breaks.

b. Create a vector that can be used to extend the length of the X axis and force breaks every 5 pupils/teacher. You may find it helpful to use the statistics on the PT Ratio column to determine how far your sequence should go.

c. Create a new histogram with break points at 5 pupils/teacher.

5. Add a maroon line to the graph that shows the normal distribution density of the PTRatio numbers. Feel free to use separate lines of code as necessary to create the vectors required for this step.

6. Draw a yellow vertical line on the previous histogram at the average PTRatio. Use a function to determine the position of the line instead of hard coding in the mean value. Use a value from the color palette to specify the color instead of using the color name.

7. Create a new plot showing the number of teachers compared to the Pupil Teacher Ratio (PTRatio). Use the plot character shown in the sample output on eCampus. The color of the plot character is purple. Force the x axis to extend to 140.

8. Add a colored fit line to the plot. Use a hex value to mix a color for the line that is FF parts Red, 99 parts Green and no Blue. In the console, show the summary statistics for the model that created the fit line.

9. Imbed the date and time of creation near the upper right hand corner of the graph area. The coordinates of the time stamp location need only be close to the ones used for the sample output. This time stamp must be based on system time so that it updates whenever your code is run.

10. Create a boxplot of the number of students in each grade (Columns Grade7 through Grade12). Make sure the labels, etc. match the posted output. The inside of the boxes is light green.

11. Add diamonds that can be colored and filled that represent the average number of students in each grade from Tulsa County. You may create the vector of averages first to simplify the function that is used to plot the diamonds. The background of the diamonds is dark green and the border is red. Make the size of the diamonds larger than the default similar to what is shown in the sample output. (TIP: Do not over-complicate the plotting of the diamonds. You can plot a vector without supplying the x component of the points if the vector labels match the data used to create the original graph as it does in this case.) You may find it helpful to consult the R help on points in order to find out which plot character to use and how to specify the background color.

Reference no: EM131226722

Questions Cloud

Net assets of jelly soft manufacturing : Rock Solid Manufacturing, Inc., has acquired the net assets of Jelly Soft Manufacturing, Inc., for $10 million and now needs to address how the acquisition should be recorded on its books for financial reporting purposes and which intangible asset..
Problem regarding the reliability of a firm beta : Identify and analyse the factors that can affect the reliability of a firm's beta. Do you think the recent global financial crisis has had an impact on a firm's beta, its cost of equity and its cost of capital?
How that problem developed or came into existence : Describe background information on how that problem developed or came into existence. Show why this is a societal problem, and provide perspectives from multiple disciplines or populations so that you fully represent.
Option transaction as an alternative to a direct stock : Describe a specific example of how you might advise a client to use an option transaction as an alternative to a direct stock transaction. As part of your example, be sure to explain specific characteristics relative to net worth and risk toleranc..
Create histograms of the ptratio in the oklahoma schools : Create histograms of the PTRatio in the Oklahoma schools. Make sure the layout, labels, and title all match the sample output. Create the first histogram using the default number of breaks
How could management measure the ethical health : How could management measure the ethical health of an organization other than survey questions?
Current role of an hrm professional : Write a paper that compares what you see as the current role of an HRM professional with how the role is expected to evolve in the future. In addition, compare the varying demands made upon HRM professionals throughout time. Note: This discussion ..
What are your variables of interest : In the method section of your paper, you will present the design of your study. The design of your study refers to the plan for actually conducting the research. It specifies where you will conduct observations or an experiment. It also specifies..
Compute the value of acme common stock : Compute the value of Acme Common Stock if the next dividend is expected to be $1.20 per share. Investors require a 9% rate of return on stocks with the same risk as Acme.

Reviews

Write a Review

Other Engineering Questions & Answers

  Draw a gate diagram for the circuit implementing

Simplify the product of sums to give the expression with the fewest literals. Show your work. Draw a gate diagram for the circuit implementing F, based on your simplified expression

  Determine the maximum speed of the e

Consider a nominally spherical Escherichia coli bacterium that is of diameter D = 2µm. The bacterium is in a water-based solution at 3rC containing a nutrient which is characterized by a binary diffusion coefficient of DAB = 0.7 x 10-9 m2/s and a ..

  Calculate the magnetization

A coil of wire 0.1 m long and having 15 turns carries a current of 1.0 A. Compute the magnetic induction if the coil is within a vacuum.

  Given an inclined plane

Given an inclined plane, if the length of the inclined plane equals 14 feet and the vertical height equals 5 feet, what is the mechanical advantage?

  Describe an advantage that state-space techniques

Briefly describe an advantage that state-space techniques have over root locus techniques in the placement of closed-loop poles for transient response design.

  Draw the per-unit equivalent circuit

Draw the per-unit equivalent circuit if the low-voltage windings are connected in Δ with American standard phase shift

  Describe how values that were assigned to the output to led

Explain the process you used in this lab to arrive at the final design of both the hardware portion and the software portion to achieve the design objectives.

  Find the gauge pressure at a second point in the line

At one point in a pipeline the water's speed is 3.00 mls and the gauge pressure is 5.00 X 104 Pa. Find the gauge pressure at a second point in the line, no m lower than the first, if the pipe diameter at the second point is twice that at the first

  The second sideband below the carrier frequency

26. A 10 kHz signal modulates a 500 MHz carrier, with a modulation index of 2. What are the maximum and minimum values for the instantaneous frequency of the modulated signal?

  State multiprogramming and multiprocessing for same problems

It is stated that multiprogramming and multiprocessing present the same problems, with respect to concurrency. This is true as far as it goes. However, cite two differences in terms of concurrency between multiprogramming and multiprocessing.

  Write a report based on business reengineering case study

You are required (as a group with up to four members) to write a report based on the Business Reengineering ata Large Government Agency case study.

  The removal of eschar from burned skin

------------------is the removal of eschar from burned skin.  _____________ investigates the body's structure, whereas __________ investigates the processes or functions of living things.

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