Sintaksis Dalam Ibm Spss Statistics 2

Click here to load reader

download Sintaksis Dalam Ibm Spss Statistics 2

of 105

  • date post

    21-Dec-2015
  • Category

    Documents

  • view

    217
  • download

    1

Embed Size (px)

description

Sintaksis Dalam Ibm Spss Statistics 2

Transcript of Sintaksis Dalam Ibm Spss Statistics 2

SINTAKSIS DALAM IBM SPSS STATISTICSBAGIAN KE 2 DESCRIPTIVE STATISTICSOleh :Abdullah M. JaubahPendahuluanDescriptive Statistics dalam IBM SPSS Statistics mempunyai pengertian khusus dan mencakup Frequencies, Descriptives, Explore, Crosstabs, Ratio, P-P Plots, dan Q-Q Plots. Bagian ke 2 ini akan menyajikan sintaksis dan hasil pelaksanaan sintaksis mengenai Descriptive Statistics dan hasil-hasil yang diperoleh tidak diinterpretasikan. Tujuan utama dari tulisan-tulisan ini adalah untuk memperkenalkan cara pemrograman berdasar atas perintah-perintah sintaksis.Cara pemrograman ini berbeda dengan cara pemrograman dalam Bagian Ke1 karena cara ini mengandung cara pemrograman mandiiri dan cara pemrograman gabungan dan kedua cara ini disimpan dalam satu arsip sintaksis.Statistik Deskriptif****************************************************************** Abdullah Muhammad Jaubah* Descriptive Statistics*****************************************************************

GET FILE='D:\ACC\BARU1.sav'.

****************************************************************** Frequencies*****************************************************************

FREQUENCIES VARIABLES=X1 /NTILES=4 /NTILES=10 /PERCENTILES=5.0 100.0 /STATISTICS=STDDEV VARIANCE RANGE MINIMUM MAXIMUM SEMEAN MEAN MEDIAN MODE SUM SKEWNESS SESKEW KURTOSIS SEKURT /GROUPED=X1 /HISTOGRAM NORMAL /ORDER=ANALYSIS.

****************************************************************** Frequencies*****************************************************************

GET FILE='D:\ACC\BARU1.sav'.FREQUENCIES VARIABLES=X1 X2 X3 X4 Y X7 X10 /NTILES=4 /NTILES=10 /PERCENTILES=5.0 100.0 /STATISTICS=STDDEV VARIANCE RANGE MINIMUM MAXIMUM SEMEAN MEAN MEDIAN MODE SUM SKEWNESS SESKEW KURTOSIS SEKURT /GROUPED=X1 X2 X3 X4 Y X7 X10 /HISTOGRAM NORMAL /ORDER=ANALYSIS.

****************************************************************** Descriptives*****************************************************************

GET FILE='D:\ACC\BARU1.sav'.

DESCRIPTIVES VARIABLES=X1 /STATISTICS=MEAN SUM STDDEV MIN MAX.

****************************************************************** Descriptives*****************************************************************

GETFILE='D:\ACC\BARU1.sav'.

DESCRIPTIVES VARIABLES=X1 /STATISTICS=MEAN SUM STDDEV MIN MAX.

DESCRIPTIVES VARIABLES=X2 /STATISTICS=MEAN SUM STDDEV MIN MAX.

DESCRIPTIVES VARIABLES=X3 /STATISTICS=MEAN SUM STDDEV MIN MAX.

DESCRIPTIVES VARIABLES=X3 /STATISTICS=VARIANCE RANGE SEMEAN KURTOSIS SKEWNESS.

DESCRIPTIVES VARIABLES=X4 /STATISTICS=MEAN SUM STDDEV MIN MAX.

DESCRIPTIVES VARIABLES=X4 /STATISTICS=VARIANCE RANGE SEMEAN KURTOSIS SKEWNESS.

DESCRIPTIVES VARIABLES=Y /STATISTICS=MEAN SUM STDDEV MIN MAX.

DESCRIPTIVES VARIABLES=Y /STATISTICS=VARIANCE RANGE SEMEAN KURTOSIS SKEWNESS.

DESCRIPTIVES VARIABLES=X7 /STATISTICS=MEAN SUM STDDEV MIN MAX.

DESCRIPTIVES VARIABLES=X7 /STATISTICS=VARIANCE RANGE SEMEAN KURTOSIS SKEWNESS.

DESCRIPTIVES VARIABLES=X10 /STATISTICS=MEAN SUM STDDEV MIN MAX.

