A02 Reading Data Files Basic R Functions & Operators: Econometric Models Gpo 4 .pdf

Doc Preview
Pages 15
Identified Q&As 27
Solutions available
Total views 2
A02 Reading Data Files, Basic R Functions & Operators DueApr 9 at 9amPoints100Questions25Time LimitNone Allowed Attempts4 Instructions Attempt History AttemptTimeScore LATESTAttempt 127 minutes84 out of 100 ! Answers will be shown after your last attempt Score for this attempt:84 out of 100 Submitted Apr 8 at 10:47pm This attempt took 27 minutes. We have seen in class most of que questions in this Assignment, however, there are some that we haven't. The idea in those cases is for you toexecute the code provided in R directly and look at what happens. Please really practice these examples instead of just looking at the answers since "learning by doing" is the best way to learn a coding language and familiarize with it. Take the Quiz Again 4 / 4 pts Question 1
What is the result of the following code?
View full document
4 / 4 pts Question 2 Data.frame "prices" has columns "bid" and "ask", how do we add a new column called "midpoint"?
View full document
0 / 4 pts Question 3 IncorrectIncorrect
Which of the following commands graphs a line plot of the performance of Netflix (NFLX) over time, with a blue line? Assume the Date column is defined properly as a date. prices is a data.frame that contains the prices time-series of FB and SPY.
Course Hero Badge

Want to read all 15 pages?

Previewing 4 of 15 pages Upload your study docs or become a member.
Course Hero Badge

Want to read all 15 pages?

Previewing 4 of 15 pages Upload your study docs or become a member.
Course Hero Badge

End of preview

Want to read all 15 pages? Upload your study docs or become a member.