Purchase Solution

Hypothesis tests in STATA

Not what you're looking for?

Ask Custom Question

1. The file cocaine.dta contains 56 observations on variables related to
sales of cocaine powder in northeastern California over the period 1984-
1991. The variables are
price = price per gram in dollars for a cocaine sale
quant = number of grams of cocaine in a given sale
qual = quality of the cocaine expressed as percentage purity
trend = a time variable with 1984 =1 up to 1991 =8.
Consider the regression model
price = B1 + B2quant + B3qual + B4trend + e (1)

(a) What proportion of variation in cocaine price is explained by variation
in quantity, quality, and time?

(b) It is claimed that the greater the number of sales, the higher the
risk of getting caught; and thus, sellers are willing to accept a
lower price if they can make sales in larger quantities. Set up H0
and H1 that would be appropriate to test this hypothesis. Carry
out the hypothesis test.

(c) Test the hypothesis that the quality of cocaine has no influence
on price against the alternative that a premium is paid for better
quality cocaine.

(d) What is the average annual change in the cocaine price? Can you
suggest why price might be changing in this direction?

Attachments
Purchase this Solution

Solution Summary

Hypothesis tests in STATA are examined.

Solution Preview

1. The file cocaine.dta contains 56 observations on variables related to sales of cocaine powder in northeastern California over the period 1984- 1991. The variables are
price = price per gram in dollars for a cocaine sale
quant = number of grams of cocaine in a given sale
qual = quality of the cocaine expressed as percentage purity
trend = a time variable with 1984 =1 up to 1991 =8.
Consider the regression model
price = B1 + B2quant + B3qual + B4trend + e (1)

(a) What proportion of variation in cocaine price is explained by variation in quantity, quality, and time?
use STATA commend: regress price quant qual trend
we get the following ...

Purchase this Solution


Free BrainMass Quizzes
Economics, Basic Concepts, Demand-Supply-Equilibrium

The quiz tests the basic concepts of demand, supply, and equilibrium in a free market.

Elementary Microeconomics

This quiz reviews the basic concept of supply and demand analysis.

Pricing Strategies

Discussion about various pricing techniques of profit-seeking firms.

Basics of Economics

Quiz will help you to review some basics of microeconomics and macroeconomics which are often not understood.

Economic Issues and Concepts

This quiz provides a review of the basic microeconomic concepts. Students can test their understanding of major economic issues.