# Workshop Series

Since 2010, the CRMDA has offered Software Workshops, often, but not always, on Saturdays. These workshops are typically 3-hours long, and designed to familiarize researchers (including students and faculty) or other interested people with the basics of particular software packages (e.g., Mplus, LISREL, R, Stata, SAS) or methodological procedures (e.g., Multiple Imputation). They take place in Watson Library, Room 455 (unless otherwise noted). Workshops are *free to anyone who would like to attend*. Seminars are run by 1-3 graduate students who are high-end users of the software. Participants are welcome to come simply to learn the basics, or with particular questions in mind.

We encourage you to join our announcement list serve (Methods-L) so you can be informed of events and talks related to methodology. Specifically, Methods-L is an announcement list whereby we periodically inform the KU community about methodology related events (such as the Saturday Seminar Series) or activities that may be of broad interest to researchers at KU.

**CRMDA Saturday Seminar Schedule 1:00 - 4:00 PM in Watson 455** (unless otherwise noted)

## The Next Workshops Will Be

## Previous Workshops

## LaTeX Workshop

This seminar will demonstrate how to get started using the KU thesis/dissertation LaTeX template through the easy to use (and free!) software LyX.

Topics for this seminar include:

- Introduction to LyX
- How to cheat on your LaTeX Homework Using LyX
- Creating and referencing tables, figures, and equations
- Creating and managing a BibTeX bibliography with JabRef
- Creating and managing separate chapters of your document.

