Question: ( 1 ) Consider the following distribution function, F ( x ) = x x , 0 x 1 . ( i ) Find the
Consider the following distribution function, Fx x x x i Find the inverse function of Fx using r code ii Generate random numbers using the inverse function from i and display the distribution in a histogram you may adapt code from the lecture note or you can create your own Manitobas vehicle registration plate number consists six charecters three letters followed by three numbersi Create an R function reg.vehicle to generate n vehicle registration plate numbers Hint: you may adapt the code to generate the postal code from the lab material and change as necessaryii Generate vehicle registration plate numbers using function reg.vehicle and print the head of the dataframe. Pease set.seed to generate same samples iii Since Manitoba has multicultural society, and therefore, people in some religions do not want the vehicle registration plate number which has the first number zero. Your manager at Manitobas transportation office asked you to separate the registration plate that contain the first number zero. Write an R code to separate the data frame generated in ii containing the first number zero and print the head of the dataset iv One of your friends family wants an easy number to start with and end with How many possible numbers do you have to offer your friend?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
