Question: Could use some help with Task 2 on R studio! A screen shot of the console info and steps would be helpful! Task 2 :

Could use some help with Task 2 on R studio! A screen shot of the console info and steps would be helpful!

Task 2: Write, test, and submit the necessary code in R to accomplish the following:

Install actuar package and load the actuar package.

1. Generate 51 random numbers in a Pareto distribution and assign them to a variable called FSApops. ** shape and scale arguments will be explained in 2.

2. Specify a scale and a shape for your Pareto distribution that makes it as similar as possible to the actual distribution of state populations on page 90 of the textbook.

3. Create a histogram that shows the distribution of values in FSApops.

4. Use a command to report the actual mean and standard deviation of the 51 values stored in FSApops.

5. Use a command to report the minimum and maximum value of FSApops.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!