Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Programming Statistical Applications in R
Rating: 3.7 out of 5(57 ratings)
1,716 students

Programming Statistical Applications in R

An introductory course that teaches the foundations of scientific and statistical programming using R software.
Last updated 9/2020
English

What you'll learn

  • Understand how to create and manipulate R data structures used in scientific programming applications.
  • Understand and use important statistical R programming concepts such as looping and control structures, interactive data input and formatting output, writing functions as programs, writing output to a file and plotting output.
  • Understand and be able to use the R apply family of functions efficiently.
  • Know how to debug programs and how to make programs run more efficiently.
  • Understand and be able to implement various resampling methods effectively, including bootstrapping, jackknifing and N-fold cross validation.

Course content

6 sections89 lectures11h 10m total length
  • Course Introduction1:58
  • Introduction to Course Materials3:21
  • Install R and RStudio0:45

    RStudio is an Integrated Development Environment (IDE) software tool developed especially to run R software.

  • General Discussion of R7:34

    R is a programming language and software environment for statistical computing and graphics. The R language is widely used among statisticians and data miners for developing statistical software and data analysis.

  • A Look at the R Console and RStudio4:43
  • Executing Script and Installing Packages in RStudio (part 1)7:25
  • Executing Script and Installing Packages in RStudio (part 2)7:08
  • R Script Demonstrations using RStudio6:40
  • Scripting Basic Data Structures (part 1)7:46

    To make the best of the R language, you'll need a strong understanding of the basic data types and data structures and how to operate on those.

    It is very Important to understand because these are the objects you will manipulate on a day-to-day basis in R.

  • Scripting Basic Data Structures (part 2)8:28
  • R Functions (part 1)7:11

    Functions have named arguments which potentially have default values. The formal arguments are the arguments included in the function definition. The formals function returns a list of all the formal arguments of a function. Not every function call in R makes use of all the formal arguments. Function arguments can be missing or might have default values.

  • R Functions (part 2)6:59
  • R Functions (part 3)7:11
  • Manipulating Matrices (part 1)6:15

    Creating matrices

    The function matrix creates matrices.
     matrix(data, nrow, ncol, byrow) 
    The data argument is usually a list of the elements that will fill the matrix. The nrow and ncol arguments specify the dimension of the matrix. Often only one dimension argument is needed if, for example, there are 20 elements in the data list and ncol is specified to be 4 then R will automatically calculate that there should be 5 rows and 4 columns since 4*5=20. The byrow argument specifies how the matrix is to be filled. The default value for byrow is FALSE which means that by default the matrix will be filled column by column.
  • Manipulating Matrices (part 2)6:22
  • Manipulating Matrices (part 3)5:39

Requirements

  • Students will need to install the popular no-cost R Console and RStudio software (instructions provided).

Description

Programming Statistical Applications in R is an introductory course teaching the basics of programming mathematical and statistical applications using the R language. The course makes extensive use of the Introduction to Scientific Programming and Simulation using R (spuRs) package from the Comprehensive R Archive Network (CRAN). The course is a scientific-programming foundations course and is a useful complement and precursor to the more simulation-application oriented R Programming for Simulation and Monte-Carlo Methods Udemy course. The two courses were originally developed as a two-course sequence (although they do share some exercises in common). Together, both courses provide a powerful set of unique and useful instruction about how to create your own mathematical and statistical functions and applications using R software.

Programming Statistical Applications in R is a "hands-on" course that comprehensively teaches fundamental R programming skills, concepts and techniques useful for developing statistical applications with R software. The course also uses dozens of "real-world" scientific function examples. It is not necessary for a student to be familiar with R, nor is it necessary to be knowledgeable about programming in general, to successfully complete this course. This course is 'self-contained' and includes all materials, slides, exercises (and solutions); in fact, everything that is seen in the course video lessons is included in zipped, downloadable materials files. The course is a great instructional resource for anyone interested in refining their skills and knowledge about statistical programming using the R language. It would be useful for practicing quantitative analysis professionals, and for undergraduate and graduate students seeking new job-related skills and/or skills applicable to the analysis of research data.

The course begins with basic instruction about installing and using the R console and the RStudio application and provides necessary instruction for creating and executing R scripts and R functions. Basic R data structures are explained, followed by instruction on data input and output and on basic R programming techniques and control structures. Detailed examples of creating new statistical R functions, and of using existing statistical R functions, are presented. Boostrap and Jackknife resampling methods are explained in detail, as are methods and techniques for estimating inference and for constructing confidence intervals, as well as of performing N-fold cross validation assessments of competing statistical models. Finally, detailed instructions and examples for debugging and for making R programs run more efficiently are demonstrated.

Who this course is for:

  • You do NOT need to be experienced with R, nor do you need to have experience with computer programming to successfully complete this course.
  • The course would be useful to anyone interested in learning more about statistical programming using the R language.
  • Course is good for undergraduate students seeking to acquire programming skills and knowledge of R software.
  • Course is useful for graduate students seeking to acquire and refine their skills relating to data analysis and manipulation.