Re: [R] Running different Regressions using for loops

2012-09-28 Thread Krunal Nanavati
earlier explanation, I hope this one makes it more understandable Thanks for your time...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: Da

Re: [R] Running different Regressions using for loops

2012-09-28 Thread Krunal Nanavati
iven below: > 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 &

Re: [R] Running different Regressions using for loops

2012-09-28 Thread Krunal Nanavati
t; Price2 "is there a statement 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

Re: [R] Running different Regressions using for loops

2012-09-28 Thread Krunal Nanavati
2] NULL But this is giving me " NULL " as the output... What 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. Thank

Re: [R] Running different Regressions using for loops

2012-09-27 Thread Krunal Nanavati
ith 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 -Original Message- From: Rui Barradas [m

Re: [R] Running different Regressions using for loops

2012-09-26 Thread Krunal Nanavati
ld work 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 *

[R] Running different Regressions using for loops

2012-09-26 Thread Krunal Nanavati
on. Thanks & Regards, 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 htt

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-91

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

2012-07-27 Thread Krunal Nanavati
ist') cannot 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-pr

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

2012-07-26 Thread Krunal Nanavati
can 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

[R] Working with Numbers generated from Regression Output

2012-07-26 Thread Krunal Nanavati
is output 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]] ___