summary.aidsElas: Summarizing the Elasticities of an Almost Ideal Demand System

View source: R/summary.aidsElas.R

summary.aidsElasR Documentation

Summarizing the Elasticities of an Almost Ideal Demand System

Description

These functions summarize and print the estimated elasticities of an Almost Ideal Demand System (AIDS).

Usage

## S3 method for class 'aidsElas'
summary( object, ... )

## S3 method for class 'summary.aidsElas'
print( x, ... )

Arguments

object

an object of class aidsElas.

x

an object of class summary.aidsElas.

...

currently ignored.

Value

summary.aidsEst returns a list of class summary.aidsElas. It is identical to the provided object (except for its class), but it contains following additional element:

table

a matrix with 4 columns: all elasticities, their standard errors (if available), their t-values (if available), and their P-values (if available).

Author(s)

Arne Henningsen

See Also

aidsElas, aidsEst.

Examples

   # Using data published in Blanciforti, Green & King (1986)
   data( Blanciforti86 )
   # Data on food consumption are available only for the first 32 years
   Blanciforti86 <- Blanciforti86[ 1:32, ]

   ## Repeating the demand analysis of Blanciforti, Green & King (1986)
   estResult <- aidsEst( c( "pFood1", "pFood2", "pFood3", "pFood4" ),
      c( "wFood1", "wFood2", "wFood3", "wFood4" ), "xFood",
      data = Blanciforti86, method = "IL" )
   summary( elas( estResult ) )

micEconAids documentation built on May 20, 2022, 5:05 p.m.