search for: goog

Displaying 20 results from an estimated 305 matches for "goog".

Did you mean: good
2011 Jul 29
2
Different result on using apply.
...elpers, In the following example I compute ret and returns the SAME way. In ret I use compute returns for EACH column and in returns I do it for the whole data frame. Could someone please tell me why I see a lagged result,by which I mean ret and returns are different by one lag. getSymbols("GOOG",src="yahoo") ret<-apply(GOOG,2,function(x) diff(log(x)) / lag(x,1) ) returns<-diff(log(GOOG))/lag(GOOG,1) tail(ret) tail(returns) > tail(ret) GOOG.Open GOOG.High GOOG.Low GOOG.Close 2011-07-21 3.188905e-05 3.065345e-05 2.882942e-05 3.022824e-...
2012 Feb 03
3
Cannot get "==" operator to return TRUE
...antmod_0.3-17 [5] TTR_0.21-0 Defaults_1.1-1 [7] xts_0.8-3 zoo_1.7-6 loaded via a namespace (and not attached): [1] grid_2.14.1 lattice_0.20-0 tools_2.14.1 > ### More detail ### ## Here is the complete data.frame > dput(df) structure(list(SYMBOL = c("GOOG?", "GOOG?", "GOOG?", "GOOG?", "GOOG?", "GOOG?", "GOOG?", "GOOG?", "GOOG?", "GOOG?", "GOOG?", "GOOG?", "GOOG?", "GOOG?", "GOOG?", "GOOG?", "...
2011 Mar 16
3
Reorganize data frame
Hi group, I am trying to convert the organization of a data frame so I can do some correlations between stocks, I have something like this: stock.returns <- data.frame(rbind(c("MSFT","20110301",0.05),c("MSFT","20110302",0.01),c("GOOG","20110301",-0.01),c("GOOG","20110302",0.04))) colnames(stock.returns) <- c("Ticker","Date","Return") stock.returns Ticker Date Return 1 MSFT 20110301 0.05 2 MSFT 20110302 0.01 3 GOOG 20110301 -0.01 4 GOOG 201103...
2010 Jan 20
1
Quantmod error
Hi all I have installed quantmod package but when I try to obtain GOOG data appers this message: Can anyone inform why itappears? I type getSymbols("GOOG",src="google") Thanks and Best Regards for all Error en download.file(paste(google.URL, "q=", Symbols.name, "&startdate=", : no fue posible abrir la URL ' http://fi...
2011 Nov 20
2
Continuasly Compunded Returns with quantmod-data
Hey guys, i want to calculate the continuasly compounded returns for stock prices. Formula for CCR: R_t = ln(P_t/P_{t-1})*100 With R: First i have to modify the vectors, so that they have the same length and we start at the second observation. log(GOOG1[-1]/GOOG1[1:length(GOOG1)-1])*100 That does work with normal vectors. My Questions: 1) I want to use this for stock prices. so i use: library(quantmod) getSymbols("GOOG",from="2011-11-01") GOOG1<-GOOG[,1] If i use my formula i get only the value "1" for e...
2011 Aug 23
1
Testing Specific Hypothesis
...N.Equity 49 -0.012538615 FCX.UN.Equity 50 0.015815224 FDX.UN.Equity 51 0.006496416 FDX.UN.Equity 52 -0.017471623 FDX.UN.Equity 53 0.007588628 FDX.UN.Equity 54 0.020571043 FDX.UN.Equity 55 -0.005617359 FDX.UN.Equity 56 0.030350022 FDX.UN.Equity 57 -0.004484455 GOOG.UW.Equity 58 0.012791206 GOOG.UW.Equity 59 -0.011949216 GOOG.UW.Equity 60 0.019551524 GOOG.UW.Equity 61 0.018517603 GOOG.UW.Equity 62 0.001213141 GOOG.UW.Equity 63 0.005622153 GOOG.UW.Equity 64 0.003272557 INTC.UW.Equity 65 0.021901212 INTC.UW.Equity 66 0.025079799...
2017 Nov 20
7
[PATCH 0/2] libopusfile int64 overflows
...licit check, I don't know if there's a better way to identify corrupt input here. James Zern (2): op_pcm_seek: fix int64 overflow op_fetch_and_process_page: fix int64 overflow src/opusfile.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) -- 2.15.0.448.gf294e3d99a-goog
2008 Apr 03
3
[LLVMdev] Goog test-cases for a new register allocator
On Apr 2, 2008, at 4:47 PM, David Greene wrote: >> I think these requirements are not specific for my allocator only, >> but >> are important for checking any register allocator. May be someone >> (Fernando? David? Evan?) who was working on register allocators has >> found a good set of examples covering some of the topics? Or may be >> someone knows good
2008 Apr 03
0
[LLVMdev] Goog test-cases for a new register allocator
On Apr 2, 2008, at 9:58 PM, Chris Lattner wrote: > > Could these be added to llvm-test? > > -Chris I just added the two C benchmarks as MultiSource/Benchmarks/NPB-serial. --Owen -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2555 bytes Desc: not available URL:
2019 Jun 05
10
[PATCH 1/4] drm/virtio: Ensure cached capset entries are valid before copying.
..._ent->is_valid), 5 * HZ); if (!ret) @@ -544,7 +544,6 @@ static int virtio_gpu_get_caps_ioctl(struct drm_device *dev, ptr = cache_ent->caps_cache; -copy_exit: if (copy_to_user((void __user *)(unsigned long)args->addr, ptr, size)) return -EFAULT; -- 2.22.0.rc1.311.g5d7573a151-goog
2009 Nov 24
1
How to interpret the name of an object literally?
...funds=c(as.character(fund)) mo12=c(perc_diff_12mo) final_results=data.frame(funds,mo12) return(final_results) } I can't figure out how to insert the original argument from the function (in this case the name of the fund). Ultimately I want to be able to do returns("GOOG"), and have the output in this format: funds 12mo GOOG 14% I've tried using as.character(), quote(), dQuote(), sQuote(), gsub(), cat(), and a bunch of combinations of them. I'm brand new to R, so I apologize if I'm going about this in the wrong way. Thanks in advance fo...
2008 Apr 02
0
[LLVMdev] Goog test-cases for a new register allocator
On Wednesday 02 April 2008 03:06, Roman Levenstein wrote: > Hi, > > As I mentioned some time ago on the mailing list, I'm working on the > implementation of the Sarkar's Extended Linear Scan algorithm for LLVM. Cool! > For testing and debugging of this algorithm, I need some good > test-cases that check different functionalities of the register > allocator, e.g.:
2010 Feb 16
1
Total and heading of portfoilo table
Dear R helpers, I have two input files as 'quantity.csv' and 'equity_price.csv' as (for example) given below. 'quantity.csv' GOOG     YHOO 1000         100 'equity_price.csv' sr_no   GOOG_price           YHOO_price 1            15.22                 536.40 2            15.07                 532.97 3            15.19                 534.05  4            15.16                 531.86 5            15.11               ...
2020 Nov 09
4
[[PATCH v1 0/3] Fix clang build warnings
...: Fix clang warnings about format string [klibc] Kbuild: use an enum to silence a clang warning usr/dash/eval.c | 6 +++--- usr/dash/jobs.c | 2 +- usr/kinit/nfsmount/dummypmap.c | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) -- 2.29.2.222.g5d2a92d10f8-goog
2018 Feb 26
3
[PATCH 1/4] include sys/types.h in more places
...../include/klibc/endian.h:10:0, from $KLIBC/usr/klibc/../include/endian.h:8, from $KLIBC/usr/klibc/pwrite.c:7: $KLIBC/usr/klibc/../include/klibc/compiler.h:144:0: note: this is the location of the previous definition Signed-off-by: Greg Thelen <gthelen at google.com> --- usr/klibc/pread.c | 1 + usr/klibc/pwrite.c | 1 + 2 files changed, 2 insertions(+) diff --git a/usr/klibc/pread.c b/usr/klibc/pread.c index 0d8c3b13f4fc..1ac30756c32d 100644 --- a/usr/klibc/pread.c +++ b/usr/klibc/pread.c @@ -4,6 +4,7 @@ * Some architectures need to wrap the sys...
2008 Apr 02
5
[LLVMdev] Goog test-cases for a new register allocator
Hi, As I mentioned some time ago on the mailing list, I'm working on the implementation of the Sarkar's Extended Linear Scan algorithm for LLVM. For testing and debugging of this algorithm, I need some good test-cases that check different functionalities of the register allocator, e.g.: - test-cases involving a lot of spilling - test-cases using pre-colored registers, e.g. like the EAX
2005 May 13
2
looking for repositories..
Please, Where can I find a list of repositories all over internet.. I want to keep my CentOS servers up 2 date with mailscanner, clamAV, syslog-ng, and others... I know dag has a very goog one but there are some paktes I can not find in dag repository like mailscanner, syslog-ng, among others... Sorry if it's offtopic but I need it! Thanks in advance Regards, israel
2017 Jul 12
2
[PATCH] Avoid -Wsometimes-uninitialized error for valid test code
...100644 --- a/tests/test_opus_common.h +++ b/tests/test_opus_common.h @@ -64,6 +64,8 @@ static opus_uint32 iseed; #ifdef __GNUC__ __attribute__((noreturn)) +#elif _MSC_VER +__declspec(noreturn) #endif static OPUS_INLINE void _test_failed(const char *file, int line) { -- 2.13.2.932.g7449e964c-goog
2020 Mar 27
12
[PATCH 0/5] Clang compatibility patches
...+- usr/klibc/arch/ppc/MCONFIG | 2 +- usr/klibc/arch/ppc64/MCONFIG | 2 +- usr/klibc/arch/riscv64/MCONFIG | 2 +- usr/klibc/arch/sparc64/MCONFIG | 2 +- usr/klibc/arch/x86_64/MCONFIG | 14 +++++++++++--- 15 files changed, 55 insertions(+), 25 deletions(-) -- 2.26.0.rc2.310.g2932bb562d-goog
2018 Jun 15
2
[PATCH] drm/nouveau/nvif: remove const attribute from nvif_mclass
Similar to commit 0bf8bf50eddc ("module: Remove const attribute from alias for MODULE_DEVICE_TABLE") Fixes many -Wduplicate-decl-specifier warnings due to the combination of const typeof() of already const variables. Signed-off-by: Nick Desaulniers <ndesaulniers at google.com> --- drivers/gpu/drm/nouveau/include/nvif/object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/include/nvif/object.h b/drivers/gpu/drm/nouveau/include/nvif/object.h index a2d5244ff2b7..7f188f66931e 100644 --- a/drivers/gpu/drm/nouveau/includ...