The LaTeX overview by CRMDA is available at latex-help. A university-approved KU Thesis/Dissertation LaTeX template was prepared by CRMDA staff members (see http://www.graduate.ku.edu/formatting). The latest version of that template will always be available within links on latex-help.

We urge participants to set up their personal computers with TeXLive (Linux, Windows) or MacTex (Macintosh) as well as the LyX editor in order to participate fully in the experience. This should be done before the Saturday workshop because the download & installation of the full LaTeX distribution can take several hours.

We know that some users become frustrated with the time it takes to install a LaTeX distribution. For Windows, we have experienced that frustration (with MikTeX, which we previously recommended). During the last semester, we have had good luck with TeXLive (https://www.tug.org/texlive/windows.html). After that is installed, then install LyX (www.lyx.org). Please don't wait until October 20 to try to install & configure LaTeX. It takes more time than you expect. If there is trouble with your computer, please come to CRMDA on Friday, October 19, at 4 p.m. We can help everybody understand error messages that result when installing TeXLive or LyX.

For people that don't have personal computers, CRMDA has 3 computers that can be checked out. Please let us know in advance (email crmda@ku.edu) if you need to use one of these; we will put your name on a list.

To enroll - send an email to crmda@ku.edu with the subject line of: LaTeX - Workshop, Saturday 10/20/18. The enrollment limit will be 20. If the number of enrolled participants is less than 5 on Friday, October 12, 2018, this seminar will be postponed until the Spring.

## LaTeX Workshop

This seminar will demonstrate how to get started using the KU thesis/dissertation LaTeX template through the easy to use (and free!) software LyX.

Topics for this seminar include:

- Introduction to LyX
- How to cheat on your LaTeX Homework Using LyX
- Creating and referencing tables, figures, and equations
- Creating and managing a BibTeX bibliography with JabRef
- Creating and managing separate chapters of your document.

The LaTeX overview by CRMDA is available at latex-help. A university-approved KU Thesis/Dissertation LaTeX template was prepared by CRMDA staff members (see http://www.graduate.ku.edu/formatting). The latest version of that template will always be available within links on latex-help.

We urge participants to set up their personal computers with TeXLive (Linux, Windows) or MacTex (Macintosh) as well as the LyX editor in order to participate fully in the experience. This should be done before the Saturday workshop because the download & installation of the full LaTeX distribution can take several hours.

We know that some users become frustrated with the time it takes to install a LaTeX distribution. For Windows, we have experienced that frustration (with MikTeX, which we previously recommended). During the last semester, we have had good luck with TeXLive (https://www.tug.org/texlive/windows.html). After that is installed, then install LyX (www.lyx.org). Please don't wait until April 14 to try to install & configure LaTeX. It takes more time than you expect. If there is trouble with your computer, please come to CRMDA on Friday, April 13, at 4 p.m. We can help everybody to understand error messages that result when installing TeXLive or LyX.

For people that don't have personal computers, we have 3 computers that can be checked out. Please let us know in advance if you need to use one of these; we will put your name on a list.

To enroll - send an email to crmda@ku.edu with the subject line of: LaTeX - Workshop, Saturday 4/14/18. The enrollment limit will be 20. If the number of enrolled participants is less than 5 on Friday, April 6, 2018, this seminar will be postponed until the Fall.

## Using R and Lavaan for SEM

SEM-in-R!

This seminar will extend the R methods for regression analysis to Structural Equation Models (SEM). We will introduce model syntax, with examples of how to run a path analysis, confirmatory factor analysis, and latent regression models, as well as how to extract various kinds of output. Advanced topics include comparing nested models, using equality constraints across multiple groups or repeated measures, how to handle categorical indicators, and how to run models when data are missing.

These topics will be addressed through hands-on activities with example data sets and R code templates that you can take and re-use for your future projects. Additionally, time will be available during breaks and for a short period after the seminar for individual consultations.

## The variable key and the kutils R package

# LaTeX Workshop

This seminar will demonstrate how to get started using the KU thesis/dissertation LaTeX template through the easy to use (and free!) software LyX.

Topics for this seminar include:

- Introduction to LyX
- How to cheat on your LaTeX Homework Using LyX
- Creating and referencing tables, figures, and equations
- Creating and managing a BibTeX bibliography with JabRef
- Creating and managing separate chapters of your document.

The LaTeX overview by CRMDA is available at latex-help. A university-approved KU Thesis/Dissertation LaTeX template was prepared by CRMDA staff members (see http://www.graduate.ku.edu/formatting). The latest version of that template will always be available within links on latex-help.

We urge participants to set up their personal computers with TeXLive (Linux, Windows) or MacTex (Macintosh) as well as the LyX editor in order to participate fully in the experience. This should be done before the Saturday workshop because the download & installation of the full LaTeX distribution can take several hours.

We know that some users become frustrated with the time it takes to install a LaTeX distribution. For Windows, we have experienced that frustration (with MikTeX, which we previously recommended). During the last semester, we have had good luck with TeXLive (https://www.tug.org/texlive/windows.html). After that is installed, then install LyX (www.lyx.org). Please don't wait until April 8 to try to install & configure LaTeX. It takes more time than you expect. If there is trouble with your computer, please come to CRMDA on Friday, April 7, at 4pm. We can help everybody to understand error messages that result when installing TeXLive or LyX.

For people that don't have personal computers, we have 3 computers that can be checked out. Please let us know in advance if you need to use one of these; we will put your name on a list.

To enroll - send an email to crmda@ku.edu with the subject line of: LaTeX - Workshop, Saturday 4/8/17. The enrollment limit will be 20. If the number of enrolled participants is less than 5 on Friday, April 5, 2017, this seminar will be postponed until the Fall.

## LaTeX Workshop

A university-approved KU Thesis/Dissertation LaTeX template was prepared by CRMDA staff members (see http://www.graduate.ku.edu/formatting and a full set of links on http://pj.freefaculty.org/latex). This seminar will demonstrate how to get started using the KU thesis/dissertation LaTeX template through the easy to use (and free!) software LyX.

Topics for this seminar include:

- Introduction to LyX
- How to cheat on your LaTeX Homework Using LyX
- Creating and referencing tables, figures, and equations
- Creating and managing a BibTeX bibliography with JabRef
- Creating and managing separate chapters of your document.

Setting up a computer with LyX and LaTeX can be somewhat challenging. This is the point at which many new users become frustrated and quit. For Windows. we recommend the installation of the LyX installer bundle, while Macintosh requires the installation of "MacTeX" along with LyX. We will have available some computers that are already properly configured.

To enroll - there is a refundable $10 deposit. This $10 is refunded to you when you show up for the workshop. Click here to reserve your seat. All refunds will be made on Monday, October 31. If you do not attend the workshop, your deposit is forfeit and not eligible for refund.

## An Introduction to SEM in Mplus

This workshop will provide an introduction to the popular structural equation modeling (SEM) software M*plus*. Attendees are not expected to have prior knowledge of M*plus* or any other statistical programming language; however, some basic knowledge of SEM is assumed.

Topics covered include:

- Reading data into M
*plus*. - Basic commands in M
*plus*syntax files (e.g., Title, Data, Variable, etc.). - Basic syntax statements (e.g., how to add a comment, how to free a parameter estimate, etc.).
- Worked examples in exploratory factor analysis, confirmatory factor analysis, measurement invariance testing, and other structural equation models shown and discussed in detail.
- Trouble shooting M
*plus*error messages.

To enroll - there is a refundable $10 deposit. This $10 is refunded to you when you show up for the workshop. Click here to reserve your seat. All refunds will be made on Monday, October 17. If you do not attend the workshop, your deposit is forfeit and not eligible for refund.

## Preparing articles and dissertations in LaTeX

Learn to use LaTeX for academic articles and dissertations

## Using the KU Thesis and Dissertation template with LaTeX and LyX

Graduate Studies at KU requires each student completing a thesis or dissertation to submit an electronic copy (i.e. (ETD) following a specific format (see http://www.graduate.ku.edu/formatting). Students who use Microsoft Word can find this cumbersome and challenging. Particularly when a document contains many equations, figures, tables, or appendices, the LaTeX document approach may be more likely to result in a uniform, high-quality presentation with correctly numbered tables, figures, and table of contents. LaTeX includes easy tools for cross-references and automatic re-numbering of document elements.

A university-approved KU Thesis/Dissertation LaTeX template was prepared by CRMDA staff members (see http://www.graduate.ku.edu/formatting and a full set of links on http://pj.freefaculty.org/latex). This seminar will demonstrate how to get started using the KU thesis/dissertation LaTeX template through the easy to use (and free!) software LyX.

Topics for this seminar include:

- Introduction to LyX
- Creating and referencing tables, figures, and equations
- Creating and managing a BibTeX bibliography with JabRef
- Creating and managing separate chapters of your document.

Users are encouraged to bring a computer as the final hour of the seminar will be reserved for users to practice creating their own documents with the template and receive individual consultation, LaTeX, and the approved KU dissertation template.

This seminar will focus on the KU thesis template and how to use it. We'll get some practice editing and producing example documents.

Slides and handouts are available:

1. The newest edition of the KU Thesis template: http://pj.freefaculty.org/guides/Computing-HOWTO/KU-thesis

2. Basics of LaTeX: http://pj.freefaculty.org/guides/Computing-HOWTO/LatexAndLyx/LaTeX-General-1/LaTeX-lecture-1.pdf

3. LyX for Beginners: http://pj.freefaculty.org/guides/Computing-HOWTO/LatexAndLyx/LyX-Beginner/LyX-Beginner-1.pdf

4. Making Your LyX Template: http://pj.freefaculty.org/guides/Computing-HOWTO/LatexAndLyx/LyX-article-template. Look for the template and the essay about making the template

5. Bibliographies: http://pj.freefaculty.org/guides/Computing-HOWTO/LatexAndLyx/LyX-Bibliography

If you care to attend, please notify Roxie Lytle at crmda@ku.edu. There is no charge, but we need to know if we have enough seats.

## An Introduction to SEM in Mplus

This workshop will provide an introduction to the popular structural equation modeling (SEM) software M*plus*. Attendees are not expected to have prior knowledge of M*plus* or any other statistical programming language; however, some basic knowledge of SEM is assumed.

Topics covered include:

- Reading data into M
*plus*. - Basic commands in M
*plus*syntax files (e.g., Title, Data, Variable, etc.). - Basic syntax statements (e.g., how to add a comment, how to free a parameter estimate, etc.).
- Worked examples in exploratory factor analysis, confirmatory factor analysis, measurement invariance testing, and other structural equation models shown and discussed in detail.
- Trouble shooting M
*plus*error messages.

## REDCap

Learn how to construct a REDCap database and survey in order to collect, manage, and analyze data in the most secure way possible.

## Using R for Regression Models and Structural Equation Models

This seminar will extend the knowledge from the Introduction to R seminar. Using an example data set, R syntax will be provided to show you how to: (1) run simple and multiple regressions, (2) check diagnostics for violation of assumptions or influential observations, and (3) visualize results/data for easier interpretation. Ordinary least-squares (OLS) regression will also be compared and contrasted with the Structural Equation Modeling (SEM) framework. Using the same example data, R syntax will be provided to show you how to run the basic special cases of SEM: (1) path analysis, which is a flexible extension of multiple regression; (2) confirmatory factor analysis, which models measurement error in a set of psychological scale items, resulting in a latent theoretical construct free of measurement error; and (3) structural models with regressions among latent variables. The practical advantages of regression (e.g., moderation/interactions, inspecting residuals) and of SEM (e.g., mediation, removing measurement error, handling missing data) will be discussed.

## Using the KU Thesis and Dissertation template with LaTeX and Lyx

Graduate Studies at KU requires each student completing a thesis or dissertation to submit an electronic copy (i.e. (ETD) following a specific format (see http://www.graduate.ku.edu/formatting). Students who use Microsoft Word can find this cumbersome and challenging. Particularly when a document contains many equations, figures, tables, or appendices, the LaTeX document approach may be more likely to result in a uniform, high-quality presentation with correctly numbered tables, figures, and table of contents. LaTeX includes easy tools for cross-references and automatic re-numbering of document elements.

A university-approved KU Thesis/Dissertation LaTeX template was prepared by CRMDA staff members (see http://www.graduate.ku.edu/formatting and a full set of links on http://pj.freefaculty.org/latex). This seminar will demonstrate how to get started using the KU thesis/dissertation LaTeX template through the easy to use (and free!) software Lyx.

Topics for this seminar include:

- Introduction to Lyx
- Creating and referencing tables, figures, and equations
- Creating and managing a BibTeX bibliography with JabRef
- Creating and managing separate chapters of your document.

The lab is equipped with computers, and the final hour of the seminar will be reserved for users to practice creating their own documents with the template and receive individual consultation, LaTeX, and the approved KU dissertation template.

This seminar will focus on the KU thesis template and how to use it. We'll get some practice editing and producing example documents.

If you care to attend, please notify Roxie Lytle at crmda@ku.edu. There is no charge, but we need to know if we have enough seats.

## SAS

The workshop will be in lecture format. Topics covered will include:

- Basic background
- general SAS program structure
- syntax rules
- variable creation/manipulation
- data import/conversion
- Helpful tips for the novice programmer
- Base procedure for data management & analysis

It is not necessary to bring a computer (or borrow one from the library), but if you do you will be able to get guided hands on practice by following allow with the examples. A couple days prior to the even, Jared will email out materials to those who RSVP by April 9^{th}.

Please be advised that SAS is available through the University of Kansas at a discounted price. Please see http://technology.ku.edu/software/ for current prices.

SAS is also available for student us in the Budig Instruction Lab at no cost.

Admission is free and open to the public.

Contact Roxie Lytle at crmda@ku.edu by April 9^{th}, if interested!

Space may be limited.

## REDCap

This seminar will help researchers learn how to construct a REDCap database and survey in order to collect, manage, and analyze their data in the most secure and organized way possible. While there are other database and survey tools available, REDCap is certified HIPAA compliant and provides a user-friendly interface for building both surveys and databases. The topics for this seminar include:

1. An introduction and overview of REDCap and REDCap projects/surveys

2. Building various types of REDCap forms & surveys

3. Exporting data from a survey or database

4. Managing user rights

5. Using the scheduling module

6. How to use the forms library to save time

7. Building reports

These topics will be addressed through hands-on activities with example surveys & forms. The goal of this seminar is to introduce to students, faculty, and staff an efficient and effective way to capture, manage, and analyze their data. Time will be available for a short period after the seminar for individual consultations.

Please bring a computer. You will want to create a FreeCap account here. For more information about REDCap prior to the event, please visit our website.

Please send interest to Roxie Lytle at crmda@ku.edu

## An Introduction to Programming in Mplus

Mplus is a powerful statistical modeling program that provides researchers from all disciplines with an array of tools for general data analysis. The program draws from a general modeling framework that allows for the evaluation of complex models using both observed and unobserved (i.e., latent) variables. The researcher is offered a wide variety of models, estimators, and algorithms to facilitate use, and Mplus readily accommodates differing variable types, missing data, and complex sampling designs. Furthermore, Mplus features a straight-forward programming language that most researchers find quite approachable.

This seminar provides an introduction to Mplus for beginners while offering experienced users an additional perspective on program use and functionality.

The seminar will have three parts:

- Overview of the Mplus programming language and data importation functions
- Statistical procedures (including but not limited to) multiple regression, exploratory/confirmatory factor analysis (EFA and CFA), structural equation modeling (SEM), and longitudinal modeling (growth curves)
- The seminar will end with a group Q&A session regarding the material and individual project troubleshooting.

Attendees are assumed to have some familiarity with basic statistics including regression analysis. Knowledge of latent variable analysis (structural equation modeling) will enhance understanding but is not required.

## Visualizing and Reporting Regression Results Using Stata

This seminar will provide novice to intermediate Stata users with insights on how to work more effectively, efficiently, and productively through an exploration of Stata's built-in programming language and extensive suite of user-written add-ons. The bulk of the seminar will focus on how to do useful things with estimation results, including how to automate the tedious process of creating results tables that are appropriately formatted, labeled, and ready to insert into manuscripts; how to produce other useful tables (such as tables of descriptive or summary statistics); and how to use Stata's powerful post-estimation suite of commands and graphing engine to visualize your results. A basic working knowledge of Stata and multiple regression is assumed.

## REDCap

This seminar will help researchers learn how to construct a REDCap database and survey in order to collect, manage, and analyze their data in the most secure and organized way possible. While, there are other database and survey tools available, REDCap is certified HIPAA compliant and provides a user-friendly interface for building both surveys and databases. The topics for this seminar include:

1. An introduction and overview of REDCap and REDCap survey

2. Building various types of REDCap databases and surveys

3. Importing and exporting data from a survey or database

4. Managing user rights

5. Using the scheduling module

6. How to use the forms library to save time

7. Building reports

These topics will be addressed through hands-on activities with example data sets. The goal of this seminar is to introduce to students, faculty, and staff an efficient and effective way to capture, manage, and analyze their data. Time will be available for a short period after the seminar for individual consultations.

Please send interest to Roxie Lytle at crmda@ku.edu

## Using R and Lavaan for SEM

This seminar will extend the knowledge from the Introduction to R seminar. We will introduce model syntax, with examples of how to run a path analysis, confirmatory factor analysis, and latent regression model, as well as how to extract various kinds of output. Advanced topics include comparing nested models, using equality constraints across multiple groups or repeated measures, how to handle categorical indicators, and how to run models when data are missing.

These topics will be addressed through hands-on activities with example data sets and R code templates that you can take and re-use for your future projects. Additionally, time will be available during breaks and for a short period after the seminar for individual consultations.

Please send Roxie Lytle at crmda@ku.edu

## Using R and Lavaan for SEM

This seminar will extend the knowledge from the Introduction to R seminar. We will introduce model syntax, with examples of how to run a path analysis, confirmatory factor analysis, and latent regression model, as well as how to extract various kinds of output. Advanced topics include comparing nested models, using equality constraints across multiple groups or repeated measures, how to handle categorical indicators, and how to run models when data are missing.

These topics will be addressed through hands-on activities with example data sets and R code templates that you can take and re-use for your future projects. Additionally, time will be available during breaks and for a short period after the seminar for individual consultations.

Please send RSVP to ben.duncan@ku.edu

## Intermediate Stata

While Stata has a powerful point-and-click interface and interactive command line interface, users that rely on these exclusively are missing out on some of Stata's most powerful features. This seminar will provide novice to intermediate Stata users with insights on how to work more effectively, efficiently, and productively through an exploration of Stata's built-in programming language. Users will learn useful tips and tricks on automating repetitive tasks, accessing the macros, scalars, and matrices automatically generated by Stata for building tables of descriptive statistics and results, and how to capitalize on several popular user-written Stata add-on packages that are guaranteed to make your life as a quantitative researcher easier and more productive. We will also provide users with an overview of Stata's graphing capabilities and tools for visualizing data. A basic working knowledge of Stata is required.

## REDCap

This seminar will help researchers learn how to construct a REDCap database and survey in order to collect, manage, and analyze their data in the most secure and organized way possible. While, there are other database and survey tools available, REDCap is certified HIPAA compliant and provides a user-friendly interface for building both surveys and databases. The topics for this seminar include:

1. An introduction and overview of REDCap and REDCap survey

2. Building various types of REDCap databases and surveys

3. Importing and exporting data from a survey or database

4. Managing user rights

5. Using the scheduling module

6. How to use the forms library to save time

7. Building reports

These topics will be addressed through hands-on activities with example data sets. The goal of this seminar is to introduce to students, faculty, and staff an efficient and effective way to capture, manage, and analyze their data. Time will be available for a short period after the seminar for individual consultations.

## Using the KU Thesis and Dissertation template with LaTeX and Lyx

Graduate Studies at KU requires each student completing a thesis or dissertation to submit an electronic copy (i.e. (ETD) following a specific format (see http://www.graduate.ku.edu/formatting). Students who use Microsoft Word can find this cumbersome and challenging. Particularly when a document contains many equations, figures, tables, or appendices, the LaTeX document approach may be more likely to result in a uniform, high-quality presentation with correctly numbered tables, figures, and table of contents. LaTeX includes easy tools for cross-references and automatic re-numbering of document elements.

A university-approved KU Thesis/Dissertation LaTeX template was prepared by CRMDA staff members (see http://www.graduate.ku.edu/formatting and a full set of links on http://pj.freefaculty.org/latex). This seminar will demonstrate how to get started using the KU thesis/dissertation LaTeX template through the easy to use (and free!) software Lyx. Topics for this seminar include: (1) Introduction to Lyx, (2) Creating and referencing tables, figures, and equations, (3) Creating and managing a BibTeX bibliography with JabRef, and (4) Creating and managing separate chapters of your document. Users are encouraged to bring a computer as the final hour of the seminar will be reserved for users to practice creating their own documents with the template and receive individual consultationLaTeX and the approved KU dissertation template. The Saturday Seminar on Feb 22 will focus on the KU thesis template and how to use it. We'll get some practice editing and producing example documents. If you care to attend, please notify Ben Duncan <ben.duncan@ku.edu>. There is no charge, but we need to know if we have enough seats.

## Using R

This seminar will introduce the R statistical computing environment. R is an open-source (free!), programmable statistics platform with many options for different types of data analysis. The topics for this seminar include: (1) Importing and exporting data, (2) Getting around in R (the R console, objects, basic computation), (3) Analyzing data, (4) Visualizing data, (5) Programming in R, (6) Extending your R knowledge (packages, help) and (7) A look ahead to more advanced topics (linear regression, 3-d graphics). These topics will be addressed through hands-on activities with example data sets and R code templates that you can take and re-use for your future projects. Additionally, time will be available during breaks and for a short period after the seminar for individual consultations.

## Seamless R and C++ integration with Rcpp

The R system for statistical computation and graphics (R Core Team, 2013) has become a pre-eminent platform for data-related research. Its focus on "Programming with Data" has lead to widespread use in data analysis, visualization, statistical computing and general statistical research.

Within the R environment, Rcpp (Eddelbuettel and Francois, 2011; Eddelbuettel 2013) has become the most widely-used language extension. Rcpp permits effortless and seamless bi-directional interchange of objects between the R system and C++ code---covering anything from data containers such as vectors, matrices, and lists to complete (and possibly nested) objects, functions and environments. The ability to seamlessly connect R and C++ enables analysts to obtain substantial speed gains for tasks which are often slow in R (particularly loops, or repeated function calls) with very little effort. It also permits creation of larger-scale projects connecting R to other C++ components or libraries which can take full advantage of the features, and performance, of the C++ language.

This talk will both motivate and introduce Rcpp, and then discuss a key application area. A general overview of Rcpp, suitable to anybody with basic R experience and limited or no C++ knowledge, will be provided in the first half. The second half will then focus on the RcppArmadillo (Francois, Eddelbuettel and Bates, 2013; Eddelbuettel and Sanderson, 2013) integration of the Armadillo library for linear algebra.

References:

R Core Team, "R: A Language and Environment for Statistical Computing", 2013,

Eddelbuettel, Dirk and Romain Francois, "Rcpp: Seamless R and C++

Integration", Journal of Statistical Software, 2011, 40(8),

http://www.jstatsoft.org/v40/i08/

Eddelbuettel, Dirk, "Seamless R and C++ Integration with Rcpp", Springer, 2013

Eddelbuettel, Dirk and Conrad Sanderson, "RcppArmadillo: Accelerating R with

High-Performance C++ Linear Algebra", Computational Statistics and Data

Analysis, 2013, http://dx.doi.org/10.1016/j.csda.2013.02.005

Francois, Romain and Dirk Eddelbuettel and Douglas Bates, "RcppArmadillo:

Rcpp integration for Armadillo templated linear algebra library", 2013,

## REDCap

This seminar will help researchers learn how to construct a REDCap database and survey in order to collect, manage, and analyze their data in the most secure and organized way possible. While, there are other database and survey tools available, REDCap is certified HIPAA compliant and provides a user-friendly interface for building both surveys and databases. The topics for this seminar include:

- An introduction and overview of REDCap and REDCap survey
- Building various types of REDCap databases and surveys
- Importing and exporting data from a survey or database
- Managing user rights
- Using the scheduling module
- How to use the forms library to save time
- Building reports

These topics will be addressed through hands-on activities with example data sets. The goal of this seminar is to introduce to students, faculty, and staff an efficient and effective way to capture, manage, and analyze their data. Time will be available for a short period after the seminar for individual consultations.

## Using R and Lavaan for SEM

This seminar will extend the knowledge from the Introduction to R seminar. We will introduce model syntax, with examples of how to run a path analysis, confirmatory factor analysis, and latent regression model, as well as how to extract various kinds of output. Advanced topics include comparing nested models, using equality constraints across multiple groups or repeated measures, how to handle categorical indicators, and how to run models when data are missing.

Contact us by October 24th if interested

## Introduction to Mplus

Mplus is a powerful statistical modeling program that provides researchers from all disciplines with an array of tools for general data analysis. The program draws from a general modeling framework that allows for the evaluation of complex models using both observed and unobserved (i.e. latent) variables. The researcher is offered a wide variety of models, estimators, and algorithms to facilitate use, and Mplus readily accommodates differing variable types, missing data, and complex sampling designs. Furthermore, Mplus features a straight-forward programming language that most researchers find quite approachable. The purpose of this seminar is to provide an introduction to Mplus for beginners while offering experienced users an additional perspective on program use and functionality. The seminar will proceed as follows: First, an overview of the Mplus programming language and data importation functions will be discussed. Next, a variety of statistical procedures, including but not limited to multiple regression, path analysis, exploratory/confirmatory factor analysis (EFA and CFA), structural equation modeling (SEM), multilevel modeling, longitudinal modeling (growth curves), mixture modeling (latent class analysis) will be discussed and demonstrated with examples. The seminar will end with a group Q&A session regarding the material and individual project troubleshooting. Attendees are assumed to have some familiarity with basic statistics including regression analysis. Knowledge of latent variable analysis (structural equation modeling) will enhance understanding but is not required.

## Introduction to Stata

This 3 hour workshop is designed for researchers in the social sciences (although interested researchers from other disciplines are welcome!) with no or little experience with Stata. We will begin with an introduction to the differences between the different flavors of Stata and introduce users to the Stata user interface and syntax, including how to find help and how to search for user-written scripts to extend Stata's capabilities. From here, we will cover the basics of data management in Stata, including importing, merging, and cleaning datasets; recoding variables and generating new variables; and labeling variables and values. We will also provide an overview to Stata's various commands for describing data. Time permitting, we will move on to cover some more advanced topics, including efficient mechanisms for transferring Stata output into Excel, Word, or LaTex, an overview of Stata's graphing capabilities, as well as an introduction to programming in Stata using do-files and some discussion of elementary Stata programming for automation of common or repetitive data manipulation tasks. Along the way, we will provide users with "best practices" learned from years of experience with Stata that will focus on maintaining reproducibility and efficient use of Stata's statistical capabilities. Detailed discussion of any particular statistical techniques (including interpreting Stata output) will not be covered in this course in order to ensure its usefulness to users with differing statistical knowledge and backgrounds.

## Introduction to R

This seminar will introduce the R statistical computing environment. R is an open-source (free!), programmable statistics platform with many options for different types of data analysis. The topics for this seminar include: (1) Importing and exporting data, (2) Getting around in R (the R console, objects, basic computation), (3) Analyzing data, (4) Visualizing data, (5) Programming in R, (6) Extending your R knowledge (packages, help) and (7) A look ahead to more advanced topics (linear regression, 3-d graphics). These topics will be addressed through hands-on activities with example data sets and R code templates that you can take and re-use for your future projects. Additionally, time will be available during breaks and for a short period after the seminar for individual consultations.

This is the monthly meeting of the Kansas City R User Group (KCRUG). Note the location is in Leawood, KS, at the Johnson County Library.

I'll be making a presentation about the R package "kutils", in which we offer a framework called the "variable key". This is not "too advanced" for most beginning R users. It actually goes in the other direction, trying to make R usage more understandable to corporate project managers and principal investigators. It is a "programmable codebook" in disguise as a spreadsheet. One of the reasons that commercial enterprises are concerned about R is the extreme flexibility of it. R allows on-the-fly construction of new functions and language constructs. R code built on specialized idioms quickly becomes illegible to other R programmers, even experienced ones.

Please glance at the vignette to see if you might be interested. Install the kutils package. Run

If it turns out that July 8 attendees are truly interested in "advanced R programming", I can show you how the package is put together, documented, and so forth.