Hi,
I want to split my data into two groups based on age but I can't figure out how to do it. I assume that I would do it using a filter but it isn't working for me so any advice you have would be appreciated.
Thanks.
Splitting the dataset using age
Re: Splitting the dataset using age
scroll down to the second part of this blog post, under 'column filters'.
https://blog.jamovi.org/2018/04/25/jamovi-filters.html
it's not pretty, but it does work.
cheers
https://blog.jamovi.org/2018/04/25/jamovi-filters.html
it's not pretty, but it does work.
cheers
Re: Splitting the dataset using age
Hi, @ Olivia42.
Here are two of the possible ways to answer your question.
Take a look at the two attached screenshots.
In the first, the use of two filters, to be activated and deactivated to select the interest group to work on. In the second, compute a new variable to define the two groups of interest. Cheers,
Maurizio
Here are two of the possible ways to answer your question.
Take a look at the two attached screenshots.
In the first, the use of two filters, to be activated and deactivated to select the interest group to work on. In the second, compute a new variable to define the two groups of interest. Cheers,
Maurizio
-
- Posts: 3
- Joined: Thu Apr 28, 2022 11:45 am
Re: Splitting the dataset using age
Hi Maurizio,
I am about to do a similar thing with age, but would like to divide in three groups (0,1 & 2). I am doing a study about barrieres in the environment vs self-efficacy and would like to test if old and the young are effected, but not middle aged.
Due to som ethical limitations I have age in the following groups and would like to split them as shown
15 - 17, 18 - 20, 21 - 24
25 - 30, 31 - 40, 41 - 50
51 - 60, 61 - 70, 71 -
How do I then write the formula?
I am about to do a similar thing with age, but would like to divide in three groups (0,1 & 2). I am doing a study about barrieres in the environment vs self-efficacy and would like to test if old and the young are effected, but not middle aged.
Due to som ethical limitations I have age in the following groups and would like to split them as shown
15 - 17, 18 - 20, 21 - 24
25 - 30, 31 - 40, 41 - 50
51 - 60, 61 - 70, 71 -
How do I then write the formula?
Re: Splitting the dataset using age
Hey @fredgresch,fredgresch wrote:I have age in the following groups and would like to split them as shown
I may not have figured out how you computed your Age variable, but if it's like I did for the attached screenshot, there is also the suggestion to compute a new variable into just three groups (0, 1, 2). Return if necessary.
Cheers,
Maurizio
-
- Posts: 3
- Joined: Thu Apr 28, 2022 11:45 am
Re: Splitting the dataset using age
Thank you,
works like a charm:)
works like a charm:)