Assignment: Programming R, Java, Python
I. Write an R program that reads the text file into a data frame. Using that data frame, print the mean, median, mode, average deviation, and standard deviation. Be sure to state which output is which, such as "The mean is: 25".
II. Write a Java program that reads the text file. Using meaningful print statements, output the mean, median, mode, and standard deviation.
III. Write a Python program that reads the text file. Using NumPy and SciPy modules, print the mean, median, mode, and standard deviation.
As part of the mastery requirements for this Competency Assessment, complete the following boldfaced item:
Using the requirements for Steps 1-3 above, write code that adds another statistical method to output using all three languages beyond the competency statistical methods.
IV. Write an R program that:
i. Reads the text file.
ii. Using that data, create a two-dimensional array that is 2,500 rows by 100 columns.
iii. Also create a three-dimensional array that is 2500 by 10 by 10.
iv. Slice the two-dimensional array using a starting column index of 2 and an ending column index of 5. Print the results of the arrays and slice.
V. Write a Java program that:
i. Reads the text file.
ii. Using that data, create a two-dimensional array that is 2,500 rows by 100 columns.
iii. Slice the two-dimensional array using a starting column index of 2 and an ending column index of 5. Print the results of the arrays and slice.
VI. Write a Python program that:
i. Reads the text file using NumPy.
ii. Using that data, create a two-dimensional array that is 2,500 rows by 100 columns.
iii. Also create a three-dimensional array that is 2500 by 10 by 10.
iv. Slice the two-dimensional array using a starting index of 2, an ending index of 5, and steps by 10. Print the results of the arrays and slice.
VII. Compare and contrast your experience with each language when determining the mean, mode, median, and standard deviation.
Place your screenshots and responses in a Microsoft Word document. This part of the assessment should meet any stated specifications listed above. Be sure to include the .R files with your code for the R portion.
Format your assignment according to the following formatting requirements:
i) The answer should be typed, using Times New Roman font (size 12), double spaced, with one-inch margins on all sides.
ii) The response also includes a cover page containing the title of the assignment, the student's name, the course title, and the date. The cover page is not included in the required page length.
iii) Also include a reference page. The Citations and references must follow APA format. The reference page is not included in the required page length.
Attachment:- Dataset.rar