2011

Course: Financial Data Modeling and Analysis in R

November 28, 2011 | David Smith

The University of Washington is holding a web-based course which will be of interest to anyone who wants to learn about financial modeling with R: Financial Data Modeling and Analysis in R (AMATH 542) is a comprehensive introduction to the R statistical programming language for computational finance offered by the University ... [Read more...]

Predicting Gender

November 28, 2011 | T.S. Hauck

If there are two (can be generalized to n) classes and both follow the same distribution (but with different parameters) it is possible to predict which class an observations comes from. Here I’ll try to predict a sample’s gender based on their height. The distribution of a person’... [Read more...]

Another aspect of speeding up loops in R

November 28, 2011 | Marc in the box

Any frequent reader of R-bloggers will have come across several posts concerning the optimization of code - in particular, the avoidance of loops.Here's another aspect of the same issue. If you have experience programming in other languages besides R, this is probably a no-brainer, but for laymen, like myself, ... [Read more...]

A nice short article on memory in R

November 28, 2011 | Yanchang Zhao

There is a nice short article on memory issue in R at http://www.matthewckeller.com/html/memory.html. If you use R to process large data, you might find it helpful. It introduces: - checking how much memory an object is taking; - the memory … Continue reading → [Read more...]

Prime Number in R Language (CloudStat)

November 28, 2011 | CloudStat

A prime number (or a prime) is a natural number greater than 1 that has no positive divisors other than 1 and itself. R Language Code The Prime Function prime = function(n){   n = as.integer(n)   if(n __ 1e8) stop(“n too large”)   primes = re...
[Read more...]

Regression via Gradient Descent in R

November 27, 2011 | Matt Bogard

In a previous post I derived the least squares estimators using basic calculus, algebra, and arithmetic, and also showed how the same results can be achieved using the canned functions in SAS and R or via the matrix programming capabilities offered by ...
[Read more...]

Basic Econometrics in R and SAS

November 27, 2011 | Matt Bogard

Regression Basicsy= b0 + b1 *X  ‘regression line we want to fit’The method of least squares minimizes the squared distance between the line ‘y’ andindividual data observations yi. That is minimize: ∑ ei2 = ∑ (yi - b0 -  b1 Xi...
[Read more...]

Gradient Descent in R

November 27, 2011 | Matt Bogard

In a previous post I discussed the concept of gradient descent.  Given some recent work in the online machine learning course offered at Stanford,  I'm going to extend that discussion with an actual example using R-code  (the actual code...
[Read more...]

Cleaning time-series and other data streams

November 27, 2011 | Ron Pearson (aka TheNoodleDoodler)

The need to analyze time-series or other forms of streaming data arises frequently in many different application areas.  Examples include economic time-series like stock prices, exchange rates, or unemployment figures, biomedical data sequences like electrocardiograms or electroencephalograms, or industrial process operating data sequences like temperatures, pressures or concentrations.  As a ... [Read more...]

GTA R Users Group – Using R for Data Mining Competitions

November 27, 2011 | Jon

Here are the presentation slides I used for my talk on “Using R for Data Mining Competitions” at Ryerson University as part of the Greater Toronto Area (GTA) R User’s Meetup Group. Presentation (Prezi) Presentation (PDF) Meetup Event page Special thanks to Anthony Goldbloom from Kaggle and various competition ... [Read more...]

Analytics using R: Most active in my Twitter list

November 27, 2011 | Lalit Das

I follow some 80 odd people/ news sources on my twitter account. For a while I wondered which of these sources are most active on twitter. I picked a simple metric '# of status messages posted to twitter' as the measure of activity. Using R I quickly wrote a program to ... [Read more...]

Deductive imputation with the deducorrect package

November 26, 2011 | mark

Missing data hinders statistical analyses. Estimating missing values (imputation) prior to analysis is one way to deal with that. In some cases however, the missings need not be estimated at all, since they can be derived with certainty from other … Continue reading → [Read more...]
1 13 14 15 16 17 143

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)