Question: d ) Copy the file engen 1 0 3 _ 1 9 a . dat from the engen 1 0 3 library folder. This file

d) Copy the file engen103_19a.dat from the engen103 library folder. This file contains two marks for every student - their internal mark and their exam mark. We want to load and plot that data. Try:
load engen103_19a.dat
bar ( engen103_19a)
Did this work? Could it be that easy? What would you need to do to let the user know which bars represent which mark? Hint: research legend.
Try a plot instead of a bar. Is this better or worse?
e) What we really want is to plot their internal mark against their exam mark, to see if there is any relationship or correlation. Use vector slices to split the matrix into two vectors, one with the first (internal) mark, and the other with the second (exam) mark. Plot the two vectors you just created, i.e.
plot ( internal, exam)
It would help if you changed the markers to be dots instead of lines.
Add appropriate labels to the x and y axis to show which are the internal marks and which are the exam marks, and a title for the graph of the original file or matrix name for the data.
Do you think there is a relationship or correlation between the two marks? Hint: research curve fitting and polyfit.
d ) Copy the file engen 1 0 3 _ 1 9 a . dat from

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 Accounting Questions!