Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can someone help me answer questions b, c and d and e using python and only python language please and thank you! I'm willing to

Can someone help me answer questions b, c and d and e using python and only python language please and thank you! I'm willing to pay extra I really need the help! thank you in advance again this is the link needed to answer the questions https://raw.githubusercontent.com/AlR0d/courses/main/4421/cocaine.csv

image text in transcribedimage text in transcribed
2. The file cocaine.csv contains 56 observations on variables related to the sale of cocaine powder in northeastern California over the period 1984 through 1991. The data are a subset of those used in the study by Caulkins and Padman?. The variables are: e price - the price per gram, in dollars, for a cocaine sale e quant - number of grams of cocaine in a sale e qual- quality of the cocaine expresses as a percentage of purity e trend - a time variable, with 1982 =1 up to 1991=8 a. Read Caulkins, Jonathan P., and Rema Padman. "Quantity Discounts and Quality Premia for Illicit Drugs." Journal of the American Statistical Association 88.423 (1993): 748-757, and write a brief summary of the authors' methodology and findings. b. Estimate a regression relating the price of cocaine to the number of grams sold, the quality of the cocaine, and on the trend. c. Write a summary of your findings. In your summary, explain what the values of the coefficients imply, i.e., explain the effect each of the variables has on the price of cocaine. d. What proportion of variation in cocaine price is explained jointly by variation in quantity, quality, and time? e. What is the average annual change in the cocaine price? Can you suggest why price might be changing in this direction

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

Macroeconomics

Authors: N Gregory Mankiw

9th Edition

1464182892, 9781464182891

More Books

Students also viewed these Economics questions