Setting Variables with Levels of Measurement: Discover Statistics with JASP for Beginners (3 of 6)

Research By Design
17 Jul 202011:48
EducationalLearning
32 Likes 10 Comments

TLDRThis tutorial introduces JASP, a statistical software, focusing on data handling and variable settings. It explains the two file formats: JASP files with preset variables and raw data files requiring manual setup. The script guides through identifying and modifying variable types, such as nominal, nominal text, ordinal, and continuous, using icons and value labels. It demonstrates how to reorder value labels, change variable types, and the importance of accurate variable settings for data analysis. The tutorial emphasizes the benefits of setting levels for variable selection, data examination, and optimal data display, concluding with a note on the flexibility of JASP's variable types.

Takeaways
  • πŸ“Š JASP is statistical software that requires data to begin analysis and involves setting levels of measurement and value labels for variables.
  • πŸ“‚ JASP datasets come in two formats: JASP files with pre-set variables and raw data files like CSVs which require variable setting.
  • πŸ” Upon opening a raw data file in JASP, each variable is represented with an icon that indicates its level of measurement, which can be modified.
  • 🏷 There are three types of categorical variables in JASP: nominal, nominal text, and ordinal, each with a distinct icon.
  • πŸ‘₯ Nominal variables use numbers to represent groups, nominal text variables are entered as text (e.g., 'M' for male), and ordinal variables have an inherent order.
  • πŸ“Š JASP treats all categorical variables as factors, which are used as independent variables in statistical tests like t-tests or ANOVA.
  • πŸ“ The fourth level of measurement in JASP is continuous numeric data, signified by a yellow ruler icon, which measures quantities and can include decimals.
  • πŸ”„ Users can change the level of measurement for any variable and set value labels for categorical variables, which will appear in the results.
  • πŸ›  To change a value label, click on the column name of the variable, then double-click on the label to edit and confirm the change.
  • ↕️ Value labels can be reordered by using the up and down arrows or by using the reverse arrows to change the sequence of labels.
  • πŸ”„ JASP suggests levels of measurement when importing data, but users can change these suggestions if they do not match the data's true state.
  • 🚫 Some variable types cannot be changed to others due to data constraints, and it's recommended to leave variables as they are if JASP does not allow changes.
  • πŸ”§ Setting levels of measurement helps with variable selection in tests, encourages examination of the dataset for potential issues, and assists JASP in choosing the best way to display data.
Q & A
  • What are the two file formats for datasets included with JASP?

    -The two file formats for datasets included with JASP are JASP files and raw data files.

  • How does JASP file format differ from raw data files?

    -JASP file format already has the variables set, whereas raw data files, such as CSVs, require the user to set the variables.

  • What does the icon with three balls represent in JASP?

    -The icon with three balls represents a nominal variable, which is a categorical variable where numbers stand for groups.

  • What is the difference between nominal and nominal text variables in JASP?

    -The difference between nominal and nominal text variables is that nominal text variables have been entered as text and are recognizable by having three balls with a small letter 'a' tattooed on the blue ball.

  • How does JASP represent ordinal variables?

    -Ordinal variables in JASP are represented by an icon with three bars, indicating an underlying order to the data.

  • What does the yellow ruler icon signify in JASP?

    -The yellow ruler icon signifies continuous numeric data or scale data in JASP.

  • How can value labels be set and changed in JASP?

    -Value labels can be set and changed by clicking on the column name of the factor variable, then double-clicking on the label and typing the new label before confirming with the enter or return key.

  • How does JASP handle the reordering of value labels for ordinal variables?

    -JASP allows reordering of value labels for ordinal variables by using the upward and downward triangles to move the selected label up or down, or by using the reverse arrows to reverse the sequence.

  • What happens when a scale variable is changed to a nominal variable in JASP?

    -When a scale variable is changed to a nominal variable in JASP, it will have labels, which can be used for creating frequency tables.

  • Why might JASP not allow changing the level of measurement for some variables?

    -JASP might not allow changing the level of measurement for some variables if there is an error in the data, or if the variable type is inherently fixed, such as nominal text variables.

  • What are the benefits of setting levels for variables in JASP?

    -Setting levels for variables in JASP helps with variable selection in tests, forces users to examine their data set before using it, and allows JASP to choose the best way to display the data.

Outlines
00:00
πŸ“Š Understanding JASP Variables and Data Types

This paragraph introduces the process of working with data in JASP statistical software. It explains that the first step after obtaining data is to set the levels of measurement and value labels, also known as setting the variables. The paragraph outlines two file formats for datasets in JASP: JASP files and raw data files, with the latter requiring manual variable setup. It guides the user through opening a raw data file, identifying variable icons that represent different levels of measurement, and changing these levels if necessary. The types of categorical variables in JASP are described, including nominal, nominal text, and ordinal variables, as well as continuous numeric data. The paragraph also covers how to set value labels for categorical variables and update them through the JASP interface.

05:05
πŸ”„ Reordering and Changing Variable Types in JASP

The second paragraph focuses on the manipulation of variables within JASP. It demonstrates how to reorder value labels for ordinal variables and emphasizes the importance of focusing on the technique rather than the specific conditions represented by the data. The paragraph also discusses changing the type of variables, such as converting a scale variable to a nominal variable or vice versa, and the implications this has on value labels. It highlights the limitations of changing certain variable types, like nominal text variables, and advises on best practices when JASP does not allow changes to variable types. The paragraph concludes with a reminder that while setting levels is not mandatory, it is beneficial for variable selection, data examination, and optimal data display in JASP.

