Search Archives
Search tips
from:Name
Search by author name, e.g. from:Duncan Murdoch
"exact phrase"
Match an exact phrase
word1 word2
Match messages containing both words
Date range
Use the date pickers to filter results to a time period
Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.
I guess this is really basic. But I do not find an answer yet. I have a big data.frame. I would like to divede them into 10 deciles accounding to one of its member. Then I need a number...
I have a big data.frame with abou 20 column and 60,000 rows for analyze. Let us say I had a column "a". I want to generate a new column which value should be the average of the 60...
say I have 100 terms for data.frame a. I want to do a linear regression of one term (say y) on other 33 terms. the only way to write this is "lm(y~., data=a)". But there are some...
I still works on the similar questions. I have a data frame, say d, with 33+1 colums (20 of them are 0/1 dummy variables) and about 1000 rows. Now I do the linear regression and get a NA...
I need to run a regression with 14 normal variables and 20 dummy variables. All the data is in a huge data.frame df. But there is some extra intermediate item in the same data.frame too. It will be...
Hi. I am a newbie to R. I need to do a courses projects with some manipulation lots of data record and some back-and-forth linear regression. I do not want to spend $100 for a SAS lincence, which...
I am still battling with my project :( I have a line like this lm(month.model$next.ret~.,month.model,na.action=na.omit) month.model is a data frame with lots of columns. One of them is "Oth", a...
I basically has a long data.frame a. but I only need three columns x,y. Let us say the index of row is t. I need to produce new column s_t as the linear regression coefficient of (x...
I use the R-2.3.0 with sciViews in windows XP homw now. Mostly it is fine. But every booting, sciView failed for the first time and said that it could not establish connection with R. After closing everything...
I have two data sets about lots of companies' stock and fiscal data. One is monthly data with about 144,000 lines, and the other is quaterly with about 56,000. Each data set takes different company code. I need...
It does not work though. How is the lag work? How does the lag work? I read the help and do not quite understand. Here is a test > y [1] 1 2 3 4 5 6 7 8 9 10...
--- Prof Brian Ripley <ripley at stats.ox.ac.uk> wrote: > On Thu, 4 May 2006, Guojun Zhu wrote: > > > I am still battling with my project :( > > > > I have a line like this > > > > > lm(month.model$next.ret~.,month.model,na.action...
Hi. I am starting to learn R for a course project. I am relative OK c++ programer. I found the R is very different. I have read the "an introduction to R". I have to say it is not very...
Sorry to bother you guys again. This is great. But this is for 61 number and the second case will change 60 to 61. "run*" only accept odd number window. How to get around it with 60? Any suggestion? Thanks...
Thank you very much. It rocks. And actually I discovered that what really slow down the program is "return$vol.cap[[i]]=mean(VOL[(i-12):(i-1)],na.rm=TRUE)/return$cap[[i]]" If I took out this and...
For my perticular purpose (run regression on trailing 60 number b on 60 a), I have writen a short function for it because no available function (runmean, rollmean) can take care of NA as I wanted. I basically want the...
Can't find what you're looking for? Try searching with Google .