Re: [R] Linear regression repeat for each column

2013-07-20 Thread arun
help@r-project.org Cc: Sent: Saturday, July 20, 2013 7:55 PM Subject: [R] Linear regression repeat for each column Hi everyone I need to calculate abnormal returns for different events applying event study methodology. I must create a market model in order to perform the analysis. I apply regr

Re: [R] Linear regression repeat for each column

2013-07-20 Thread Jeff Newmiller
Sure. Read the Posting Guide, and provide a reproducible example with sample data. I suspect the basic idea will be to merge the data frames and then setup the model to refer to the desired columns. --- Jeff Newmiller

[R] Linear regression repeat for each column

2013-07-20 Thread iza.ch1
Hi everyone I need to calculate abnormal returns for different events applying event study methodology. I must create a market model in order to perform the analysis. I apply regression analysis to get OLS estimators. I have a problem to create a linear regression which I could repeat for each