Learn R Programming

censoredAIDS (version 1.0.0)

Estimation of Censored AI/QUAI Demand System via Maximum Likelihood Estimation (MLE)

Description

Tools for estimating censored Almost Ideal (AI) and Quadratic Almost Ideal (QUAI) demand systems using Maximum Likelihood Estimation (MLE). It includes functions for calculating demand share equations and the truncated log-likelihood function for a system of equations, incorporating demographic variables. The package is designed to handle censored data, where some observations may be zero due to non-purchase of certain goods. Package also contains a procedure to approximate demand elasticities numerically and estimate standard errors via Delta Method. It is particularly useful for applied researchers analyzing household consumption data.

Copy Link

Version

Install

install.packages('censoredAIDS')

Monthly Downloads

135

Version

1.0.0

License

MIT + file LICENSE

Maintainer

Noé J Nava

Last Published

March 18th, 2025

Functions in censoredAIDS (1.0.0)

muaidsCalculate

Calculate the demand share equations of a AI or QUAI demand system, including demographic variable, using point estimates (e.g., mean, median, percentiles).
censoredaidsLoglike

Calculates the truncated (censored) log-likehood function of a share system of equations of a AI or QUAI demand system.
censoredElasticity

Numerical approximation to censored AI or QUAI demand system elasticities, including demographic variable.
MexicanHH_foodConsumption

National Survey of Household Income and Expenditures (ENIGH)
aidsCalculate

Calculate the demand share equations of a AI or QUAI demand system, including demographic variable.