Learn R Programming

micEconAids (version 0.6-20)

summary.aidsElas: 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 aidsElas
summary( object, … )

# S3 method for 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).

See Also

aidsElas, aidsEst.

Examples

Run this code
# NOT RUN {
   # 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 ) )
# }

Run the code above in your browser using DataLab