logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Bhupal ObraoiLaw
(5/5)

976 Answers

Hire Me
expert
Elyza Marice GamisManagement
(5/5)

963 Answers

Hire Me
expert
Sonia TakiaNursing
(5/5)

922 Answers

Hire Me
expert
Catherine Chanwai EarleLaw
(5/5)

530 Answers

Hire Me
R Programming
(5/5)

what is the starting and ending month of the sample period Show the Tickers and other information for largest

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

magine that you are at 3 years from now. You have a stable and well-paid job, so you are thinking about investing part of your money. You do not have time to take care of a new business,

e.g., owning a restaurant or coffee shop, so you limit your attention to financial assets. You find U.S. stock market might be a good place to go. You would like to understand how good the U.S. stock market is. In particular, you want to know how lucrative and how safe it is for you who has not dealt with stock before.

You start with collecting the historical data of stocks. Center of Research for Security and Price (CRSP) has all the security related information (download ‘CRSP_2021.csv’ from Canvas under section “Data and other Resources”), and you start your investigation.  

PERMNO and Ticker are unique firms’ identifications. Date is the month-end date (yyyymmdd), and the stock price (PRC) is measured at the end of that date. Monthly return (RET) is the stock return measured from the last month-end date to the current date.

Since we are interested in publicly tradable common shares, we only consider firms with SHRCD equal to 10 and 11. There are many stock exchanges in U.S., while we consider only the biggest three, NYSE, AMEX, and Nasdaq, with PRIMEXCH N, A, and Q respectively as they are most liquid, that is, you can buy and sell with ease. 

The firms’ market equity (or market cap or size) is defined as the stock price per share (PRC) times total number of shares (SHROUT). However, please note that PRC contains negative values because if the stock was not traded for a while before the month-end, CRSP records some alternative price measures and puts a negative sign in the front. Therefore, you have to take the absolute value of PRC before times it with SHROUT.

1.   Descriptive analysis: 

What is the starting and ending month of the sample period? Show the Tickers and other information for largest (market cap) 10 firms by the end of the sample? If you find both

“GOOG” and “GOOGL”, do not be surprised. That is because google has double-class shares.   

2.   Since you do not have superior information relative to others, especially the financial institutions, you plan to invest in a broad market index which contains all stocks traded (after screening for SHRCD and PRIMEXCH). Calculate the monthly equal-weighted average return from the beginning to the end of the sample period. (Please define the variable name as “RET.ew”) Note that some stocks have missing RET data in some months. That is probably because they are suspended from trading for a few months. Let’s take missing RET as zero and then calculate the equal-weighted average monthly returns. If you are using R, print out the result.

 

3.        Probably a more interesting return measure is the value-weighted monthly returns, that is, you take a weighted average of the firm returns in each month and the weights are the firms’ last month’s market equity (call it ME). So, you lag the market equity for one month for all firms (call it ME.lag). Note that you need to lag market equity for each firm, not lag the entire column. If you are using R, print out the generated column.

 

 

4.        Take the value-weighted average of monthly returns (call it RET.vw). We may have not covered this in the class, but it is simple. Search “weighted average in Excel (or R)” in Google, you will find the function and how to use it. In addition, please note that ME.lag may contain missing values, let’s exclude the firms with missing ME.lag. If you are using R, print out the result. 

(5/5)
Attachments:

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme