Skip to content

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.

16 results for “from:Guojun Zhu”

devide data into decile
Guojun Zhu · May 9, 2006 · r-help

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

Yet another help needed
Guojun Zhu · Apr 30, 2006 · r-help

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

How to strip of a term in data.frame
Guojun Zhu · May 2, 2006 · r-help

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

What will produce NA for lm()?
Guojun Zhu · May 6, 2006 · r-help

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

How to strip one term from a data.frame? + How to write long line in script?
Guojun Zhu · May 1, 2006 · r-help

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

program and comment
Guojun Zhu · Apr 26, 2006 · r-help

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

weird question about lm() and data.frame
Guojun Zhu · May 4, 2006 · r-help

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

Still help needed on embeded regression
Guojun Zhu · May 1, 2006 · r-help

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

SciViews and R-2.3.0; does it work yet?
Guojun Zhu · May 8, 2006 · r-help

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

efficiency in merging two data frames
Guojun Zhu · May 1, 2006 · r-help

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

Still help needed on embeded regression
Guojun Zhu · May 2, 2006 · r-help

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

weird question about lm() and data.frame
Guojun Zhu · May 5, 2006 · r-help

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

general help on R and factor in R and a few simple comment from a newbie
Guojun Zhu · Apr 30, 2006 · r-help

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

Still help needed on embeded regression
Guojun Zhu · May 2, 2006 · r-help

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

Still help needed on embeded regression
Guojun Zhu · May 2, 2006 · r-help

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

Still help needed on embeded regression
Guojun Zhu · May 2, 2006 · r-help

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 .