DESCRIPTIVES VARIABLES=X10 /STATISTICS=VARIANCE RANGE SEMEAN KURTOSIS SKEWNESS.

****************************************************************** Explore*****************************************************************

GET FILE='D:\ACC\BARU1.sav'.

EXAMINE VARIABLES=X1 /PLOT BOXPLOT NPPLOT /COMPARE GROUPS /STATISTICS DESCRIPTIVES /CINTERVAL 95 /MISSING LISTWISE /NOTOTAL.

****************************************************************** Explore*****************************************************************

GET FILE='D:\ACC\BARU1.sav'.

EXAMINE VARIABLES=X1 /PLOT BOXPLOT NPPLOT /COMPARE GROUPS /STATISTICS DESCRIPTIVES /CINTERVAL 95 /MISSING LISTWISE /NOTOTAL.

EXAMINE VARIABLES=X1 X2 X3 X4 Y X7 X10 /PLOT BOXPLOT NPPLOT /COMPARE GROUPS /STATISTICS DESCRIPTIVES /CINTERVAL 95 /MISSING LISTWISE /NOTOTAL.

****************************************************************** Crosstabs*****************************************************************

GET FILE='D:\ACC\BARU1.sav'.

CROSSTABS /TABLES=Y BY X1 X2 X3 X4 X7 X10 /FORMAT=AVALUE TABLES /STATISTICS=CHISQ CC PHI LAMBDA UC ETA CORR GAMMA D BTAU CTAU KAPPA RISK MCNEMAR /CELLS=COUNT EXPECTED /COUNT ROUND CELL /HIDESMALLCOUNTS COUNT=5.

CROSSTABS /TABLES=Y BY X1 BY X6 /FORMAT=AVALUE TABLES /STATISTICS=CHISQ CC PHI LAMBDA UC ETA CORR GAMMA D BTAU CTAU KAPPA RISK MCNEMAR /CELLS=COUNT EXPECTED /COUNT ROUND CELL /HIDESMALLCOUNTS COUNT=5 /BARCHART.

****************************************************************** Crosstabs*****************************************************************

GET FILE='D:\ACC\BARU1.sav'.

CROSSTABS /TABLES=X6 BY X5 /FORMAT=AVALUE TABLES /CELLS=COUNT /COUNT ROUND CELL /BARCHART.

****************************************************************** Ratio*****************************************************************

GET FILE='D:\ACC\BARU1.sav'.DATASET NAME DataSet1 WINDOW=FRONT.RATIO STATISTICS X7 WITH Y BY X5 (ASCENDING) /MISSING=EXCLUDE/PRINT=MEAN PRD STDDEV WGTMEAN.

****************************************************************** Ratio*****************************************************************

GET FILE='D:\ACC\BARU1.sav'.

RATIO STATISTICS Y WITH X1 BY X5 (ASCENDING) /MISSING=EXCLUDE /PRINT=COD MDCOV PRD.

RATIO STATISTICS Y WITH X1 BY X5 (ASCENDING) /MISSING=EXCLUDE /PRINT=MAX MDCOV MEAN MEDIAN MIN MNCOV RANGE STDDEV.

****************************************************************** P-P Plots*****************************************************************

GET FILE='D:\ACC\BARU1.sav'.

PPLOT /VARIABLES=X1 X2 X3 X4 Y X7 X10 /NOLOG /NOSTANDARDIZE /TYPE=P-P /FRACTION=BLOM /TIES=MEAN /DIST=NORMAL.

PPLOT /VARIABLES=X1 X2 X3 X4 Y X7 X10 /NOLOG /NOSTANDARDIZE /TYPE=P-P /FRACTION=RANKIT /TIES=MEAN /DIST=NORMAL.

PPLOT /VARIABLES=X1 X2 X3 X4 Y X7 X10 /NOLOG /NOSTANDARDIZE /TYPE=P-P /FRACTION=TUKEY /TIES=MEAN /DIST=NORMAL.

PPLOT /VARIABLES=X1 X2 X3 X4 Y X7 X10 /NOLOG /NOSTANDARDIZE /TYPE=P-P /FRACTION=VW /TIES=MEAN /DIST=NORMAL.

****************************************************************** Q-Q Plots*****************************************************************

GET FILE='D:\ACC\BARU1.sav'.

PPLOT /VARIABLES=Y /NOLOG /NOSTANDARDIZE /TYPE=Q-Q /FRACTION=BLOM /TIES=MEAN /DIST=NORMAL.

