682 search results for "finance"

How to backtest a strategy in Excel

March 14, 2011
By

(This is a guest post by Damian from Skill Analytics and ETF Prophet) Let me start by saying that I’m not an expert in backtesting in Excel – there are a load of very smart bloggers out there that have, as I would say, “mad skillz” at working with Excel including (but not limited to) Michael Stokes over...

Read more »

How to backtest a strategy in Excel

March 14, 2011
By

(This is a guest post by Damian from Skill Analytics and ETF Prophet)Let me start by saying that I’m not an expert in backtesting in Excel – there are a load of very smart bloggers out there that have, as I would say, “mad skillz” at working with Excel including (but not limited to) Michael Stokes over...

Read more »

How to Vectorize Nested Loop in R?

Could any R expert here help me to vectorize my for loop? Thanks in advance for your favor. The reason I am in trouble is the variable inside my "for" function are updated after each loop, which makes me feel difficult to use lapply, sapply or whatever. Simplifed codes are listed below:for (i in 1:N) { #N could be...

Read more »

money is coin $ flip

March 7, 2011
By
money is coin $ flip

Well, sorta. More precisely, money is the sum of coin$flip divided by the number of coin$flip. But we'll get to that later. For now, let me introduce you to a new algorithm written in R. This one is another "quote" -- simple few lines of code -- whose ...

Read more »

John Chambers, the inventor of S, added reference classes to R…

February 26, 2011
By
John Chambers, the inventor of S, added reference classes to R…

John Chambers, the inventor of S, added reference classes to R 2.12, and oh boy are they fun to look at! What you see in the picture above is a “Hello World” web application for R. It’s written using the Rack R package (not unlike Ruby’s Rac...

Read more »

Interest Rates’ Influence on 1987

February 21, 2011
By
Interest Rates’ Influence on 1987

One aspect of 1987 that does not deserve enough attention is interest rates.  Higher interest rates constrain economic activity and compete with other investments.  As seen in the chart below, the US 10year Treasury rate climbed 40% from 7% t...

Read more »

Silver and Russell 2000

February 16, 2011
By
Silver and Russell 2000

When I find a chart that looks like this, I always like to explore a little further. via StockCharts.com I pull it into R and try to find anything worthwhile.  I do not find anything, except that I do not want to be trading both in the same direc...

Read more »

R, the DJIA, and M1 Money Multiplier (MULT)

February 13, 2011
By
R, the DJIA, and M1 Money Multiplier (MULT)

Description:My explorations with the FRED (St Louis Financial Reserve Database) in R have yielded some interesting plots, charts and graphs. And some questions… Charts with Explanations: Yes, I know, the axes are a mess, and the site’s style sheet ...

Read more »

R, the DJIA, and M1 Money Multiplier (MULT)

February 13, 2011
By
R, the DJIA, and M1 Money Multiplier (MULT)

Description:My explorations with the FRED (St Louis Financial Reserve Database) in R have yielded some interesting plots, charts and graphs. And some questions…Charts with Explanations: Yes, I know, the axes are a mess, and the site’s style sheet doesn’t play well with the chart image. I’ll look into that “pretty-ing up” stuff...

Read more »

When will my papers appear as references (if they do…) ?

February 10, 2011
By
When will my papers appear as references (if they do…) ?

Following my post on citations in academic journals, I wanted to go one step further in the understanding of the dynamic of citations. So here, the dataset looks like that: for each article, we have the name of the journal, the year of publicatio...

Read more »