- Posts: 4
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Dual Matrix with Exclusive Answer
- miguel-reyes
- Topic Author
- Offline
- New Member
Thank you so much for your input. I have learnt a lot and was also able to remember some things I had forgotten.
I am now in the finishing touches of the survey and was thinking on doing some kind of validation so as to make sure that the user selects one of the songs with "Yes" in the "Select for Playlist" column.
How can I force this? I think most of my problems come from the lack of options available for the array dual scale question type.
I am uploading the whole survey so that this might shed some light for other people using the array dual scale question type.
Greetings and let's all stay healthy,
Miguel
- ymca
- Offline
- Elite Member
- Posts: 168
- Thank you received: 2
Good question.holch wrote: The countries don't need it. Because you won't calculate with those codes, will you?
I have no idea.
I imagine I'll want to make comparisons between year surveys (one survey from 2020 and another from 2021) and see the changes.
Also in which country there are more women that answered this and that...
And the different between women answers and men.
So for that I need numbers instead of letters?
LS Version 4.2+
- Joffm
- Away
- LimeSurvey Community Team
- Posts: 12941
- Thank you received: 3979
sorry, but after ymca "destroyed" the original topic of this thread with his question about coding, I answer to his question first:
Didn't you read the link provided by holch?
There is a chart that shows which scale you need to calculate what.
Frequency, Mode,...: Nominal scale -> coded as you like
Median : at least ordinal scale -> numeric
Mean, Std.deviation,... : decimal scale -> numeric.
E.g. this:
Here you surely want to calculate some t-Tests (for independent and dependent groups) , Wilcoxon-Tests, Mann-Whitney-Tests, or ANOVA, ...And the different between women answers and men.
So, you really have to learn the basics about this, and these things are not related to LimeSurvey.
And to be honest: Sometimes I think you are just trolling.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
- Joffm
- Away
- LimeSurvey Community Team
- Posts: 12941
- Thank you received: 3979
well, there is no question validation in array(dual scale). That's a pity.
Not tested yet, but as you show "group by group":
Could be possible to add a question at the end of the group where you do the whole validation.
Just a simple question, but impedes the respondent to proceed to the next group.
Validation could be something like
'(countifop("==","A6",that.A101)==1) AND countifop("==","A6",that.A102)==1) ...' (for the entire group)
Furthermore you have to include the check if the question was asked;
I think because of the presets you cannot check "is_empty".
It's an idea.
Joffm
I saw there is a javascript in these question.
Maybe now the count will be wrong, because you click two "Yes", one is hidden, but the count stays "2".
Did you check the answer table, which codes are saved?
Volunteers are not paid.
Not because they are worthless, but because they are priceless
- ymca
- Offline
- Elite Member
- Posts: 168
- Thank you received: 2
Sorry. I should have opened a new post even if this is the same subject?sorry, but after ymca "destroyed" the original topic of this thread with his question about coding
If I've been mistaken in the forum/post or something like that then please tell.
I did. I guess I didn't understand if to leave just numbers in the female/male and such, so I've asked it in a different way to explain myself better.Didn't you read the link provided by holch?
There is a chart that shows which scale you need to calculate what.
Frequency, Mode,...: Nominal scale -> coded as you like
Median : at least ordinal scale -> numeric
Mean, Std.deviation,... : decimal scale -> numeric.
And the different between women answers and men.
From this I understand I need to change to numbers.Here you surely want to calculate some t-Tests (for independent and dependent groups) , Wilcoxon-Tests, Mann-Whitney-Tests, or ANOVA, ...
Sure.So, you really have to learn the basics about this, and these things are not related to LimeSurvey.
That's not nice.And to be honest: Sometimes I think you are just trolling.
A troll is someone that is doing something deliberately negative and not to understand or learn something.
LS Version 4.2+
- holch
- Offline
- LimeSurvey Community Team
- Posts: 11660
- Thank you received: 2742
You can do this filter wether the code is '1' or the code is 'A1'. Because this is a nominal scale. You can't make calculations directly with this scale. There is no average, it makes no sense, etc.
These are very much the basics of data analysis, so you really should make yourself familiar with these basics. It is important if you don't want to make mistakes when analyzing your data.
However, as you seem not understand the difference between the different scales and to finish this discussion that leads nowhere: change ALL codes into numerical codes and you are on the safe side.
While nominal scales don't need it, it also doesn't hurt. So just change country, gender, maritial status, job, etc also to numeric codes (even if it isn't necessary, because you won't make special calculations with it, that go further than frequency / share or use them for filtering).
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
- ymca
- Offline
- Elite Member
- Posts: 168
- Thank you received: 2
Haven't been sure about the country thing and didn't want to bother anyone else about it anymore.holch wrote: No, you do not need to change nominal scales even if you want to analyze the differences between male and female.
So just change country, gender, maritial status, job, etc also to numeric codes (even if it isn't necessary, because you won't make special calculations with it, that go further than frequency / share or use them for filtering).
Thank you for explaining this in a simple way.
Now I'm not stressed about this being a problem in the future.
LS Version 4.2+
- Joffm
- Away
- LimeSurvey Community Team
- Posts: 12941
- Thank you received: 3979
here I structured the first song selection a bit different, in my opinion easier, shorter.
Used micro-tayloring for the question text.
And added some kind of validation.
The rest is up to you.
Best regards
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
- miguel-reyes
- Topic Author
- Offline
- New Member
- Posts: 4
- Thank you received: 0
That looks very nice and you made it much more elegant than how I was doing it before! I will now adjust my survey to your idea. Thank you so very much and wish you and your family much health!
Greetings from sunny Berlin.
Miguel