Fake-Assignment-for-Demo

pdf

School

University of Manitoba *

*We aren’t endorsed by this school

Course

1150

Subject

Industrial Engineering

Date

Jan 9, 2024

Type

pdf

Pages

2

Uploaded by DrDonkey3816

Report
Fake Assignment For Class Demo Jenna G. Tichon, 7617016 Setup 1. Replace 1111111 with your student id in the code below in order to generate the dataset you will use for this assignment. This part is not worth marks but you will receive a 0 on your assignment if it is not completed correctly. This will create a vector x that contains the data you will use for this assignment and perform your functions on. set.seed( 7617016 ) p <- runif( 1 , 0 , 20 ) p ## [1] 11.92492 set.seed( 7617016 ) q <- runif( 1 , 0 , 10 ) q ## [1] 5.96246 set.seed( 7617016 ) x <- rbeta( 1000 , p, q) 2. Calculate the max of the distribution. max(x) ## [1] 0.9048366 Max: 0.9048366 3. Make a normal quantile plot of the distribution. Title it “Plot for Fake Assignment”. Comment on whether the data appears to follow a normal distribution. qqnorm(x, main = "Plot for Fake Assignment" ) qqline(x) 1
-3 -2 -1 0 1 2 3 0.3 0.4 0.5 0.6 0.7 0.8 0.9 Plot for Fake Assignment Theoretical Quantiles Sample Quantiles The data appears approximately normally distributed as the points are fairly close to the line but there may be some skewness in the right tail. 2
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help