Today’s focus is on learning to do some basics in jamovi. You may already know how to do these things!
Begin by being sure that you have jamovi installed. Instructions can be found here or you may just install the software from the jamovi website.
Work through the following—and wave me down if you have questions or get bogged down, although figuring it out yourself is ideal in this scenario:
Import data. Find the dataset on Brightspace or from github. Figure out how to open/load/import the data into Jamovi. You can refer to the textbook chapter, section 3.4, for this.
Using the Data menu in Jamovi, double click on one of the variable names (e.g., “species”). What kind of variable is it? Go through the remainder of the variables and determine whether they are the correct “type” of variables based on what we discussed in class? You’ll probably want to read about the dataset, which you can do here.
(Clicking the up arrow will close the variable info menu.) Play around with other settings in the Data main menu.
Under the Data main menu, click Filters. You may want to read the Jamovi help page on filters.
Imagine that we were only interested in Chinstrap penguins (not Adelie or Gentoo). Well, we can filter those out with this function. If you set your filter =
species == "Chinstrap"
(with a double equal sign, which refers to testing for equivalence), and then click elsewhere, what happens? Some rows should be exed out. Try clicking the eye symbol () which should turn into an eye with a slash through it (like ). What happens? Make all rows show up. Then play around with the “active” toggle switch (), etc. Try to make sure you understand what is happening here.Try another filter by replacing the one you have, or by turning it off. For the new filter, you want to select only rows from this
penguins
data where the bill length in millimeters (column name:bill_length_mm
) is more than 40, and where the species is Adelie (not Gentoo or Chinstrap). Can you make that happen?Select the body_mass_g column, and then use the Transform button in the Data main menu to convert
body_mass_g
intobody_mass_kg
. That means you’re dividing the$source
(i.e., the original data) by 1000, right? Can you make that happen? This is a pretty simple transform. The first row, e.g., should go from 3750 inbody_mass_g
to 3.75 inbody_mass_kg
.Now click on the Analyses tab of the main menu ribbon. It’s okay if you still have filters on, or if you turn them off. Click on Exploration with the small image of a histogram, all the way to the left. Then click “Descriptives”.
Can you figure out how to make a frequency table of
island
and histograms ofbody_mass_kg
andflipper_length_mm
? What do you learn from these?What happens when you move a categorical (nominal) variable into the “Split by” box? Play around with this. What does “violin plot” do? Feel free to discuss with your classmates.
Save your data (if you want) using the hamburger menu () and then clicking Save As. Saving as a Jamovi file type will keep any edits or filters; a CSV (comma separated values) file will be able to be opened in other programs like Excel/Google Sheets/R.
Finish before class is over? Wonderful! Play around with this data. Read the sections of the textbook more closely. See what you can do with creating figures from the data.
Reuse
Citation
@online{dainer-best2023,
author = {Dainer-Best, Justin},
title = {Intro to {Jamovi} {(Lab} 1)},
date = {2023-09-07},
url = {https://faculty.bard.edu/jdainerbest/stats/labs//posts/01-intro-to-jamovi},
langid = {en}
}