i must estimate a system of equation:
walimentation= aalimentation+ balimentation ln R
whabillement= ahabillement+ bhabillement ln R
whabitation= ahabitation + bhabitation ln R
wsanté= asante + bsante ln R
wtransport= atransport + btransport ln R
wdivers= adivers + bdivers ln R
wi : the ième budget share. wi is calculated as: (expenditure / household’s income )
lnR : the logarithm of household's income
I know that i must use a dirtifit model to ensure that the adding up condition is verified (sum of budget share equal to 1= the proportions should add up to 1).
But in order to estimate my model, i must estimate each equation separately(and not the 6 equations in the same time).
I must estimate each equation by a logistic fractional model using fracglm (wi is a proportion). I would like to ask you how can i impose the adding up condition in this case.
Can you help me?
walimentation= aalimentation+ balimentation ln R
whabillement= ahabillement+ bhabillement ln R
whabitation= ahabitation + bhabitation ln R
wsanté= asante + bsante ln R
wtransport= atransport + btransport ln R
wdivers= adivers + bdivers ln R
wi : the ième budget share. wi is calculated as: (expenditure / household’s income )
lnR : the logarithm of household's income
I know that i must use a dirtifit model to ensure that the adding up condition is verified (sum of budget share equal to 1= the proportions should add up to 1).
But in order to estimate my model, i must estimate each equation separately(and not the 6 equations in the same time).
I must estimate each equation by a logistic fractional model using fracglm (wi is a proportion). I would like to ask you how can i impose the adding up condition in this case.
Can you help me?
Comment