Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:
  • Seite:
  • 1
  • 2

THEMA: Negative number as question code

Negative number as question code 1 Jahr 10 Monate her #96167

  • aukevann
  • aukevanns Avatar
  • OFFLINE
  • Senior Lime
  • Beiträge: 54
  • Karma: 1
At the moment a negative number can not be the question code.
This is a real limitation for questions that have plus and negative question answers (i.e. semantic differential).
Now we have to convert the codes to numbers before processing the data in Excel.
Can it be considered to allow this in the future?

Regards,
Auke
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Negative number as question code 1 Jahr 10 Monate her #96173

  • Ben_V
  • Ben_Vs Avatar
  • OFFLINE
  • Platinum Lime
  • Beiträge: 1277
  • Dank erhalten: 297
  • Karma: 86
a negative number can not be the question code

correct...
The use of underscore is allowed and could be useful in the need of proceed easy changes in a spreadsheet column.
Benoît

goo.gl/Bw5iM => Recherche GG dans le forum français (remplacer "exemple" dans la barre de recherche)
goo.gl/WX8PH => GG search for english forum (Replace "example" in the search bar)
goo.gl/IxiGu => Búsqueda en el foro en español (Cambiar "ejemplo" en la barra de...
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Negative number as question code 1 Jahr 10 Monate her #96175

  • aukevann
  • aukevanns Avatar
  • OFFLINE
  • Senior Lime
  • Beiträge: 54
  • Karma: 1
Yes, but you can't do calculations with it.
If it is negative you can.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Negative number as question code 2 Monate 1 Woche her #116519

  • jonsen
  • jonsens Avatar
  • OFFLINE
  • Expert Lime
  • Beiträge: 82
  • Dank erhalten: 7
  • Karma: 1
Can somebody tell my why this is? I find it to be good pratise to use negative codes for N/A answers like...

- not applicable
- don't know
- don't want to answer
- no answer

What is the limiting factor here? None of the result tables seem to have any UNSIGNED data types...

Best
Jonsen
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Negative number as question code 2 Monate 1 Woche her #116520

  • holch
  • holchs Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 3326
  • Dank erhalten: 443
  • Karma: 141
I guess this has also to do with Expression Manager. When Expression Manager was implemented, the rules for the question codes became a lot stricter.

What you could do is write a new value into an equation question automatically.

E.g. {if(question1==1,-2, if(question1==2,-1, if(question1==3,0, if(question1==4,1,2))))}

Something like that. Then you use the equation instead of the actual question to analyze.

We usually use something like 99, 98, 97, for these cases.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Folgende Benutzer bedankten sich: jonsen

Negative number as question code 2 Monate 1 Woche her #116521

  • jonsen
  • jonsens Avatar
  • OFFLINE
  • Expert Lime
  • Beiträge: 82
  • Dank erhalten: 7
  • Karma: 1
Thanks for the reply and the workaround! Still, would be interesting to know why this is limited exactly...
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Negative number as question code 1 Monat 3 Wochen her #117067

  • jonsen
  • jonsens Avatar
  • OFFLINE
  • Expert Lime
  • Beiträge: 82
  • Dank erhalten: 7
  • Karma: 1
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Negative number as question code 1 Monat 3 Wochen her #117070

  • Ben_V
  • Ben_Vs Avatar
  • OFFLINE
  • Platinum Lime
  • Beiträge: 1277
  • Dank erhalten: 297
  • Karma: 86
You probably will be interested in this... :(
Benoît

goo.gl/Bw5iM => Recherche GG dans le forum français (remplacer "exemple" dans la barre de recherche)
goo.gl/WX8PH => GG search for english forum (Replace "example" in the search bar)
goo.gl/IxiGu => Búsqueda en el foro en español (Cambiar "ejemplo" en la barra de...
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Negative number as question code 1 Monat 3 Wochen her #117071

  • holch
  • holchs Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 3326
  • Dank erhalten: 443
  • Karma: 141
Ben, the post is about the question code, as far as I understand it, here we are talking about the answer codes.

So while there is a good chance that it won't be added, it is quite a different topic than in your link.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
Letzte Änderung: 1 Monat 3 Wochen her von holch.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Negative number as question code 1 Monat 3 Wochen her #117088

  • Ben_V
  • Ben_Vs Avatar
  • OFFLINE
  • Platinum Lime
  • Beiträge: 1277
  • Dank erhalten: 297
  • Karma: 86
Oups.. you're right Holch the link is off-topic :pinch:
Benoît

goo.gl/Bw5iM => Recherche GG dans le forum français (remplacer "exemple" dans la barre de recherche)
goo.gl/WX8PH => GG search for english forum (Replace "example" in the search bar)
goo.gl/IxiGu => Búsqueda en el foro en español (Cambiar "ejemplo" en la barra de...
Der Administrator hat öffentliche Schreibrechte deaktiviert.
  • Seite:
  • 1
  • 2
Ladezeit der Seite: 0.145 Sekunden
Donation Image