Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

RE: st: ivreg2 program code (was: RE: st: ivreg program code)

From   "Schaffer, Mark E" <>
To   <>
Subject   RE: st: ivreg2 program code (was: RE: st: ivreg program code)
Date   Mon, 6 Feb 2012 12:19:04 -0000


You can tell if Stata knows about the livreg2.mlib Mata library by
saying, within Mata:

mata mlib query

or, within Stata:

mata: mata mlib query

The relevant online help discussion is in

help mata_mlib


> -----Original Message-----
> From: 
> [] On Behalf Of Nick Cox
> Sent: Monday, February 06, 2012 12:00 PM
> To:
> Subject: Re: st: ivreg program code
> 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
> <> 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:
> *
> *
> *

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:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index