Course Outline

Day One

  1. Introduction to R and RStudio (2 hours)
    • Enhancing the user experience with R and graphical user interfaces (GUIs)
    • Overview of RStudio for government use
    • Scripting in RStudio for efficient workflow management
    • Navigation, sections, and code folding features in RStudio
    • Troubleshooting and debugging techniques in RStudio
    • Related software and documentation resources
    • Accessing help for functions and features within RStudio
    • Managing projects in RStudio for government
    • Creating analytical reports using RStudio
    • Utilizing keyboard shortcuts and advanced features in RStudio
  2. Importing and Exporting Data (1 hour)
    • Working with flat files such as txt and csv formats
    • Handling spreadsheet files including xls and xlsx formats
    • Importing data from SPSS, SAS, and other statistical software formats
    • Accessing data from SQL data sources for government applications
    • Performing SQL database connectivity and operations in R
  3. Organizing Data (2 hours)
    • Understanding data types and classes in R
    • Storing data in R using the Rdata format
    • Exploring object structures in R
    • Working with numbers and vectors for government datasets
    • Utilizing matrices and tables for data organization
    • Managing factors in data analysis
    • Using lists to store complex data structures
    • Working with data frames for comprehensive data management
    • Handling date and time variables in R
  4. Tabular Representation (3 hours)
    • Overview of packages for data tables: dplyr, tidyr, and data.table
    • Utilizing indexes and subscripts for data manipulation
    • Selecting and subsetting observations and variables
    • Filtering and grouping data for analysis
    • Performing recoding transformations in R
    • Reshaping data structures for better analysis
    • Merging datasets for comprehensive reporting
    • Character manipulation using the stringr package
    • Applying regular expressions for text processing

Day Two

  1. Related Software and Documentation (1 hour)
    • Integrating RStudio with GIT for version control in government projects
    • Using Markdown for creating dynamic documents
    • Generating reports and presentations with LaTeX
    • Developing Shiny web applications for interactive data visualization
  2. R and Statistics (2 hours)
    • Understanding probability and normal distribution in statistical analysis
    • Generating random numbers for simulations
    • Performing descriptive statistics for data summarization
    • Standardizing and normalizing data for consistent analysis
    • Calculating confidence intervals to assess uncertainty
    • Conducting hypothesis testing to make informed decisions
    • Applying ANOVA for comparing multiple groups
    • Analyzing qualitative data using appropriate methods
  3. Linear Regression (2 hours)
    • Interpreting correlation coefficients in linear regression models
    • Performing simple and multiple linear regression for predictive analytics
    • Using least squares estimation methods for model fitting
    • Validating models to ensure assumptions are met
    • Selecting variables using various approaches for improved model accuracy
    • Applying regularization techniques such as ridge and lasso regression
    • Extending linear regression with generalized least squares for nonlinearity
    • Conducting logistic regression for binary outcomes
  4. Graphical Procedures (2 hours)
    • Creating basic plots for single variables
    • Visualizing relationships between two or more variables
    • Customizing graphical parameters for enhanced clarity
    • Generating special plots for specific data insights
    • Exporting plots to png, pdf, and jpeg formats for reports
    • Enhancing graphical capabilities with the ggplot2 package
  5. Help in R (1 hour)
    • Navigating the documentation resources within R
    • Utilizing R packages and their associated documentation
    • Searching for problem solutions using R Cran Task View

Requirements

There are no specific prerequisites required to enroll in this course for government employees.
 14 Hours

Number of participants


Price per participant

Testimonials (1)

Upcoming Courses

Related Categories