10:06
πŸ“š The Benefits of Setting Levels in JASP

The final paragraph of the script highlights the advantages of setting levels in JASP. It outlines three main benefits: aiding in variable selection for statistical tests, prompting a thorough examination of the dataset which can lead to early identification of potential issues, and enabling JASP to present data in the most appropriate format, such as bar graphs for nominal data and histograms for continuous data. The paragraph concludes by encouraging users to close or discard the example dataset used in the tutorial, as it will not be used for further examples, and promises a more meaningful dataset will be introduced in subsequent demonstrations.

Mindmap
Keywords
πŸ’‘JASP
JASP is an acronym for 'JASP: The New Statistics', a free, open-source statistical software package. It is designed to provide an alternative to other statistical packages like SPSS. In the context of the video, JASP is the primary tool being discussed for handling and analyzing data. The script mentions JASP files and how they differ from raw data files, emphasizing the ease of use and the learning process associated with setting variables within JASP.
πŸ’‘Levels of Measurement
Levels of measurement refer to the nature of the data and the type of statistical analysis that can be performed on it. The script explains that there are different levels of measurement, such as nominal, ordinal, and continuous, and that setting these levels is crucial for proper data analysis in JASP. For example, nominal variables are used for categorical data without inherent order, while continuous variables are used for numerical data that can take on any value within a range.
πŸ’‘Variable
In the context of statistics and data analysis, a variable is a characteristic or attribute that can vary from one observation to another. The script discusses setting variables in JASP, which involves assigning the correct level of measurement and value labels to each variable in the dataset. This is important for ensuring that the data is analyzed correctly and interpreted accurately.
πŸ’‘CSV
CSV stands for 'Comma-Separated Values', which is a file format used to store and organize tabular data. In the script, it is mentioned that raw data files can be opened in JASP in CSV format. This is significant because it shows that JASP is compatible with common data formats, making it accessible for users who work with such data.
πŸ’‘Categorical Variables
Categorical variables are used to classify data into categories or groups. The script distinguishes between three types of categorical variables in JASP: nominal, nominal text, and ordinal. These variables are essential for understanding the different ways data can be grouped and analyzed, such as using numbers to represent groups or using text labels like 'M' and 'F' for gender.
πŸ’‘Continuous Numeric Data
Continuous numeric data, also referred to as scale data in the script, represents numerical data that can have any value within a range. This type of data is significant in statistical analysis because it allows for a wide range of statistical tests and is often associated with measurements that can include decimals. The script mentions that continuous data is represented by a yellow ruler icon in JASP.
πŸ’‘Value Labels
Value labels are descriptive labels assigned to the values of categorical variables. They help to make the data more understandable and interpretable. The script explains how to set and change value labels in JASP, which is important for ensuring that the results of statistical analyses are clear and meaningful. For instance, changing the label '0' to 'Control' and '1' to 'Experimental' in the contBinom variable.
πŸ’‘Factors
In statistics, a factor is a variable that is used to group or categorize other variables. The script mentions that JASP treats all three types of categorical variables as factors, which are often used as independent variables in statistical tests like t-tests or ANOVAs. Understanding factors is crucial for designing and interpreting experiments and studies.
πŸ’‘Data Cleaning
Data cleaning is the process of preparing and modifying raw data for use in analysis. The script touches on the importance of data cleaning when JASP does not allow certain changes to variable types, indicating that there may be errors in the data that need to be addressed before analysis can proceed. This step is vital for ensuring the accuracy and reliability of statistical results.
πŸ’‘Histograms and Bar Graphs
Histograms and bar graphs are types of graphical representations of data. The script explains that setting levels in JASP allows the software to choose the most appropriate way to display data, such as using bar graphs for nominal data and histograms for continuous data. These visual tools are essential for understanding the distribution and characteristics of the data.
Highlights

JASP statistical software enables data analysis once data is available.

Setting levels of measurement and value labels is crucial for data analysis in JASP.

JASP datasets come in JASP file format and raw data files like CSV.

JASP files have pre-set variables, while raw data files require manual variable setting.

Three types of categorical variables in JASP: nominal, nominal text, and ordinal.

Nominal variables use numbers to represent groups, like 1 for experimental and 0 for control.

Nominal text variables are entered as text, such as 'M' and 'F' for gender.

Ordinal variables have an underlying order, like mild, moderate, or severe.

JASP treats all categorical variables as factors, often used as independent variables.

Continuous numeric data in JASP is signified by a yellow ruler icon.

Value labels can be set and reordered for categorical variables in JASP.

Changing a variable's level of measurement can affect the analysis and results.

JASP suggests levels of measurement for variables but allows for manual adjustments.

Changing a scale variable to nominal can create frequency tables.

Some variables cannot be changed to other types due to data constraints.

Nominal text variables can only be text and cannot be changed to scale or ordinal.

Variable types in JASP are not strictly enforced and serve as guides.

Setting levels helps with variable selection, data examination, and optimal data display.

Transcripts
Rate This

5.0 / 5 (0 votes)

Thanks for rating: