Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In Stata, you have loaded a dataset with Disney prices in rows 1-5 and Weight Watchers prices in rows 6-10, For both companies, you want

In Stata, you have loaded a dataset with Disney prices in rows 1-5 and Weight Watchers prices in rows 6-10, For both companies, you want to take the lagged value of the closing price (close). Which of the following is the correct command to use? sort company date Agen close com lag close[n-1] sort date OB. by company: gen close com lagt close[n-1] sort company date OC by company: gen close com lagt close [n-1] sort company date ODgen close com lagt close(n-1) sort company date OE by company gen dose com lagt close(n-1)) sort date OF gen close com lagt close[n-1]image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Microeconomics An Intuitive Approach with Calculus

Authors: Thomas Nechyba

1st edition

538453257, 978-0538453257

Students also viewed these Accounting questions