This part of the project will give you experience writing a shell script. Study the "Quick Guide to Bash Shell Scripts" on the class webpage. Write a shell script named 'file-info' that takes the name of file and displays:
Your task is to add two testing procedures to the simulation study in welch1938.R script from early in the semester. This write-up may be helpful. The two new procedures are:
Write an executable R script called 'random-normals' which generates X normally distributed random numbers with mean M and standard deviation V using the Box-Muller transformation, where X, M, and V are supplied as command line arguments. In an R script named 'plot-normals.R', source your 'random-normals' file and use its code to generate 1,000 standard normal random deviates and produce one figure in a file called 'box-muller.pdf' containing the following:
Commit your 'random-normals', 'plot-normals.R', 'welch1928.txt', 'welch1938.R', and 'file-info' files to the appropriate directory in the repository. Make sure that only the appropriate files have the executable bit set.