Means by group in JASP (and Jamovi)
Oct 3, 2025
How to do means by group in JASP, for those more used to SPSS and such!
View Video Transcript
0:00
Hi, we're going to do comparing means by
0:04
group in JASP. And it's a little
0:06
counterintuitive how you might do that.
0:08
So let's go in together. You go to
0:11
analyses
0:13
and you pick let's pick age as our
0:16
variable. So we want to find out average
0:17
age. So I click on it here on the left.
0:20
I can either double click and it shows
0:22
up or I could click
0:26
once. Let's uh try arthritis. And it
0:29
shows up there, too. So, you can do
0:31
multiple uh at once. Actually, say hours
0:36
of TV per week. Let's take these guys
0:39
out. Hours of TV per week goes from 0 to
0:42
24. That sounds good. And then age goes
0:45
from 18 to 89. I'm looking at minimum
0:48
and maximum here. 18 to 89 because you
0:51
don't take this survey unless you're at
0:53
least 18 years old. And 89 means 89 or
0:57
older. And I know that because I looked
0:59
it up in the book. But if I didn't, I
1:02
could also just go to the age variable
1:08
and double click and the label should
1:11
tell me if this was done properly. There
1:14
we go. So here's the label. It says 89
1:17
or older.
1:19
And there's no similar label for 18.
1:22
Again, I know from reading the
1:24
instructions that this uh survey is only
1:27
given to people 18 and up.
1:30
Now, you can say, okay, we've just found
1:32
out averages, and we can find out more.
1:35
We can also get the median, which is
1:37
always nice.
1:39
And let's see, here's the median. So,
1:42
the median is 48 years old or 2 hours of
1:45
TV, which shows that the people watching
1:48
a lot of TV are dragging the mean up a
1:51
bit. Anyway, how do we do it by groups,
1:53
you might ask? Well, let's say that we
1:56
want to pick a group
1:59
and you want to judge people by um
2:04
whether they have been diagnosed with
2:05
arthritis, you just put it here into
2:08
split
2:11
and it's already done.
2:15
It threw me off slightly because it is
2:17
so fast, but here you see the columns.
2:20
So age with arthritis without arthritis.
2:24
PV hours with arthritis without
2:26
arthritis.
2:27
So the age of people with arthritis is
2:31
older in both median and mean. So if the
2:35
average age is 53 for people with
2:37
arthritis, 42 without and TV hours is
2:41
also a little different. Now you can do
2:43
a t test for the same thing and then
2:45
it'll also tell you the significance.
2:48
But what you can't do is something that
2:50
has multiple values.
2:54
So let's put in atheists. What's your
2:56
view towards atheists? Now here's age
2:59
split up by their feelings towards
3:01
atheists.
3:12
Now you see that it's actually in a sort
3:14
of inconvenient
3:16
uh format if you've got a lot of values
3:20
that you're splitting by. And Jamovi is
3:23
actually much better at this because
3:24
Jamovi does it the conventional way
3:26
which is going uh vertically instead of
3:29
horizontally. But here you see that the
3:32
average age for people who think very
3:33
positively about atheists is 44.
3:36
Somewhat positive is 47. Neither one is
3:39
46. somewhat negative is 53 and very
3:42
negative is 58. So you see that that the
3:46
older that people get it seems the less
3:49
positively they think about atheists
3:52
TV hours it's uh here's the average
3:55
let's see is that the average
3:58
mean
3:59
all right
4:02
so the average TV watching
4:07
seems to go up with somewhat negative
4:09
and very negative and so that's our
4:12
quick look at doing means by group in
4:15
JASP.