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: ivreg2 program code


From   "Michael Ndlovu" <Michael.Ndlovu@resbank.co.za>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Re: ivreg2 program code
Date   Mon, 06 Feb 2012 14:26:23 +0200

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/


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