Question: 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

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

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

1 Expert Approved Answer
Step: 1 Unlock 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 Economics Questions!