Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: re: odd "repeated time values" error in glm


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: re: odd "repeated time values" error in glm
Date   Sun, 14 Jan 2007 19:44:52 -0000

I have nothing to add to discussion of Newey-West, but just 
want to point out that mass transformation of a bunch of
variables is just a -foreach- loop: 

foreach v of var <varlist> { 
	gen logit_`v' = logit(`v') 
	label var logit_`v' "logit `v'" 
}

subject to small problems if variable names are very long. 
You mainly need to work out the <varlist>. 

Nick 
[email protected] 

Clive Nicholas

> It can be onerous if you have lots of independent variables to
> logit-transform 
 
Kit Baum 
 
> > I'm not sure why transforming variables into logits 'by hand' is any
> > more onerous than transforming variables into logarithms 'by hand'
> > prior to estimation. 


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index