MENU

Fun & Interesting

Creating New Variables: Discover Statistics with JASP for Beginners (5 of 6)

Research By Design 25,446 lượt xem 4 years ago
Video Not Working? Fix It Now

Using data in JASP, we create entirely new variables using JASP code, formulas, and R code that can be created in JASP, or edited in R Studio for use in JASP. We create a total score and a mean in a variety of ways, showing all of your computational options in JASP. This is the fifth in a series introducing statistics students to exploring statistics with JASP.

Chapters
0:00 Introduction
0:25 Open the JASP data set “Kitchen Rolls”
1:00 SPSS comparison use “Compute Variable” command
1:51 Understanding “constructs” such as job satisfaction
3:41 Compute a new variable in JASP (Calculate a total and mean)
7:09 Calculate a new variable the returns logical values
7:56 Calculate a scale variable that gives 1 & 0
8:38 Use formulas to create a new variable
8:46 Mean imputation of missing values
9:42 Create a new normal distribution
10:30 Using R code in JASP
10:45 Edit R code in R Studio for use in JASP
11:34 Using the rowMeans R command to create a mean in JASP
11:55 Using the apply R command to create a mean in JASP
12:16 Compute BMI using a formula in JASP
13:26 Behind the scenes (Bonus scene)

R Code and Formulas cited
rowMeans(data.frame(q2_NEO, q3_NEO, q5_NEO, q8_NEO))
apply(data.frame(q2_NEO, q3_NEO, q5_NEO, q8_NEO), 1, mean)
BMI = 703 * (weight / height ^2)

Download the Friendly, Free, Flexible, Functional JASP software from the official JASP statistics website: https://jasp-stats.org

Music

Bleeker Street Blues by Chris Haugen
https://www.youtube.com/channel/UCNXDIltPLbdcAavUtL00i7g

Jazz Mango by Joey Pecoraro

Backed Vibes Clean - Rollin at 5 by Kevin MacLeod is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/by/4.0/)
Source: http://incompetech.com/music/royalty-free/index.html?isrc=USUAN1400029
Artist: http://incompetech.com/

Hot Swing by Kevin MacLeod is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/by/4.0/)
Source: http://incompetech.com/music/royalty-free/index.html?isrc=USUAN1100202
Artist: http://incompetech.com/

This video uses the dataset Kitchen Rolls and JASP version .0.13.0

Edited in Camtasia 2020
Visual and audio content from DigitalJuice.com
Additional content design by Derek Borman

Link to a Google Drive folder with any files that I use in the videos including spreadsheets, the Bear Handout, and datasets. As I add new files, they will appear here, as well.
https://drive.google.com/drive/folders/1n9aCsq5j4dQ6m_sv62ohDI69aol3rW6Q?usp=sharing
To download, hover your cursor over the file icon and a blue download icon will appear. You do not need to request access to a file.

Comment