Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The purpose of this assignment is to generate random numbers using R, develop various plots to visualize data distribution of a numerical sample in the

The purpose of this assignment is to generate random numbers using R, develop various plots to visualize data distribution of a numerical sample in the R environment, and to calculate probability based on distributions within R. Part 1: Complete the assignment by executing the following steps. Generate a dataset of 300 random numbers that follows are normal distribution with a mean of 200 and a standard deviation of 10. Use appropriate R command(s) to validate that an approximate mean = 200 and an approximate standard deviation = 10 was obtained. Create a histogram depicting the data distribution for the 300 random numbers generated in step 1. Create a histogram that superimposes a normal curve over the frequency distribution. Summarize the results of steps 2 through 4. Are these results what you expected? Why or why not? In a Word document, include screenshots that show the results of executing each command. Part 2: Complete the assignment by executing the following steps. Utilize the "temp," "rand," "data7," and "bird" objects from the "Beginning.RData" data set. For each data object, use the table() command to create an appropriate contingency table. For each data object, use the hist() command to create appropriate histograms for each object. Using the commands provided in Table 5-1 in the textbook, provide histogram plots for the above data objects. In a Word document, include screenshots that show the results of executing each command. Part 3: Assume that you have a dataset that follows a normal distribution. The dataset contains sales revenue for the previous month. The mean sales revenue is $10,268 and the standard deviation is $124. Use this dataset to complete the steps below and make predictions about the same month's revenue behavior in the next year. Calculate the probability that sales revenue will be less than $10,000 in the same month next year. Calculate the probability that sales revenue will be more than $10,398 in the same month next year. Calculate the probability that sales revenue will be between $9,984 and $10,116 in the same month next year. Complete the following statement: There will be a 95% chance that a randomly selected value from this dataset will fall between _______ and _______. In a Word document, include screenshots that show the results of executing each command. Submit the Word document for Parts 1-3 and a plain text file (.txt) of all executed commands for the steps in Parts 1-3 of the assignment.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Finance For IT Decision Makers

Authors: Michael Blackstaff

1st Edition

3540762329, 978-3540762324

More Books

Students also viewed these Finance questions

Question

1. Define attachment.

Answered: 1 week ago