Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Hossein Zare <hzare52@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: Re: ivqreg |
Date | Mon, 1 Apr 2013 21:26:33 -0400 |
Hi Billy, Thank you for your prompt response. I used the ado file written by (Kwak, D. W.), please look at this link: [https://www.msu.edu/~kwakdo/ivqreg.pdf.] I tried to used this in the quantile regression model: ivqreg log_earn age age2 married educ_* (diseased=visit ) , quantil(.1) In this model educ (is sveral dummy for educ1, educ2 and educ3), I create this dummy because this command doesn't work with i.educ. When I run the model after creating 4 _cons give me this message (conformability error). Actually the problem is that; I cannot include the several dummy for educ or the other variables in the model, but if I just use one dummy for educ ( e.g. educ1) its okey. I hope I could explain the problem. Thank you, HZ On Mon, Apr 1, 2013 at 8:24 PM, William Buchanan <william@williambuchanan.net> wrote: > Step 1: Read FAQ > Step 2: Identify where user-written programs come from (-search ivqreg, all- produces no results) > Step 3: Identify which version of said program you are using > Step 4: Show EXACTLY what you typed and EXACTLY what Stata provided for output > Step 5: If you haven't received a response to your initial email exactly one day earlier, re-read the FAQ for advice on asking better questions > Step 6: If all else fails, email the author of the program directly. > > After searching online for a little while, I was able to find 1 distribution of a package called -ivqreg- but have no ability to verify if it is the same program that you are using because you didn't include where you got the program. The program I found had a date of 2010 in it, which might mean that the author is no longer developing that program. > > HTH, > Billy > > > On Apr 1, 2013, at 4:59 PM, Hossein Zare <hzare52@gmail.com> wrote: > >> I am working with ivqreg (ado file published by the STATA), I'd like >> to insert a dummy for education (i.edu-0, 1, 2, 3) and some other >> dummies. >> >> The problem is when I run this regression, it's working in first step >> and create several _cons instead of one _cons. >> >> Is there any suggestion for treating this problem? >> >> Thank you, Hossein >> >> On Sat, Mar 30, 2013 at 9:08 PM, Hossein Zare <hzare52@gmail.com> wrote: >>> Hello All, >>> >>> I am working with ivqreg (ado file published by the STATA), I'd like >>> to insert a dummy for education (i.edu-0, 1, 2, 3) and some other >>> dummies. >>> >>> The problem is when I run this regression, it's working in first step >>> and create several _cons instead of one _cons. >>> >>> Is there any suggestion for treating this problem? >>> >>> Thank you, Hossein >>> * >>> * For searches and help try: >>> * http://www.stata.com/help.cgi?search >>> * http://www.stata.com/support/faqs/resources/statalist-faq/ >>> * http://www.ats.ucla.edu/stat/stata/ >> * >> * For searches and help try: >> * http://www.stata.com/help.cgi?search >> * http://www.stata.com/support/faqs/resources/statalist-faq/ >> * http://www.ats.ucla.edu/stat/stata/ > > > * > * For searches and help try: > * http://www.stata.com/help.cgi?search > * http://www.stata.com/support/faqs/resources/statalist-faq/ > * http://www.ats.ucla.edu/stat/stata/ * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/