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

  The chi-square distribution is a discrete distribution

In using chi-square for testing the independence of variables, the table of observed frequencies is constructed under the assumption that the null hypothesis is true.

  Represents the second highest overhead

For most organizations, the cost of built space represents the second highest overhead (OpEx) after staff costs. From critical consideration of the relevant research literature, your experience, and best practice in space management, consider the ..

  Operation of a liquid-liquid extraction system

Explain with a simple sketch the principle of operation of a Liquid-Liquid Extraction system and where is liquid-liquid extraction preferred over other separation processes?

  Many software companies related issues

How many calls would this customer make under plan (i)? Why? How many calls would he or she make under plan

  Heat boiler contributes to the plant profitability

At what rate (k mol/s) must fuel gas be burned to produce 1250 kg steam per hour (an amount required elsewhere in the plant) in the waste heat boiler? What is the volumetric flow rate (m3/s) of the gas leaving the boiler? Briefly explain how the w..

  Discuss the type of membrane and the configuration used

discuss the type of membrane and the configuration used. In your discussion, include major associated equipment in the separation process circuit, and the key operational parameters that need to be controlled and monitored

  The maximum available memory address space for flash memory

the maximum available memory address space for flash memory on the mc9s12dp256b is 1m byte 1024k bytes. since the size

  Design and build a signal conditioning system from sensor

DATA AQUISITION Lab Project - Design and build a signal conditioning system from sensor to 4-20ma transmission to 0-10V controller input. Using LABVIEW preferably 2015 edition

  Research paper about aerospace engineering organization

Write research paper about aerospace engineering organization , choose any organization , talk about who are they and when they get started

  The magnitude frequency response of a filter

1. (TCO 1) The magnitude frequency response of a filter is usually graphed in decibels versus frequency using which of the following equations?

  Find the rotarional speed in rpm

Find the value of K, its uncertainty (with 95% confidence), and the maximum possible error - Find the rotarional speed in rpm and its uncertainty. All measured values have a confidence level of 95%.

  What is the power dissipated in the chip

If the inverter is operated from a 1.8-V power supply, find the energy needed to charge and discharge the load capacitance. If the IC chip has 2 million of these inverters operating at an average switching frequency of 1 GHz, what is the power dis..

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