Difference between revisions of "Tabulation setSignificanceLevel"

From Catglobe Wiki
Jump to: navigation, search
Line 20: Line 20:
 
DCS_use(15596823);
 
DCS_use(15596823);
 
Tabulation_setSignificance(true);
 
Tabulation_setSignificance(true);
Tabulation_setSignificanceLevel(1.96);
+
Tabulation_setSignificanceLevel(1.036);
createCrossDiagram({"Q1"},{"Gender"});
+
Tabulation_setSignificanceDifferenceText("[+] and [-] = Significant difference of 70% or more");
 +
createCrossDiagram({"Gender"}, {"Q3"});
 
</source>
 
</source>
 +
 +
Before set Significance level
 +
[[File:Sig_default.png]]
 +
 +
 +
After set Significance level to 1.036 (70%)
 +
[[File:Sig_set.png]]

Revision as of 08:25, 2 March 2018

Tabulation_setSignificanceLevel

Set SignificanceLevel. Default when not set is 1.96

Syntax

Tabulation_setSignificanceLevel(number significanceLevel);

Arguments

number significanceLevel

Return type

Empty

Example

DCS_use(15596823);
Tabulation_setSignificance(true);
Tabulation_setSignificanceLevel(1.036);
Tabulation_setSignificanceDifferenceText("[+] and [-] = Significant difference of 70% or more");
createCrossDiagram({"Gender"}, {"Q3"});

Before set Significance level Sig default.png


After set Significance level to 1.036 (70%) Sig set.png