Question: The data file contains stock returns for ge (general electric), vw (value-weighted market returns), ew (equal-weighted market returns), and sp (Standard Poor composite index).

The data file contains stock returns for “ge” (general electric), “vw” (value-weighted market returns), “ew” (equal-weighted market returns), and “sp” (Standard Poor composite index). The time span of the data ranges from Jan 1940 to Sept 2011. Please do following work within R/RStudio environment.

dategevwewsp
19400131-0.06192-0.02402-0.01998-0.03523
19400229-0.00990.0136640.0297330.006639
194003300.0493330.0189390.0261680.009893
19400430-0.041670.0011960.013115-0.0049
19400531-0.19732-0.22031-0.26975-0.23954
194006290.0616670.0666640.066550.076591
194007310.067460.032230.0368050.031062
194008310.0111520.0239620.0232210.026239
19410131-0.00377-0.04051-0.00732-0.0482
19410228-0.00379-0.01484-0.01941-0.0149
19410331-0.008370.0095990.0143080.004032
19410430-0.10465-0.05307-0.05738-0.06526
19410531-0.012990.0138580.0101050.004296
194106300.143860.0586830.0669080.053476
19410731-0.01550.0595190.1301390.054822
194108300.031496-0.00046-0.00718-0.00866
19410930-0.01603-0.00749-0.02045-0.00971
19411031-0.13333-0.05179-0.06203-0.06863
19411129-0.03258-0.01937-0.03421-0.04211
194112310.022749-0.04673-0.08189-0.04506
194201310.0187790.0071580.1308140.013809
19420228-0.04148-0.02415-0.01758-0.02497
19420331-0.07789-0.06566-0.05224-0.06752
19420430-0.02646-0.04315-0.04626-0.0437
194205290.0869570.0610470.0288790.063969
194206300.0490.0254820.0250860.018405
194207310.0144930.0348770.0464050.031325
194208310.0095240.0186560.0283040.007009
194306300.0552630.0169110.0109790.019818
19430731-0.08176-0.04621-0.06434-0.05425

(a) Compute the sample mean, standard deviation, skewness, excess kurtosis, minimum, and maximum of each simple return series.

(b) Transform the simple returns to log returns and redo part (a).

(c) Test the null hypothesis that the mean of the log returns of “ge” stock is zero. Use 5% significance level to draw your conclusion.

So far I have:

install.packages("fBasics")

library(fBasics)

data = read.table("assignment_1.txt", head=T)

head(data)

dim(data)

agn = data$ge

agn = data$vw

agn = data$ew

agn = data$sp

Everything after this gives me errors so I'm not sure where to go or if I'm beginning it right.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Certainly Heres a more detailed approach to address the question usi... View full answer

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