|
FLIGNER POLICELLO TESTName:
If the placement scores are in P1 and P2, the Fligner-Policello test statistic is
where \( \bar{P}_{Y1} \) and \( \bar{P}_{Y2} \) are the means of the placement scores
\( \bar{P}_{Y2} = \frac{\sum_{i=1}^{n_{Y2}}{P(Y2_{i})}} {n_{Y2}} \) and where
\( V_{Y2} = \sum_{i=1}^{n_{Y2}}{(P(Y2_{i} - \bar{P}_{Y2})^2} \) The standard deviations of the placements are
The above test statistic is compared to a standard normal distribution.
<SUBSET/EXCEPT/FOR qualification> where <y1> is the first response variable; <y2> is the second response variable; and where the <SUBSET/EXCEPT/FOR qualification> is optional. If LOWER TAILED is specified, a lower tailed test is performed. If UPPER TAILED is specified, an upper tailed test is performed. If neither LOWER TAILED or UPPER TAILED is specified, a two-tailed test is performed.
<SUBSET/EXCEPT/FOR qualification> where <y1> ... <yk> is a list of two or more response variables; and where the <SUBSET/EXCEPT/FOR qualification> is optional. This syntax performs all the two-way Fligner-Policello tests for the listed variables. This syntax supports the TO syntax. If LOWER TAILED is specified, a lower tailed test is performed. If UPPER TAILED is specified, an upper tailed test is performed. If neither LOWER TAILED or UPPER TAILED is specified, a two-tailed test is performed.
FLIGNER POLICELLO TEST Y1 Y2 Y3 FLIGNER POLICELLO TEST Y1 TO Y6 FLIGNER POLICELLO TEST Y1 Y2 SUBSET Y2 > 0 LOWER TAILED FLIGNER POLICELLO TEST Y1 Y2 UPPER TAILED FLIGNER POLICELLO TEST Y1 Y2
LET STATCDF = FLIGNER POLICELLO TEST CDF Y1 Y2 LET PVALUE = FLIGNER POLICELLO TEST PVALUE Y1 Y2 LET PVALUE = FLIGNER POLICELLO LOWER TAIL TEST PVALUE Y1 Y2 LET PVALUE = FLIGNER POLICELLO UPPER TAIL TEST PVALUE Y1 Y2 In addition to the above LET commands, built-in statistics are supported for 30+ different commands (enter HELP STATISTICS for details).
. Step 1: Read the data
.
skip 25
read shoemake.dat y1 y2
skip 0
.
. Step 2: Generate the statistics
.
let statval = fligner policello test y1 y2
let statcdf = fligner policello test cdf y1 y2
let pvalue = fligner policello test pvalue y1 y2
let pvallt = fligner policello test lower tail pvalue y1 y2
let pvalut = fligner policello test upper tail pvalue y1 y2
let statval = round(statval,2)
let statcdf = round(statcdf,2)
let pvalue = round(pvalue,2)
let pvallt = round(pvallt,2)
let pvalut = round(pvalut,2)
.
print "Fligner-Policello:"
print "Test Statistic: ^statval"
print "Test Statistic CDF: ^statcdf"
print "Test Statistic P-Value: ^pvalue"
print "Test Statistic Lower Tailed P-Value: ^pvallt"
print "Test Statistic Upper Tailed P-Value: ^pvalut"
.
. Step 3: Perform the tests
.
fligner policello test y1 y2
lower tailed fligner policello test y1 y2
upper tailed fligner policello test y1 y2
The following output is generated
Fligner-Policello:
Test Statistic: 1.56
Test Statistic CDF: 0.94
Test Statistic P-Value: 0.12
Test Statistic Lower Tailed P-Value: 0.94
Test Statistic Upper Tailed P-Value: 0.06
Two Sample Two-Sided Fligner Policello Test
Test for Equal Medians
First Response Variable: Y1
Second Response Variable: Y2
H0: Median1 = Median2
Ha: Median1 not equal Median2
Summary Statistics:
Number of Observations for Sample 1: 10
Mean for Sample 1: 6.02100
Median for Sample 1: 5.53000
Standard Deviation for Sample 1: 1.58184
Number of Observations for Sample 2: 10
Mean for Sample 2: 5.01900
Median for Sample 2: 5.03500
Standard Deviation for Sample 2: 1.10440
Test Statistic Value: 1.55802
CDF Value: 0.94039
P-Value (2-tailed test): 0.11923
P-Value (lower-tailed test): 0.94039
P-Value (upper-tailed test): 0.05961
Two-Tailed Test: Normal Approximation
---------------------------------------------------------------------------
Lower Upper Null
Significance Test Critical Critical Hypothesis
Level Statistic Value (<) Value (>) Conclusion
---------------------------------------------------------------------------
80.0% 1.55802 -1.28155 1.28155 REJECT
90.0% 1.55802 -1.64485 1.64485 ACCEPT
95.0% 1.55802 -1.95996 1.95996 ACCEPT
99.0% 1.55802 -2.57583 2.57583 ACCEPT
Two Sample Lower-Tailed Fligner Policello Test
Test for Equal Medians
First Response Variable: Y1
Second Response Variable: Y2
H0: Median1 = Median2
Ha: Median1 < Median2
Summary Statistics:
Number of Observations for Sample 1: 10
Mean for Sample 1: 6.02100
Median for Sample 1: 5.53000
Standard Deviation for Sample 1: 1.58184
Number of Observations for Sample 2: 10
Mean for Sample 2: 5.01900
Median for Sample 2: 5.03500
Standard Deviation for Sample 2: 1.10440
Test Statistic Value: 1.55802
CDF Value: 0.94039
P-Value (2-tailed test): 0.11923
P-Value (lower-tailed test): 0.94039
P-Value (upper-tailed test): 0.05961
Lower-Tailed Test: Normal Approximation
------------------------------------------------------------
Lower Null
Significance Test Critical Hypothesis
Level Statistic Value (<) Conclusion
------------------------------------------------------------
80.0% 1.55802 -0.84162 ACCEPT
90.0% 1.55802 -1.28155 ACCEPT
95.0% 1.55802 -1.64485 ACCEPT
99.0% 1.55802 -2.32635 ACCEPT
Two Sample Upper-Tailed Fligner Policello Test
Test for Equal Medians
First Response Variable: Y1
Second Response Variable: Y2
H0: Median1 = Median2
Ha: Median1 > Median2
Summary Statistics:
Number of Observations for Sample 1: 10
Mean for Sample 1: 6.02100
Median for Sample 1: 5.53000
Standard Deviation for Sample 1: 1.58184
Number of Observations for Sample 2: 10
Mean for Sample 2: 5.01900
Median for Sample 2: 5.03500
Standard Deviation for Sample 2: 1.10440
Test Statistic Value: 1.55802
CDF Value: 0.94039
P-Value (2-tailed test): 0.11923
P-Value (lower-tailed test): 0.94039
P-Value (upper-tailed test): 0.05961
Upper-Tailed Test: Normal Approximation
------------------------------------------------------------
Upper Null
Significance Test Critical Hypothesis
Level Statistic Value (>) Conclusion
------------------------------------------------------------
80.0% 1.55802 0.84162 REJECT
90.0% 1.55802 1.28155 REJECT
95.0% 1.55802 1.64485 ACCEPT
99.0% 1.55802 2.32635 ACCEPT
Date created: 08/04/2023 |
Last updated: 08/04/2023 Please email comments on this WWW page to [email protected]. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||