LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (June 2009)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 24 Jun 2009 08:32:28 -0500
Reply-To:     ajshackman@gmail.com
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         "Alexander J. Shackman" <shackman@wisc.edu>
Subject:      Re: Jarque-Bera test
Comments: To: Marta García-Granero
          <mgarciagranero@gmail.com>
In-Reply-To:  <4A422968.5050406@gmail.com>
Content-Type: multipart/alternative;

also check out

* SPSS Macros*

Lawrence DeCarlo's macro<http://psyphz.psych.wisc.edu/%7Eshackman/normtest.sps>for univariate and multivariate skew and kurtosis

Lawrence DeCarlo's macro<http://psyphz.psych.wisc.edu/%7Eshackman/DeCarlo2.sps>for Mardia's multivariate skew and kurtosis

http://psyphz.psych.wisc.edu/~shackman/decarlo_normtest.sps

and his paper

DeCarlo, L. T. (1997). On the meaning and use of kurtosis. *Psychological Methods*, *2*, 292-307. pdf <http://www.columbia.edu/%7Eld208/psymeth97.pdf>

2009/6/24 Marta García-Granero <mgarciagranero@gmail.com>

> Anybody know how can I do a Jarque-Bera skewness test with spss? >> >> what I want to see is if there're symmetry around the median, >> > > Hi: > > See if this syntax helps (it computes non parametric masures of skewness > and kurtosis and performs a one sample symmetry test (based on Wilcoxon > test) > > * Sample dataset *. > DATA LIST FREE/bilirrubin (F8). > BEGIN DATA > 25 178 15 10 90 30 280 20 58 8 > 20 75 85 12 158 10 6 22 103 16 > 170 28 240 8 16 20 80 420 36 24 > 70 22 14 5 130 54 25 22 15 22 > 50 24 143 42 4 18 44 220 54 38 > 135 24 78 24 4 152 68 45 38 18 > 120 18 30 20 360 26 12 16 310 72 > 48 96 32 22 55 12 10 62 46 35 > 15 192 20 65 42 6 60 34 14 115 > 9 164 12 40 18 530 32 104 28 6 > 81 10 26 94 46 40 14 40 > END DATA. > VAR LEVEL bilirrubin(SCALE). > > * Syntax *. > OMS > /SELECT TABLES > /IF COMMANDS = 'Explore' > SUBTYPES = 'Percentiles' > /DESTINATION FORMAT = SAV > OUTFILE = 'C:\Temp\Octiles.sav'. > OMS > /SELECT TABLES > /IF COMMANDS = 'Explore' > SUBTYPES = 'Case Processing Summary' > /DESTINATION VIEWER = NO. > EXAMINE > VARIABLES=bilirrubin > /PLOT BOXPLOT > /PERCENTILES(12.5,25,37.5,50,62.5,75,87.5) AEMPIRICAL > /STATISTICS NONE > /NOTOTAL. > OMSEND. > > MATRIX. > * Get octiles *. > GET Ei /VAR=@12.5 TO @87.5 /FILE='C:\Temp\Octiles.sav' > /MISSING=OMIT. > * Skewness: Bowley's SK2 *. > COMPUTE SK2=(Ei(6)+Ei(2)-2*Ei(4))/(Ei(6)-Ei(2)). > * Kurtosis: Moor's KR2 *. > COMPUTE KR2=(Ei(7)-Ei(5)+Ei(3)-Ei(1))/(Ei(6)-Ei(2))-1.233. > * Reports *. > PRINT Ei(4) > /FORMAT='F8.1' > /TITLE='Sample median (used for Wilcoxon signed-rank test of symmetry > around the median)'. > PRINT {SK2;KR2} > /FORMAT='F8.3' > /RLABEL='SK2','KR2' > /TITLE="Robust measures of skweness & kurtosis: Bowley's SK2 and Moor's > centered KR2". > PRINT/TITLE='SK2 Skewness: range [-1; 1]. -ve skewed to the left, +ve > skewed to the right'. > PRINT/TITLE='KR2 Kurtosis: range [-1.233; infinity]. -ve platikurtic, > +ve leptokurtic'. > END MATRIX. > > TEMPORARY. > COMPUTE k=1. > AGGREGATE > /OUTFILE=* > MODE=ADDVARIABLES > /BREAK=k > /SampleMedian = MEDIAN(bilirrubin). > NPAR TEST > /WILCOXON=SampleMedian WITH bilirrubin . > DELETE VARIABLES SampleMedian. > > HTH, > Marta > > -- > For miscellaneous SPSS related statistical stuff, visit: > http://gjyp.nl/marta/ > > ===================== > To manage your subscription to SPSSX-L, send a message to > LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the > command. To leave the list, send the command > SIGNOFF SPSSX-L > For a list of commands to manage subscriptions, send the command > INFO REFCARD >

-- Alexander J. Shackman, Ph.D. Laboratory for Affective Neuroscience Waisman Laboratory for Brain Imaging & Behavior University of Wisconsin-Madison 1202 West Johnson Street Madison, Wisconsin 53706

Telephone: +1 (608) 358-5025 Fax: +1 (608) 265-2875 Email: shackman@wisc.edu http://psyphz.psych.wisc.edu/~shackman Calendar {still under construction}: http://www.google.com/calendar/embed?src=ajshackman%40gmail.com


[text/html]


Back to: Top of message | Previous page | Main SPSSX-L page