Displaying 6 results from an estimated 6 matches for "shmilylemon".
2006 May 01
1
How to strip one term from a data.frame? + How to write long line in script?
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 nice I
can strip off those terms and run lm(). Also, is
there a simple way to write the formula, for example,
just specify the y term, all other term in data.frame
should be x_i. Or is there some
2006 May 01
4
efficiency in merging two data frames
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 to merge these two together. I read both ask
cvs. And the other file with corresponding firm code.
Now I have three data sets. return$PERMNO,
account$GVKEY. id is the data frames
2006 Apr 26
2
program and comment
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 professor
used. So I decide to start to learn R to finish it.
I am using R in Windows. I feel it is somehow works
like mathemica. I try to write the work into a little
program for future reference.
2006 Apr 30
1
general help on R and factor in R and a few simple comment from a newbie
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 newbie friendly. It does
not explain many things clearly. And unfortunately,
there is not too much introductory materials available
on-line. I do not want to buy a book.
For example, I found
2006 May 09
2
devide data into decile
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 for each decile with
some computaion within each group. How to devide it?
2006 May 05
1
weird question about lm() and data.frame
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 dummy variable. I checked
month.model, there are two rows with number 1 and
others are either 0 or NA. the two rows with Oth==1
have no NA. I have totally about 900 rows. But after
the