An Introduction To R For Traders
An Introduction To R For Traders
R environment
R is an open source environment for statistical computing An Integrated environment for data manipulation, calculation and graphical output R is also a dynamic and object oriented programming language !tandard install consists of around "# core packages that cover most common statistical and other tasks $RA% contains over &### contributed packages and it is growing
R , R!tudio installation
'oth R and R!tudio are available in (indows, )ac, uni* and +inu* R installation instruction , http,--cran.r project.org-doc-manuals-R admin.html Rstudio is a free open source ID/ for R, we will be using Rstudio for this tutorial R!tudio can be downloaded from http,--rstudio.org-download-
R ;raphics
graphics, lattice and grid packages graphics 9ackage charts, barplot,dot chart,histogram,density plots,strp charts, 3uantile plots, scatter plots, image plots, contour plots, interaction plots, sunflower plots +attice splits a chart into different panels or groups , making multiple plots on same page easy
!tatistical computing
Data Analysis , !ummary, $orrelation, principal $omponent Analysis, :actor Analysis Time !eries 9robablity Distributions !tatistical tests Regression )odels $lassification )odels $lustering
3uantmod package
2A rapid prototyping environment, where 3uant traders can 3uickly and cleanly e*plore and build trading models. 2 <uantmod e*ample on data handling <uantmod e*ample on charting <uantmod e*ample on modelling :or more , www.3uantmod.com-e*amples-