Skip to contents

Panel data originating from 6 US states over the period 1967–1989.

Usage

data("NaturalGas")

Format

A data frame containing 138 observations on 10 variables.

state

factor. State abbreviation.

statecode

factor. State Code.

year

factor coding year.

consumption

Consumption of natural gas by the residential sector.

price

Price of natural gas

eprice

Price of electricity.

oprice

Price of distillate fuel oil.

lprice

Price of liquefied petroleum gas.

heating

Heating degree days.

income

Real per-capita personal income.

Source

The data are from Baltagi (2002).

References

Baltagi, B.H. (2002). Econometrics, 3rd ed. Berlin, Springer.

See also

Examples

data("NaturalGas")
summary(NaturalGas)
#>  state   statecode      year      consumption         price      
#>  CA:23   5 :23     1967   :  6   Min.   :  9430   Min.   :0.680  
#>  FL:23   10:23     1968   :  6   1st Qu.: 49104   1st Qu.:1.380  
#>  MI:23   23:23     1969   :  6   Median :300836   Median :2.775  
#>  NY:23   35:23     1970   :  6   Mean   :252901   Mean   :3.422  
#>  TX:23   44:23     1971   :  6   3rd Qu.:346429   3rd Qu.:5.310  
#>  UT:23   45:23     1972   :  6   Max.   :637289   Max.   :8.060  
#>                    (Other):102                                   
#>      eprice           oprice          lprice         heating    
#>  Min.   : 1.980   Min.   : 5.01   Min.   :0.680   Min.   : 481  
#>  1st Qu.: 2.433   1st Qu.: 8.24   1st Qu.:1.258   1st Qu.:2082  
#>  Median : 4.520   Median :19.86   Median :2.615   Median :4272  
#>  Mean   : 5.054   Mean   :24.64   Mean   :3.208   Mean   :4155  
#>  3rd Qu.: 7.282   3rd Qu.:40.10   3rd Qu.:5.192   3rd Qu.:6498  
#>  Max.   :10.860   Max.   :51.73   Max.   :7.870   Max.   :7440  
#>                                                                 
#>      income     
#>  Min.   : 7465  
#>  1st Qu.: 9637  
#>  Median :11367  
#>  Mean   :11193  
#>  3rd Qu.:12125  
#>  Max.   :16425  
#>