Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: Re: ivreg2 program code


From   "Schaffer, Mark E" <M.E.Schaffer@hw.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Re: ivreg2 program code
Date   Mon, 6 Feb 2012 12:41:57 -0000

Michael,

If you check out the repec page for ivreg2,

http://ideas.repec.org/c/boc/bocode/s425401.html

you'll see that several files will have to be downloaded and copied to
appropriate folders by hand: specifically, the ado, the sthlp, and the
mlib files.

Where you put them on your machine will depend partly on your setup, but
perhaps others on the list can advise on the best place in your
circumstances.

--Mark

> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu 
> [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of 
> Michael Ndlovu
> Sent: Monday, February 06, 2012 12:26 PM
> To: statalist@hsphsun2.harvard.edu
> Subject: st: Re: ivreg2 program code
> 
> Dear Nick
>  
> I apologise if my previous e-mail was not clear. I do require 
> assistance with the ivreg2 function. However I am having a 
> problem with my server thus I did not download it through the 
> ssc install command, I am actually using a program define do 
> file which I ascertained from the following address:
> 
> http://fmwww.bc.edu/repec/bocode/i/ivreg2.ado
> 
> I encountered this issue when I tried to run this code as a 
> do file on my stata 12.0. If I indeed require a more advanced 
> mata code may you please direct me to where I can ascertain 
> the latest coding in a do file format.
> 
> I cannot use the ssc command.
> 
> Michael
> 
> >>> Nick Cox <njcoxstata@gmail.com> 2012-02-06 13:59 >>>
> You are trying to use -ivreg2- (SSC) and -ranktest- (SSC). Please
> remember to explain where user-written commands you refer to come
> from. Also the heading -ivreg- is misleading as -ivreg- is a quite
> different command.
> 
> Your problem is one with the associated Mata code. Please check that
> you downloaded the latest version of the Mata library required. --ssc
> desc ivreg2- and -ssc desc ranktest- show that you need to install
> livreg2.mlib. Sometimes closing and restarting Stata fixes small
> problems like this.
> 
> Nick
> 
> On Mon, Feb 6, 2012 at 11:49 AM, Michael Ndlovu
> <Michael.Ndlovu@resbank.co.za> wrote:
> > I am having a problem with the both the ivreg2 and the 
> ranktest stata program code. I am currently using stata 12.0 
> and the problem is that when I run the code on from a do file 
> stata gives me a r(3000) error message and informs me that 
> "struct ms_vcvorthog undefined", under the subheading "LIML" 
> of the code.
> >
> > I would appreciate thoughts on what could be causing this 
> problem and suggestions on how one could go about resolving it?
> >
> 
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search 
> *   http://www.stata.com/support/statalist/faq 
> *   http://www.ats.ucla.edu/stat/stata/
> 
> 
> 
> --------------------- *** Disclaimer *** ----------
> This e-mail and its contents are subject to the SA Reserve Bank's
> Disclaimer and Confidentiality Clause, which can be viewed at:
> http://www.reservebank.co.za/disclaimer
> Should you be unable to access the link provided, please send a
> blank e-mail to Disclaimer@resbank.co.za
> --------------------------- *** Disclaimer *** -----
> 
> 
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
> 


-- 
Heriot-Watt University is a Scottish charity
registered under charity number SC000278.

Heriot-Watt University is the Sunday Times
Scottish University of the Year 2011-2012



*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index