Re: [R] using a noisy variable in regression (not an R question)

2009-03-08 Thread John Maindonald
: Jonathan Baron ba...@psych.upenn.edu Date: 8 March 2009 5:21:55 AM To: Juliet Hannah juliet.han...@gmail.com Cc: r-help@r-project.org Subject: Re: [R] using a noisy variable in regression (not an R question) If you form categories, you add even more error, specifically, the variation

[R] using a noisy variable in regression (not an R question)

2009-03-07 Thread Juliet Hannah
Hi, This is not an R question, but I've seen opinions given on non R topics, so I wanted to give it a try. :) How would one treat a variable that was measured once, but is known to fluctuate a lot? For example, I want to include a hormone in my regression as an explanatory variable. However, this

Re: [R] using a noisy variable in regression (not an R question)

2009-03-07 Thread Jonathan Baron
If you form categories, you add even more error, specifically, the variation in the distance between each number and the category boundary. What's wrong with just including it in the regression? Yes, the measure X1 will account for less variance than the underlying variable of real interest (T1,

Re: [R] using a noisy variable in regression (not an R question)

2009-03-07 Thread Stephan Kolassa
Hi Juliet, Juliet Hannah schrieb: One simple thing to try would be to form categories Simple but problematic. Frank Harrell put together a wonderful page detailing all the issues with categorizing continuous data: http://biostat.mc.vanderbilt.edu/twiki/bin/view/Main/CatContinuous So:

Re: [R] using a noisy variable in regression (not an R question)

2009-03-07 Thread Juliet Hannah
Thank you for your responses. I should have emphasized, I do not intend to categorize -- mainly because of all the discussions I have seen on R-help arguing against this. I just thought it would be problematic to include the variable by itself. Take other variables, such as a genotype or BMI. If

Re: [R] using a noisy variable in regression (not an R question)

2009-03-07 Thread Stephan Kolassa
Hi Juliet, Juliet Hannah schrieb: I should have emphasized, I do not intend to categorize -- mainly because of all the discussions I have seen on R-help arguing against this. Sorry that we all jumped on this ;-) I just thought it would be problematic to include the variable by itself. Take

Re: [R] using a noisy variable in regression (not an R question)

2009-03-07 Thread Paul Johnson
On Sat, Mar 7, 2009 at 11:49 AM, Juliet Hannah juliet.han...@gmail.com wrote: Hi, This is not an R question, but I've seen opinions given on non R topics, so I wanted to give it a try. :) How would one treat a variable that was measured once, but is known to fluctuate a lot? For example, I

Re: [R] using a noisy variable in regression (not an R question)

2009-03-07 Thread Charles C. Berry
On Sat, 7 Mar 2009, Juliet Hannah wrote: Hi, This is not an R question, but I've seen opinions given on non R topics, so I wanted to give it a try. :) How would one treat a variable that was measured once, but is known to fluctuate a lot? For example, I want to include a hormone in my