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 at the end of May, and its replacement, statalist.org is already up and running.


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

RE: st: How to reduce correlation between variables


From   Ebru Ozturk <ebru_0512@hotmail.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: How to reduce correlation between variables
Date   Mon, 6 Aug 2012 20:24:30 +0300

They are still correlated. Sample size is 285 firms and I cannot increase it. Is there other way to sole this problem?

Kind regards
Ebru

----------------------------------------
> Date: Mon, 6 Aug 2012 12:36:07 +0200
> Subject: Re: st: How to reduce correlation between variables
> From: maartenlbuis@gmail.com
> To: statalist@hsphsun2.harvard.edu
>
> On Mon, Aug 6, 2012 at 12:22 PM, Ebru Ozturk wrote:
> > But it didnt change anything. They are still correlated. I used the command below:
> >
> > orthog x1 x2 x3, gen(x1* x2* x3*)
>
> you need to look at and use the new variables generated by -orthog-,
> see -help orthog-.
>
> *------------------ begin example --------------------
> sysuse auto, clear
> orthog weight length headroom displacement turn, gen(we_o le_o he_o di_o tu_o)
>
> // correlations among the original variables
> corr weight length headroom displacement turn
>
> // correlations among the "orthogonalized" variables
> corr we_o le_o he_o di_o tu_o
> *----------------- end example ---------------------
>
> -- Maarten
>
> ---------------------------------
> Maarten L. Buis
> WZB
> Reichpietschufer 50
> 10785 Berlin
> Germany
>
> http://www.maartenbuis.nl
> ---------------------------------
> *
> * 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/ 		 	   		  
*
*   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