View source: R/summary.aidsEst.R
summary.aidsEst | R Documentation |
summary.aidsEst
summarizes the estimation results
of an Almost Ideal Demand System (AIDS).
## S3 method for class 'aidsEst' summary( object, ... ) ## S3 method for class 'summary.aidsEst' print( x, ... )
object |
an object of class |
x |
an object of class |
... |
currently ignored. |
summary.aidsEst
returns a list of class summary.aidsEst
that is currently identical to the provided object
(except for its class).
Arne Henningsen
aidsEst
, aidsElas
.
# 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 ) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.