Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Lets construct tradable portfolios from the given dataset. Upload data in R. Data contain daily close prices, standard industrial classification (SIC) code and market cap

Lets construct tradable portfolios from the given dataset.

Upload data in R. Data contain daily close prices, standard industrial classification (SIC) code and market cap (ME) for a large cross-section of stocks in the US. The first row contains the permno of any given stock, whereas the second row contains the date, the third the SIC code, the fourth the closing price, and the fifth market cap. And then upload the five Fama-French factors monthly data.

Write the R code to form decile portfolios sorting stocks by market cap at the end of each month, considering the effect of the SIC code. Report the average number of stocks and the average ME within each decile for each SIC code, over the considered sample.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Complete Guide To Real Estate Finance For Investment Properties

Authors: Steve Berges

1st Edition

0471647128, 978-0471647126

More Books

Students also viewed these Finance questions

Question

5. Read the article:...

Answered: 1 week ago

Question

Give some examples of reverse auctions?

Answered: 1 week ago

Question

c. What were you expected to do when you grew up?

Answered: 1 week ago

Question

4. Describe how cultural values influence communication.

Answered: 1 week ago

Question

3. Identify and describe nine cultural value orientations.

Answered: 1 week ago