search for: gdaxi

Displaying 5 results from an estimated 5 matches for "gdaxi".

2009 Sep 07
1
Rmetrics: Problem with "align"
Hi there! I'm stuck with a problem aligning financial timeseries and haven't found a cue how to fix it... When I run that simple script, everything goes well until the "align"-command: ------ rm(list=ls()) x <- yahooSeries("^GDAXI") head(x) xAligned <- align(x = x, by = "1d", method = "before", include.weekends = FALSE) ------ Here's the command-line dialog: ------ > rm(list=ls()) > x <- yahooSeries("^GDAXI") versuche URL 'http://chart.yahoo.com/table.csv?s=^GDAXI&...
2008 Feb 08
2
Applying lm to data with combn
http://www.nabble.com/file/p15359204/test.data.csv http://www.nabble.com/file/p15359204/test.data.csv test.data.csv Hi, I have used apply to have certian combinations, but when I try to use these combinations I get the error [Error in eval(expr, envir, enclos) : object "X.GDAXI" not found]. being a novice I donot understand that after applying combination to the data I cant access it and use lm on these combinations. The data frame either is no longer a matrix, how can I access the data and make it work for lm!! Any help please! fruit = read.csv(file="te...
2011 Mar 13
1
problem with looping formula through table
...quote="AdjClose") vow <- get.hist.quote(instrument="VOW.DE", start="2010-01-01", quote="AdjClose") lin <- get.hist.quote(instrument="LIN.DE", start="2010-01-01", quote="AdjClose") dax <- get.hist.quote(instrument="^GDAXI", start="2010-01-01", quote="AdjClose") returns.table <- diff(log(na.omit(merge(dax, lin, sie, vow)))) My function to get the betas pval is: B <- function(share,bench){ beta <- summary(lm(share~bench))$coef[2] pval <- summary(lm(share~bench))$coef[8] coefs &l...
2010 Aug 06
3
How to apply apply?!
guRus I have say a dataframe, d and I wish to do the following: 1) For each row, I want to take one particular value of the row and multiply it by 2. How do I do it. Say the data frame is as below: OPEN HIGH LOW CLOSE 1931.2 1931.2 1931.2 1931.2 0 0 0 999.05 0 0 0 1052.5 0 0 0 987.8 0 0 0 925.6 0 0 0 866 0 0 0 1400.2 0 0 0 754.5 0 0 0 702.6 0 0 0 653.25 0 0 0 348 0 0 0 801 866.55 866.55
2008 Feb 11
0
Testing for differecnes between groups, need help to find the right test in R. (Kes Knave)
...sv > > http://www.nabble.com/file/p15359204/test.data.csv test.data.csv > > > > Hi, > > > > I have used apply to have certian combinations, but when I try to use > > these combinations I get the error > > [Error in eval(expr, envir, enclos) : object "X.GDAXI" not found]. being a > > novice I donot understand that after applying combination to the data I > > cant access it and use lm on these combinations. The data frame either is > > no longer a matrix, how can I access the data and make it work for lm!! > > > > Any h...