subject

In this CT assignment, we will use R software to analyze a dataset GoogleAmazonStock. xlsx. Preview the document.

It contains daily closing stock prices for Google and Amazon from 8/22/2017 to 8/22/2018. When we examine stock prices (or other financial assets) we often transform them into a (simple) return series. The return series are computed by the formula: (present price/past price) - 1. The dataset contains both stock prices and return series.

1. Using R, construct time series (line) plots for both stock prices and return series. R functions ts. plot or plot can create the plot. Describe the patterns and compare the plots.
2. Based on the return series, can we claim that the mean Amazon return series is higher than that of Google?

a. What would be an appropriate test of the claim above? Explain.
b. Write the null and alternative hypotheses.
c. Using R, perform the test.
d. Write the decision in the problem context.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 13:00
We as humans write math expression in infix notation, e.g. 5 + 2 (the operators are written in-between the operands). in a computer’s language, however, it is preferred to have the operators on the right side of the operands, i.e. 5 2 +. for more complex expressions that include parenthesis and multiple operators, a compiler has to convert the expression into postfix first and then evaluate the resulting postfix.write a program that takes an “infix” expression as input, uses stacks to convert it into postfix expression, and finally evaluates it. it must support the following operations: + - / * ^ % (example infix expression: (7 - 3) / (2 + 2)postfix expression: 7 3 - 2 2 + /result: 1guidelines: 1. you will need to use stacks in three placesa. one for the parenthesis check [char stack]b. one during infix to postfix [char stack]c. one during evaluation [int stack]for a and b above, you can use same array and same push, pop method as both ofthem are char. but for evaluation you have int stack and you might consider to createanother push pop method to handle it. maybe push_int, pop_int, etc. or find otherstrategy to utilize existing push pop method2. you can create a function for obtaining operator priority. that function should take anoperator as input and return its priority as an integer. this function will you a lot andreduce repeated code3. during evaluation you will need to convert char into integer. example for single digit: char c = '5'; int x = c - '0';
Answers: 2
question
Computers and Technology, 23.06.2019 16:30
You have read about the beginnings of the internet and how it was created. what was the internet originally created to do? (select all that apply) share research. play games. communicate. share documents. sell toys
Answers: 1
question
Computers and Technology, 25.06.2019 20:40
Write a java program named charsindex to get the index of all the characters of the alphabet. ask user to input a string.the sample output was produced by this string: "the quick brown fox jumps over the lazy dog." sample output:
Answers: 3
question
Computers and Technology, 26.06.2019 01:30
How to invite someone to a conversartion on
Answers: 2
You know the right answer?
In this CT assignment, we will use R software to analyze a dataset GoogleAmazonStock. xlsx. Preview...
Questions
question
Mathematics, 29.10.2019 05:31
question
Mathematics, 29.10.2019 05:31
question
Mathematics, 29.10.2019 05:31
Questions on the website: 13722367