Cigar: Cigarette Consumption

Description Usage Format Source References Examples

Description

a panel of N=46 observations each with time-dimension T=30 from 1963 to 1992

total number of observations : 1380

observation : regional

country : United States

Usage

1

Format

A data frame containing :

state

state abbreviation

year

the year

price

price per pack of cigarettes

pop

population

pop16

population above the age of 16

cpi

consumer price index (1983=100)

ndi

per capita disposable income

sales

cigarette sales in packs per capita

pimin

minimum price in adjoining states per pack of cigarettes

Source

Online complements to Baltagi (2001). http://www.wiley.com/legacy/wileychi/baltagi/.

References

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
data(Cigar)
## Panel-Dimensions:
N <- 46
T <- 30

## Dependent variable:

  ## Cigarette-Sales per Capita
  l.Consumption    <- log(matrix(Cigar$sales, T,N))

## Independent variables:

  ## Consumer Price Index
  cpi        <- matrix(Cigar$cpi, T,N)

  ## Real Price per Pack of Cigarettes 
  l.Price    <- log(matrix(Cigar$price, T,N)/cpi)

  ## Real Disposable Income per Capita  
  l.Income   <- log(matrix(Cigar$ndi,   T,N)/cpi)


####################
## Plot the data  ##
####################

par(mfrow=c(1,3))
## Dependent variable
matplot(l.Consumption, main="Log's of Cigarette -Sales\nper Capita",
        type="l", xlab="Time", ylab="")
## Independent variables
matplot(l.Price, main="Log's of Real-Prices of\nCigarettes per Pack",
        type="l", xlab="Time", ylab="")
matplot(l.Income, main="Log's of Real Disposable Income\nper Capita",
        type="l", xlab="Time", ylab="")
par(mfrow=c(1,1))

Example output



phtt documentation built on May 2, 2019, 9:31 a.m.

Related to Cigar in phtt...