Displaying 5 results from an estimated 5 matches for "gvkey".
2006 May 01
4
efficiency in merging two data frames
.... 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 of the
corresponding relation and has both id$PERMNO and
id$GVKEY. Also, I need to convert the return's month
into quarter and finally merge two data frames(return
and account). I end up write a short program for
this, but it runs very slow. 15+ minutes. Is there
qui...
2008 Aug 20
1
How to send Html using SQL Server db mail
All,
I have a variable called `go` and it has a single quote in the name
column of line 47 that I am trying to get rid of. I have tried using
gsub, but I cannot get the syntax correct to tell R to remove the '
(single quote).
> go[47,]
gvkey Symbol Name Rank MarketCap MemoDate
Action Analyst Reason SharesHeld
75 065105 BJ BJ'S WHOLESALE CLUB INC 0.9579 2258.24 <NA>
<NA> <NA> <NA> <NA>
>
I have tried every combination I could think of, some of them being:
gs...
2008 May 02
4
to extract particular date/data
Hi R-expert,
If I have this daily rainfall data, how do call a particular day?
Year,Month,Day,Amount
1900,12,22,1.3
1900,12,23,0
1900,12,24,0
1900,12,25,0
1900,12,26,0
1900,12,27,0
1900,12,28,0
1900,12,29,4.8
1900,12,30,0.3
1900,12,31,0.5
1901,1,1,0
1901,1,2,3
1901,1,3,0
1901,1,4,0.5
1901,1,5,0
1901,1,6,0
...
I used to use julian.date in S-Plus.
Thank you so much for your kind attention and help.
2010 Jan 22
2
sorted reshaping?
...D. : 10.0 S.D. : 8.37811
T-stat :1551.59 T-stat :2804.7 T-stat : 1.69344
Obs. : 200.00 Obs. : 200.0 Obs. :188.00000
NA's : 12.00000
the firms and years are both ordered. I tried reshape(rin,
timevar="fyear", idvar="gvkey", direction="wide"), and the shape seems
to be what I want, but the columns come out in random order
(sim1.1980, then sim1.2001, then sim1.1977) and so on. I would like
years to go from left to right, too. Is there an easy way to
accomplish this?
sincerely,
/iaw
----
Ivo Welch (i...
2004 Oct 19
1
[LLVMdev] Re:question about Insert callInst to call a function in library
...OnFunction(Function &F){
get_randKey(F.getParent());
DecodeString(F.getParent());
return true;
}
void DecodeStr::get_randKey(Module *M){
for(Module::giterator gI=M->gbegin(),gE=M->gend();gI!=gE;++gI){
std::string GVname = gI->getName();
if(strcmp(GVname.c_str(),"Gvkey")==0){
randKey =(gI->getInitializer());
}
}
}
void DecodeStr::DecodeString(Module *M){
std::cerr<<"filename "<<M->getModuleIdentifier()<<endl;
for(Module::giterator gI = M->gbegin(),gE=M->gend();gI!=gE;++gI){
unsigned i=0;
if(Con...