Difference between revisions of "R"
Line 21: | Line 21: | ||
#Installing R | #Installing R | ||
#*Downloading and installing R | #*Downloading and installing R | ||
− | #Basic operations in the R console | + | #Basic operations in the R console |
#*To open the R console | #*To open the R console | ||
#*To run commands in R | #*To run commands in R | ||
Line 27: | Line 27: | ||
#*To save work done in R | #*To save work done in R | ||
#*To quit the R console | #*To quit the R console | ||
− | #Documentation and Packages in R | + | #Documentation and Packages in R |
#*To access installed documentation and packages in R | #*To access installed documentation and packages in R | ||
#*To install and load packages in R | #*To install and load packages in R | ||
#:''' Data structures''' | #:''' Data structures''' | ||
− | #Variables and Vectors in R | + | #Variables and Vectors in R |
#*Creation and deletion of variables and vectors | #*Creation and deletion of variables and vectors | ||
#*Listing the vectors | #*Listing the vectors | ||
#*Modifying vectors | #*Modifying vectors | ||
#*Creating row and column vectors | #*Creating row and column vectors | ||
− | #Vector Algebra and Matrices in R | + | #Vector Algebra and Matrices in R |
#*Vector algebra | #*Vector algebra | ||
#*Creating matrices | #*Creating matrices | ||
#*Matrix operations | #*Matrix operations | ||
− | #Sequences, lists, strings and dates in R | + | #Sequences, lists, strings and dates in R |
#*Creation of sequences and lists | #*Creation of sequences and lists | ||
#*Modifying lists, selecting elements from a list | #*Modifying lists, selecting elements from a list | ||
Line 46: | Line 46: | ||
#*Date-string conversion | #*Date-string conversion | ||
#*Other functions related to dates | #*Other functions related to dates | ||
− | #Handling data in R | + | #Handling data in R |
#*Creating and modifying data frames | #*Creating and modifying data frames | ||
#*Reading data stored in files of different formats | #*Reading data stored in files of different formats | ||
#:''' Basic computations in R''' | #:''' Basic computations in R''' | ||
− | #Elementary operations in R | + | #Elementary operations in R |
#*Arithmetic | #*Arithmetic | ||
#*Higher powers and roots of a number | #*Higher powers and roots of a number | ||
#*Logarithms and exponentials | #*Logarithms and exponentials | ||
#*Operations on complex numbers | #*Operations on complex numbers | ||
− | #Measures of central tendency and dispersion | + | #Measures of central tendency and dispersion |
#*Mean, median and mode | #*Mean, median and mode | ||
#* Variance, standard deviation and quantiles | #* Variance, standard deviation and quantiles | ||
#:''' Probability distributions''' | #:''' Probability distributions''' | ||
− | #Discrete probability distributions:Binomial,Poisson and Geometric | + | #Discrete probability distributions:Binomial,Poisson and Geometric |
#*Binomial,Poisson and Geometric densities, distribution and quantile functions, random variables | #*Binomial,Poisson and Geometric densities, distribution and quantile functions, random variables | ||
− | #Discrete probability distributions:Negative Binomial and Hypergeometric | + | #Discrete probability distributions:Negative Binomial and Hypergeometric |
#*Negative Binomial and Hypergeometric densities, distribution and quantile functions, random variables | #*Negative Binomial and Hypergeometric densities, distribution and quantile functions, random variables | ||
− | #Continuous probability distributions | + | #Continuous probability distributions |
#*Normal, Chi squared, F and t densities, distribution and quantile functions, random variables | #*Normal, Chi squared, F and t densities, distribution and quantile functions, random variables | ||
#*Log-normal, logistic, exponential and gamma densities, distribution and quantile functions, random variables | #*Log-normal, logistic, exponential and gamma densities, distribution and quantile functions, random variables | ||
#*Beta, cauchy and weibull densities, distribution and quantile functions, random variables | #*Beta, cauchy and weibull densities, distribution and quantile functions, random variables | ||
#:''' Graphical representation of information using R ''' | #:''' Graphical representation of information using R ''' | ||
− | #Histograms, barcharts and box plots | + | #Histograms, barcharts and box plots |
#*Creating histograms, addding density estimate to a histogram | #*Creating histograms, addding density estimate to a histogram | ||
#*Creating and colouring bar charts, adding confidence intervals | #*Creating and colouring bar charts, adding confidence intervals | ||
#*Creating box plots | #*Creating box plots | ||
− | #Scatter diagrams, regression lines and Q-Q plots | + | #Scatter diagrams, regression lines and Q-Q plots |
#*Plotting a scatter digram, adding title, label, grid and a legend | #*Plotting a scatter digram, adding title, label, grid and a legend | ||
#*Graphing a function, a regression line (superimposing on scatter plot) | #*Graphing a function, a regression line (superimposing on scatter plot) | ||
#*Creating Q-Q plots | #*Creating Q-Q plots | ||
#:''' Econometrics in R''' | #:''' Econometrics in R''' | ||
− | #Simple and multiple linear regression | + | #Simple and multiple linear regression |
#* OLS, log-linear, log-log and semi-log regressions | #* OLS, log-linear, log-log and semi-log regressions | ||
#*Dummy variable regression, regression through the origin and with standardised coefficients | #*Dummy variable regression, regression through the origin and with standardised coefficients | ||
− | #Regression Analysis | + | #Regression Analysis |
#*Confidence intervals | #*Confidence intervals | ||
#*P-values and power functions | #*P-values and power functions | ||
− | #Tests for heteroskcedasticity | + | #Tests for heteroskcedasticity |
#*Park test | #*Park test | ||
#*Goldfeld-Quandt test | #*Goldfeld-Quandt test | ||
#*Breusch-Pagan-Godfrey test | #*Breusch-Pagan-Godfrey test | ||
#*White’s General Heteroskcedasticity test | #*White’s General Heteroskcedasticity test | ||
− | #Tests for autocorrelation and specification errors | + | #Tests for autocorrelation and specification errors |
#* Durbin Watson test | #* Durbin Watson test | ||
#*Ramsey reset specification test | #*Ramsey reset specification test | ||
=== ADVANCED LEVEL TUTORIALS === | === ADVANCED LEVEL TUTORIALS === | ||
− | # Models of microeconometrics | + | # Models of microeconometrics |
#* | #* | ||
+ | # Bayesian Econometrics | ||
#* | #* | ||
− | # | + | # Time series Econometrics |
#* | #* | ||
#* | #* | ||
− | + | # Programming your own analysis | |
− | + | ||
− | + | ||
− | # Programming your own analysis | + | |
#* | #* | ||
#* | #* |
Revision as of 12:04, 28 January 2013
R ( http://www.r-project.org/) is an open source software- a well organized and sophisticated package- that facilitates data analysis, modeling, inferential testing and forecasting. It is a user friendly software which allows to create new function commands to solve statistical problems. It runs on a variety of UNIX platforms(and similar systems such as LINUX), Windows and Mac OS.
R is a free, useful software package to anybody who wishes to undertake extensive statistical computations (a user community that includes students, researchers and professionals belonging to various disciplines).
The Centre for Computational Social Sciences, UPE programme (under the UGC scheme), University of Mumbai, is leading the initiative of popularizing R in India which is part of the Free and Open source Software for Science and Engineering Education (FOSSEE) project, supported by the National Mission on Education through ICT of MHRD (http://spoken-tutorial.org/NMEICT-Intro).
The Centre for Computational Social Sciences is using Spoken Tutorials (http://spoken-tutorial.org/) to create learning resources for FOSS. This is the main page for the organization of the scripts required for R spoken tutorials. We invite the R user community to participate in this activity.
BASIC LEVEL TUTORIALS
Introductory sessions in R
- Installing R
- Downloading and installing R
- Basic operations in the R console
- To open the R console
- To run commands in R
- To correct errors made in the R commands
- To save work done in R
- To quit the R console
- Documentation and Packages in R
- To access installed documentation and packages in R
- To install and load packages in R
- Data structures
- Variables and Vectors in R
- Creation and deletion of variables and vectors
- Listing the vectors
- Modifying vectors
- Creating row and column vectors
- Vector Algebra and Matrices in R
- Vector algebra
- Creating matrices
- Matrix operations
- Sequences, lists, strings and dates in R
- Creation of sequences and lists
- Modifying lists, selecting elements from a list
- Modifying strings, substrings
- Date-string conversion
- Other functions related to dates
- Handling data in R
- Creating and modifying data frames
- Reading data stored in files of different formats
- Basic computations in R
- Elementary operations in R
- Arithmetic
- Higher powers and roots of a number
- Logarithms and exponentials
- Operations on complex numbers
- Measures of central tendency and dispersion
- Mean, median and mode
- Variance, standard deviation and quantiles
- Probability distributions
- Discrete probability distributions:Binomial,Poisson and Geometric
- Binomial,Poisson and Geometric densities, distribution and quantile functions, random variables
- Discrete probability distributions:Negative Binomial and Hypergeometric
- Negative Binomial and Hypergeometric densities, distribution and quantile functions, random variables
- Continuous probability distributions
- Normal, Chi squared, F and t densities, distribution and quantile functions, random variables
- Log-normal, logistic, exponential and gamma densities, distribution and quantile functions, random variables
- Beta, cauchy and weibull densities, distribution and quantile functions, random variables
- Graphical representation of information using R
- Histograms, barcharts and box plots
- Creating histograms, addding density estimate to a histogram
- Creating and colouring bar charts, adding confidence intervals
- Creating box plots
- Scatter diagrams, regression lines and Q-Q plots
- Plotting a scatter digram, adding title, label, grid and a legend
- Graphing a function, a regression line (superimposing on scatter plot)
- Creating Q-Q plots
- Econometrics in R
- Simple and multiple linear regression
- OLS, log-linear, log-log and semi-log regressions
- Dummy variable regression, regression through the origin and with standardised coefficients
- Regression Analysis
- Confidence intervals
- P-values and power functions
- Tests for heteroskcedasticity
- Park test
- Goldfeld-Quandt test
- Breusch-Pagan-Godfrey test
- White’s General Heteroskcedasticity test
- Tests for autocorrelation and specification errors
- Durbin Watson test
- Ramsey reset specification test
ADVANCED LEVEL TUTORIALS
- Models of microeconometrics
- Bayesian Econometrics
- Time series Econometrics
- Programming your own analysis