1646 search results for "time series"

What is Correctness for Statistical Software?

December 14, 2012
By
What is Correctness for Statistical Software?

Introduction A few months ago, Drew Conway and I gave a webcast that tried to teach people about the basic principles behind linear and logistic regression. To illustrate logistic regression, we worked through a series of progressively more complex spam detection problems. The simplest data set we used was the following: This data set has

Read more »

Trading with SVMs: Performance

December 13, 2012
By
Trading with SVMs: Performance

To get a feeling of SVM performance in trading, I run different setups on the S&P 500 historical data from … the 50s. The main motif behind using this decade was to decide what parameters to vary and what to keep steady prior to running the most important tests. Treat it as an “in-sample” test

Read more »

d3 Showreel Combined with R and Shiny

December 10, 2012
By
d3 Showreel Combined with R and Shiny

Since the d3 portion of the example provide in my last post d3 and r interacting through shiny was so weak, I thought it would be interesting to combine the much more compelling Showreel Example with the same stock data.  However, this time the da...

Read more »

Evaluating term popularity with twitteR

December 8, 2012
By
Evaluating term popularity with twitteR

I really wanted to put something together for this series on the twitteR package. Unfortunately, at the moment the number of interesting things than can be done with twitteR, as opposed to through API calls and RCurl, is limited. Regardless, I have Ye...

Read more »

Population dynamics using INLA

December 5, 2012
By
Population dynamics using INLA

Summary: Two methods of inferring (effective) population dynamics from genetic variation are compared: (i) Markov chain Monte Carlo (MCMC; using BEAST); and (ii) integrated nested Laplace approximation (INLA; using R interface of that name). INLA runs >1000 times faster than … Continue reading →

Read more »

Using TeXmacs as an interface for R (part 1)

December 3, 2012
By
Using TeXmacs as an interface for R (part 1)

A nice, but not very well known, interface to R is TeXmacs. (I have to say that I am not totally objective, since I wrote the interface between R and TeXmacs…) Here’s a sample window: In the following few posts I’d like to explain how to use this interface. Installation First, install TeXmacs. Best is

Read more »

analyze the basic stand alone medicare claims public use files (bsapufs) with r and monetdb

December 3, 2012
By

the centers for medicare and medicaid services (cms) took the plunge.  the famous medicare 5% sample has been released to the public, free of charge.  jfyi - medicare is the u.s. government program that provides health insurance to 50 million...

Read more »

Variability in long-short decile strategy tests

December 3, 2012
By
Variability in long-short decile strategy tests

How to capture return variability when testing strategies with long-short deciles. Traditional practice Question: Does variable X have predictive power for our universe of assets? A common scheme of quants to answer the question is to form a series of portfolios over time.  The portfolio at each time point: is long the equal weighting of … Continue reading...

Read more »

Financial Turbulence Example

December 1, 2012
By
Financial Turbulence Example

Today, I want to highlight the Financial Turbulence Index idea introduced by Mark Kritzman and Yuanzhen Li in the Skulls, Financial Turbulence, and Risk Management paper. Timely Portfolio did a great series of posts about Financial Turbulence: Part 1, Part 2, Part 3. As example, I will compute Financial Turbulence for the equal weight index

Read more »

Data types part 4: Logical class

November 30, 2012
By
Data types part 4: Logical class

First, an update:  A commentator has asked me to post my code so that it is easier to practice the examples I show here.  It will take me a little bit of time to get all of my code for past posts well-documented and readable, but I have uploa...

Read more »