Re: [R] Running different Regressions using for loops

2012-09-28 Thread Krunal Nanavati
I am looking for, is to access a beta value of a particular variable from a particular regression output and use it for further analysis. Can you please help me out with this. Greatly appreciate, you guys efforts. Thanks Regards, Krunal Nanavati 9769-919198 -Original Message- From

Re: [R] Running different Regressions using for loops

2012-09-28 Thread Krunal Nanavati
for that?? Thanks Regards, Krunal Nanavati 9769-919198 -Original Message- From: Rui Barradas [mailto:ruipbarra...@sapo.pt] Sent: 28 September 2012 15:18 To: Krunal Nanavati Cc: David Winsemius; r-help@r-project.org Subject: Re: [R] Running different Regressions using for loops Hello

Re: [R] Running different Regressions using for loops

2012-09-28 Thread Krunal Nanavati
: lm.list2 - list() for(i in seq_along(pricemedia)){ regr - paste(pricemedia[i], trendseason, sep = +) fmla - paste(response, regr, sep = ~) lm.list2[[i]] - lm(as.formula(fmla), data = tryout2) } Thanks Regards, Krunal Nanavati 9769-919198 -Original Message- From: Rui

Re: [R] Running different Regressions using for loops

2012-09-28 Thread Krunal Nanavati
...and all the quick replies Thanks Regards, Krunal Nanavati 9769-919198 -Original Message- From: Rui Barradas [mailto:ruipbarra...@sapo.pt] Sent: 28 September 2012 16:49 To: Krunal Nanavati Cc: David Winsemius; r-help@r-project.org Subject: Re: [R] Running different Regressions using

Re: [R] Running different Regressions using for loops

2012-09-27 Thread Krunal Nanavati
without that as well, right? Can you please tell me, why the code that I had written, does not work with R. I thought it should work perfectly. Thanks Regards, Krunal Nanavati 9769-919198 *From:* Rui Barradas [mailto:ruipbarra...@sapo.pt] *Sent:* 26 September 2012 17:13 *To:* Krunal

Re: [R] Running different Regressions using for loops

2012-09-27 Thread Krunal Nanavati
...giving only 5 outputs I feel there is something wrong with the lm.list[[i]] - lm(as.formula(fmla), data = tryout) statement. I am not sure about its placement...whether it should be in loop 2 or in loop 1 Can you please help me out?? Thanks Regards, Krunal Nanavati 9769-919198

[R] Running different Regressions using for loops

2012-09-26 Thread Krunal Nanavati
, Krunal Nanavati Solutions Manager - Cogitaas 9769-919198 [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting

Re: [R] Working with Numbers generated from Regression Output

2012-07-27 Thread Krunal Nanavati
work on those numbers individually to calculate elasticities. I tried with the other statements as well, but they are not addressing this issue. Can you please help me out with this. I really appreciate your time and effort. Thanks Regards, Krunal Nanavati 9769-919198 *From

Re: [R] Working with Numbers generated from Regression Output

2012-07-27 Thread Krunal Nanavati
be handled by 'cat' Can you tell me where I am going wrong Thanks Regards, Krunal Nanavati 9769-919198 -Original Message- From: Jeff Newmiller [mailto:jdnew...@dcn.davis.ca.us] Sent: 27 July 2012 12:11 To: Krunal Nanavati; Jean V Adams Cc: r-help@r-project.org Subject: Re: [R] Working

Re: [R] Working with Numbers generated from Regression Output

2012-07-27 Thread Krunal Nanavati
elaborate on your third option. I went into the data tab in excel, and chose from text option, as I had pasted the console output of regression in a text file. But by doing this I am getting all the output in a single cell in excel. Thanks for your time. Thanks Regards, Krunal Nanavati 9769-919198

[R] Working with Numbers generated from Regression Output

2012-07-26 Thread Krunal Nanavati
in Excel, It is pasted as an image, and thus I cannot use the beta values for calculating any other metric. Can anyone please help me out!!! Thanks Regards, Krunal Nanavati 9769-919198 [[alternative HTML version deleted]] __ R-help@r