Learn R Programming

micEconAids (version 0.6-20)

summary.aidsEst: Summarizing the Estimation of an Almost Ideal Demand System

Description

summary.aidsEst summarizes the estimation results of an Almost Ideal Demand System (AIDS).

Usage

# S3 method for aidsEst
summary( object, … )

# S3 method for summary.aidsEst print( x, … )

Arguments

object

an object of class aidsEst.

x

an object of class summary.aidsEst.

currently ignored.

Value

summary.aidsEst returns a list of class summary.aidsEst that is currently identical to the provided object (except for its class).

See Also

aidsEst, aidsElas.

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, priceIndex = "SL" )
   print( summary( estResult ) )
# }

Run the code above in your browser using DataLab