Bookmark and Share

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


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

RE: st: iccvar


From   megan rossi <[email protected]>
To   <[email protected]>
Subject   RE: st: iccvar
Date   Thu, 13 Dec 2012 21:35:11 +1000

Thanks, however I am after the correlation coefficient from panel data, not the ICC.In other words I am looking for a command to use following xtmixed that will give me the the correlation coefficient for my dependent and independent variable. Any ideas?
Cheers,
 
Megan Rossi APD 
PhD Candidate School of Medicine, University of Queensland
Accredited Practicing Dietitian
Princess Alexandra Hospital Nutrition & Dietetic Department
m: 0402 931 441 | e: [email protected] 
"Let food be thy medicine and medicine be thy food." — Hippocrates (ca. 460 – 377 BC)
 
********************************************************************************
This email, including any attachments sent with it, is confidential and for the sole use of the intended recipient(s). This confidentiality is not waived or lost, if you receive it and you are not the intended recipient(s), or if it is transmitted/received in error.
Any unauthorised use, alteration, disclosure, distribution or review of this email is strictly prohibited. The information contained in this email, including any attachment sent with it, may be subject to a statutory duty of confidentiality if it relates to health service matters.
**********************************************************************************
 


> Date: Thu, 13 Dec 2012 11:47:13 +0100
> From: [email protected]
> To: [email protected]
> Subject: Re: st: iccvar
> 
> It seems that -quickicc- (from SSC) does *not* calculate the ICC of 
> random slope models. But you can use -xtmrho- (from SSC), instead - 
> although -xtmrho- does not calculate the standard error.
> 
> Stata example (runable from do-file window):
> 
> * --------------------------------------------
> cap which quickicc
> if _rc ssc install quickicc
> 
> cap which xtmrho
> if _rc ssc install xtmrho
> 
> webuse nlswork
> xtmixed ln_wage grade age c.age#c.age ttl_exp ///
> tenure c.tenure#c.tenure || idcode: tenure
> xtmrho
> quickicc
> * --------------------------------------------
> 
> BTW: Note that in the first "official" example for -xtmixed- (see -h 
> xtmixed-) the variables ln_wage and idcode are abbreviated to ln_w and 
> id which - depending on your varabbrev setting (see -h set_varabbrev-) 
> might give you an error message if you try to run it (this should be 
> corrected!).
> 
> Dirk
> 
> On Wed, 12 Dec 2012 09:03:45 -0700, "Robert 
> Fornango"<[email protected]> wrote:
> 
> ---- <snip> --------------------
> >
> > As a final note on -iccvar-: please be aware that the command only estimates
> > the ICC for random intercept models, up to 4 levels. If you have a random
> > intercept and random slope model, you should use -quickicc-, also by Eric C
> > Hedberg.
> >
> ---- <snip> --------------------
> 
> ========================================
> Dr. Dirk Enzmann
> Institute of Criminal Sciences
> Dept. of Criminology
> Rothenbaumchaussee 33
> D-20148 Hamburg
> Germany
> 
> phone: +49-(0)40-42838.7498 (office)
> +49-(0)40-42838.4591 (Mrs Billon)
> fax: +49-(0)40-42838.2344
> email: [email protected]
> http://www2.jura.uni-hamburg.de/instkrim/kriminologie/Mitarbeiter/Enzmann/Enzmann.html
> ========================================
> *
> * 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/


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