Question: Question 1 ( Computer ) ( 1 mark ) Load the agpop.csv file in an object names agdata. Question 2 ( Computer ) ( 2

Question 1(Computer)(1 mark)
Load the agpop.csv file in an object names agdata.
Question 2(Computer)(2 marks)
Explore the structure of the dataframe. What are the variable/colnames for this data?
Question 3(Computer)(1 mark)
Select only the data corresponding to the acres92 variable in the agdata dataframe. Save this data as a
new object named agdata.acres92
Question 4(Computer)(2 marks)
Calculate the mean and standard deviation of the new agdata.acres92 object.
Question 5(Computer)(7 marks total)
In the following study, 20 manuscripts of an unknown author were found. Some of the evidence proved
that these unknown manuscripts were either written by author A or author B. To decide between these two
individuals it was decided to record the frequency (for every 400 words) that they used the word the in
their writings.
Here we are given the frequency of the word the in 50 manuscripts of author A : 13.4,6.0,9.6,8.1,11.2,
11.9,22.4,13.2,8.8,5.3,12.4,7.2,12.0,10.5,3.8,12.0,13.1,8.7,8.8,12.3,12.2,5.8,11.7,6.5,6.3,9.9,8.1,2.3,
13.4,16.3,1.8,15.5,5.9,2.9,18.3,17.5,13.4,10.5,8.3,12.3,6.3,8.1,18.3,4.3,12.6,4.2,10.7,12.9,18.9,16.5.
Here we are given the frequency of the word the in 50 manuscripts of author B: 7.3,9.1,9.7,7.9,4.0,4.9,
8.9,5.2,2.7,5.2,3.0,7.4,6.4,8.0,7.1,9.2,7.1,4.9,5.3,7.9,5.1,5.5,8.6,5.4,6.3,6.8,4.4,2.8,6.3,5.2,5.0,
9.4,2.3,4.9,4.3,8.0,5.9,9.4,5.1,2.7,5.7,9.4,5.0,5.2,8.4,5.3,7.0,1.1,4.7,5.6.
Finally we are given the frequency of the word the in 20 manuscripts of the unknown author: 6.0,5.9,
1.0,5.5,8.6,4.1,5.4,7.9,5.3,2.1,7.6,6.7,5.2,7.8,9.2,9.4,2.8,4.8,7.0,6.6.
(a)(3 marks) Draw histograms of these frequencies for the two known authors and the unknown author.
(b)(3 marks) Draw stem-leaf of these frequencies for the two known authors and the unknown author.
(c)(1 mark) Using the histograms and stem leaf plots above, who would you say wrote the unknown
manuscripts?
Question 6(Computer)(3 marks)
Work with data set survey.csv. Draw histograms of the variable Wr.Hnd for all students, and respectively
for male and female students.
i need to understand how to do this on R the programing language

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!