1540 search results for "time series"

Using Emacs to work with R

August 2, 2011
By
Using Emacs to work with R

A simple yet efficient way to work with R consists in writing R code with your favorite text editor and sending it to the R console. This allows to build efficient R code in an incremental fashion. A good editor might even provide syntax highlighting, parenthesis matching, and a way to send a selected portion of code to R

Read more »

Dividend Quartiles with Kenneth French Data

August 1, 2011
By
Dividend Quartiles with Kenneth French Data

Based on my perception of the last 3 years, I would have expected high dividend stocks to have substantially underperformed low and zero dividend stocks.  Fortunately, just like with size and momentum in Beating Kenneth French Small – High, we c...

Read more »

Forking Myself

July 29, 2011
By
Forking Myself

I’ve spent some time forking myself. Over the past few days when I could steal away an hour here  or there I decided to make a big change to the package. But it’s a good change. First some book-keeping. The Romantest.R file has a minor bug in it. Not really a bug, I just pulled

Read more »

Creating Financial Instrument metadata in R

July 27, 2011
By

(This is a guest post by Ilya Kipnis)When trading stocks in a single currency, instrument metadata can be safely ignored because the multiplier is 1 and the currencies are all the same.  When doing analysis on fixed income products, options, futures, or other complex derivative instruments, the data defining the properties of these instruments becomes critical to tasks...

Read more »

The Luck and Skill of Scrabble

July 26, 2011
By
The Luck and Skill of Scrabble

Scrabble is a game that involves both skill and luck. There's skill in knowing the words you can play and — especially — the most advantageous ways to play them. But there's also luck in the tiles you draw randomly from the bag: get saddled with a rack containing four I's and there's usually not much you can do....

Read more »

Le Monde puzzle [#28]

July 22, 2011
By
Le Monde puzzle [#28]

The puzzle of last weekend in Le Monde was about finding the absolute rank of x9 when given the relative ranks of x1,….,x8 and the possibility to ask for relative ranks of three numbers at a time. In R terms, this means being able to use or yet being able to sort the first 8

Read more »

Migrating from SPSS/Excel to R, Part 2: Working with Packages

July 17, 2011
By
Migrating from SPSS/Excel to R, Part 2: Working with Packages

In this post, I cover an important aspect of using R that users of SPSS/Excel won’t be familiar with: working …Continue reading »

Read more »

Mixture distributions and models: a clarification

Mixture distributions and models: a clarification

In response to my last post, Chris had the following comment:           I am actually trying to better understand the distinction between mixture models and mixture distributions in my own work.  You seem to say mixture models apply to a small set of models – namely regression models.This comment suggests that my caution about the difference between mixed-effect models and mixture distributions...

Read more »

ICD codes – Analysing hospitilisations

July 14, 2011
By
ICD codes – Analysing hospitilisations

A brief first post on what I hope will be a series of posts on analysing hospitilisation data, which is recorded using ICD codes (International Statistical Classification of Diseases and Related Health Problems) Initially here is an R file. This can be read in and will create a list, 218 long, forming groupings using sub

Read more »

More Thoughts on US Death Spiral

July 13, 2011
By
More Thoughts on US Death Spiral

What troubles me most about today’s environment is the persistent belief that crisis large or small results in a US dollar rally and lower Treasury rates. However, what happens if the US dollar and US Treasury rates are the source of the crisis? Then...

Read more »