Description Usage Arguments Value Author(s) See Also Examples
This method extracts the fitted demanded quantities and expenditure shares from an estimated Almost Ideal Demand System.
1 2 |
object |
an object of class |
... |
currently unused. |
The fitted
method returns a list
containing following objects:
shares |
a data frame for the fitted expenditure shares. |
quant |
a data frame for the fitted demanded quantities. |
Arne Henningsen
1 2 3 4 5 6 7 8 9 | # 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, ]
estResult <- aidsEst( c( "pFood1", "pFood2", "pFood3", "pFood4" ),
c( "wFood1", "wFood2", "wFood3", "wFood4" ), "xFood",
data = Blanciforti86 )
fitted( estResult )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.