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]

Re: st: qnorm


From   Alan Neustadtl <alan.neustadtl@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: qnorm
Date   Mon, 5 Mar 2012 11:15:51 -0500

Thank you.  That worked perfectly.

Best,
Alan

On Mon, Mar 5, 2012 at 9:46 AM, Maarten Buis <maartenlbuis@gmail.com> wrote:
> I have heard this error before, and in those cases it has gone away
> after typing -ssc install hangroot, replace-. It appears that
> -adoupdate- did not recognize the new version of hangroot that is
> present on SSC.
>
> Hope this helps,
> Maarten
>
> On Mon, Mar 5, 2012 at 3:16 PM, Alan Neustadtl <alan.neustadtl@gmail.com> wrote:
>> Thank you for pointing us to -margdistfit- and -hangroot- from the SSC
>> archives.  Unfortunately I encountered an error when running your
>> example.  Using the code below (copied from your posting) I get an
>> error (shown below the program code):
>>
>> sysuse auto, clear
>> reg mpg
>> margdistfit, hangroot name(hangr)
>>
>> varlist required when hangroot is not preceded by
>> betafit, paretofit, lognfit, weibullfit, gammafit,
>> gumbelfit, invgammafit, invgaussfit, dagumfit,
>> smfit, gb2fit, fiskfit, or gevfit
>> and these models need to be estimated without covariates
>> r(100);
>>
>> I am using version 1.2.0 13Dec2011 of margdistfit and used -adoupdate-
>> to update my user written programs.
>>
>> The following example from the -hangroot- help file produces the same error:
>>
>> preserve
>> set seed 12345
>> drop _all
>> set obs 500
>> gen x = runiform() < .5
>> gen y = -2 + 4*x + rnormal()
>> regress y x
>> margdistfit, hangroot(jitter(5))
>> restore
>>
>>
>> Thank you for your help.
>>
>> Best,
>> Alan
>>

*
*   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