View source: R/summary.aidsElas.R
summary.aidsElas | R Documentation |
These functions summarize and print the estimated elasticities of an Almost Ideal Demand System (AIDS).
## S3 method for class 'aidsElas' summary( object, ... ) ## S3 method for class 'summary.aidsElas' print( x, ... )
object |
an object of class |
x |
an object of class |
... |
currently ignored. |
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). |
Arne Henningsen
aidsElas
, aidsEst
.
# 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 ) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.