Hi all, I am using aidsEst( ) in "micEconAids" package to estimate Demand system. But I would like to add more demographic variables in demand system. How can I add those information?
for example: mydata<-data.frame(p1,p2,p3,p4, s1,s2,s3,s4, totalexp, house,age,urban) priceNames<-c("p1","p2","p3","p4") shareNames<-c("s1","s2","s3","s4") estResult <- aidsEst(priceNames,shareNames,'totalexp',data=mydata, method = "LA") for this step, estResult <- aidsEst(....), how to add more demographic variables in this system? Thanks! -- View this message in context: http://r.789695.n4.nabble.com/Demographic-Variables-in-AIDS-Demand-System-tp4452283p4452283.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.