﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 5  » Calculate percentile without all means</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Wed, 09 Sep 2026 07:26:19 GMT</lastBuildDate><ttl>20</ttl><item><title>Calculate percentile without all means</title><link>https://forums.millisecond.com/Topic20793.aspx</link><description>Hi!&lt;br/&gt;&lt;br/&gt;I'm using a script from the library (tipi.iqx).&lt;br/&gt;&lt;br/&gt;To calculate the percentiles in this script, it is using the means and SD of females, males, or all.&lt;br/&gt;For the survey I want to use, I only have data of females and males. But not the 'all'.&lt;br/&gt;&lt;br/&gt;Can I delete the allMeans and allSD from the script below? There's a question in the survey asking for the sex, and it is required to answer.&amp;nbsp;&lt;br/&gt;I don't know what exactly I can delete in this part and what not. I'm just a beginner with Inquisit and I don't understand the 'else' in this expression.&amp;nbsp;&lt;br/&gt;So I'm not sure if I just can delete a part of it.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I hope you can help.&lt;br/&gt;&lt;br/&gt;/ calculateE_percentile = {&lt;br/&gt;if (parameters.calculateGenderPercentile == true){&lt;br/&gt;if (radiobuttons.gender.response == 2){&lt;br/&gt;values.z_E = (expressions.Extraversion - list.maleMeans.item(1))/list.maleSD.item(1);&lt;br/&gt;} else {&lt;br/&gt;values.z_E = (expressions.Extraversion - list.femaleMeans.item(1))/list.femaleSD.item(1);&lt;br/&gt;};&lt;br/&gt;} else {&lt;br/&gt;values.z_E = (expressions.Extraversion - list.allMeans.item(1))/list.allSD.item(1);&lt;br/&gt;};&lt;br/&gt;values.E_percentile = pofz(values.z_E);&lt;br/&gt;}&lt;br/&gt;</description><pubDate>Tue, 21 Feb 2017 02:56:29 GMT</pubDate><dc:creator>splukkel</dc:creator></item><item><title>RE: Calculate percentile without all means</title><link>https://forums.millisecond.com/Topic20820.aspx</link><description>Okay, that's clear! Thanks :)&amp;nbsp;</description><pubDate>Tue, 21 Feb 2017 02:56:29 GMT</pubDate><dc:creator>splukkel</dc:creator></item><item><title>RE: Calculate percentile without all means</title><link>https://forums.millisecond.com/Topic20801.aspx</link><description>&lt;div data-id="20793" class="if-quote-wrapper" unselectable="on" data-guid="1487604461056"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="20793" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="20793" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="20793" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;splukkel - Monday, February 20, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-20793"&gt;&lt;div class="if-quote-message-margin"&gt;Hi!&lt;br/&gt;&lt;br/&gt;I'm using a script from the library (tipi.iqx).&lt;br/&gt;&lt;br/&gt;To calculate the percentiles in this script, it is using the means and SD of females, males, or all.&lt;br/&gt;For the survey I want to use, I only have data of females and males. But not the 'all'.&lt;br/&gt;&lt;br/&gt;Can I delete the allMeans and allSD from the script below? There's a question in the survey asking for the sex, and it is required to answer.&amp;nbsp;&lt;br/&gt;I don't know what exactly I can delete in this part and what not. I'm just a beginner with Inquisit and I don't understand the 'else' in this expression.&amp;nbsp;&lt;br/&gt;So I'm not sure if I just can delete a part of it.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I hope you can help.&lt;br/&gt;&lt;br/&gt;/ calculateE_percentile = {&lt;br/&gt;if (parameters.calculateGenderPercentile == true){&lt;br/&gt;if (radiobuttons.gender.response == 2){&lt;br/&gt;values.z_E = (expressions.Extraversion - list.maleMeans.item(1))/list.maleSD.item(1);&lt;br/&gt;} else {&lt;br/&gt;values.z_E = (expressions.Extraversion - list.femaleMeans.item(1))/list.femaleSD.item(1);&lt;br/&gt;};&lt;br/&gt;} else {&lt;br/&gt;values.z_E = (expressions.Extraversion - list.allMeans.item(1))/list.allSD.item(1);&lt;br/&gt;};&lt;br/&gt;values.E_percentile = pofz(values.z_E);&lt;br/&gt;}&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="20793"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;You don't need to delete anything. If you want gender-specific percentiles calculated, all you need to make sure is that the /calculateGenderPercentile &amp;lt;parameter&amp;gt; is set to 'true', as detailed in the script's &amp;lt;usermanual&amp;gt;:&lt;br/&gt;&lt;br/&gt;/calculateGenderPercentile:&lt;br/&gt;true (1) = z-score and percentiles are calculated based on gender norms (provided by Gosling et al, 2003, p.526) - can be set under Editable Parameters&lt;br/&gt;false (0) = z-score and percentiles are calculated using the overall norms (provided by Gosling et al, 2003, p.526)&lt;br/&gt;</description><pubDate>Mon, 20 Feb 2017 07:49:48 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>