PPLOT /VARIABLES=Y /NOLOG /NOSTANDARDIZE /TYPE=Q-Q /FRACTION=RANKIT /TIES=MEAN /DIST=NORMAL.

PPLOT /VARIABLES=Y /NOLOG /NOSTANDARDIZE /TYPE=Q-Q /FRACTION=TUKEY /TIES=MEAN /DIST=NORMAL.

PPLOT /VARIABLES=Y /NOLOG /NOSTANDARDIZE /TYPE=Q-Q /FRACTION=VW /TIES=MEAN /DIST=NORMAL.

Sintaksis di atas merupakan sintaksis mandiri dan dapat diubah menjadi sintaksis gabungan sebagaimana disajikan di bawah ini. Hasil dari kedua macam sintaksis ini adalah sama akan tetapi sintaksis gabungan adalah lebih cepat dilaksanakan daripada sintaksis mandiri.

****************************************************************** Abdullah M. Jaubah* Descrptive Statistics Gabungan*****************************************************************

GET FILE='D:\ACC\BARU1.sav'.

****************************************************************** Frequencies******************************************************************

FREQUENCIES VARIABLES=X1 X2 X3 X4 Y X7 X10 /NTILES=4 /NTILES=10 /PERCENTILES=5.0 100.0 /STATISTICS=STDDEV VARIANCE RANGE MINIMUM MAXIMUM SEMEAN MEAN MEDIAN MODE SUM SKEWNESS SESKEW KURTOSIS SEKURT /GROUPED=X1 X2 X3 X4 Y X7 X10 /HISTOGRAM NORMAL /ORDER=ANALYSIS.

****************************************************************** Descriptives*****************************************************************

DESCRIPTIVES VARIABLES=X1 /STATISTICS=MEAN SUM STDDEV MIN MAX.

DESCRIPTIVES VARIABLES=X1 /STATISTICS=VARIANCE RANGE SEMEAN KURTOSIS SKEWNESS.

DESCRIPTIVES VARIABLES=X2 /STATISTICS=MEAN SUM STDDEV MIN MAX.

DESCRIPTIVES VARIABLES=X2 /STATISTICS=VARIANCE RANGE SEMEAN KURTOSIS SKEWNESS.

DESCRIPTIVES VARIABLES=X3 /STATISTICS=MEAN SUM STDDEV MIN MAX.

DESCRIPTIVES VARIABLES=X3 /STATISTICS=VARIANCE RANGE SEMEAN KURTOSIS SKEWNESS.

DESCRIPTIVES VARIABLES=X4 /STATISTICS=MEAN SUM STDDEV MIN MAX.

DESCRIPTIVES VARIABLES=X4 /STATISTICS=VARIANCE RANGE SEMEAN KURTOSIS SKEWNESS.

DESCRIPTIVES VARIABLES=Y /STATISTICS=MEAN SUM STDDEV MIN MAX.

DESCRIPTIVES VARIABLES=Y /STATISTICS=VARIANCE RANGE SEMEAN KURTOSIS SKEWNESS.

DESCRIPTIVES VARIABLES=X7 /STATISTICS=MEAN SUM STDDEV MIN MAX.

DESCRIPTIVES VARIABLES=X7 /STATISTICS=VARIANCE RANGE SEMEAN KURTOSIS SKEWNESS.

DESCRIPTIVES VARIABLES=X10 /STATISTICS=MEAN SUM STDDEV MIN MAX.

DESCRIPTIVES VARIABLES=X10 /STATISTICS=VARIANCE RANGE SEMEAN KURTOSIS SKEWNESS.

****************************************************************** Explore*****************************************************************

EXAMINE VARIABLES=X1 /PLOT BOXPLOT NPPLOT /COMPARE GROUPS /STATISTICS DESCRIPTIVES /CINTERVAL 95 /MISSING LISTWISE /NOTOTAL.

EXAMINE VARIABLES=X1 X2 X3 X4 Y X7 X10 /PLOT BOXPLOT NPPLOT /COMPARE GROUPS /STATISTICS DESCRIPTIVES /CINTERVAL 95 /MISSING LISTWISE /NOTOTAL.

****************************************************************** Crosstabs*****************************************************************

CROSSTABS /TABLES=Y BY X1 X2 X3 X4 X7 X10 /FORMAT=AVALUE TABLES /STATISTICS=CHISQ CC PHI