1 / 8100%
* Chart Builder.
GGRAPH
/GRAPHDATASET NAME="graphdataset" VARIABLES=unmplmnt civildis city
MISSING=LISTWISE
REPORTMISSING=NO
/GRAPHSPEC SOURCE=INLINE.
BEGIN GPL
SOURCE: s=userSource(id("graphdataset"))
DATA: unmplmnt=col(source(s), name("unmplmnt"))
DATA: civildis=col(source(s), name("civildis"))
DATA: city=col(source(s), name("city"), unit.category())
GUIDE: axis(dim(1), label("Unemployment rate"))
GUIDE: axis(dim(2), label("Number of civil disturbances"))
ELEMENT: point(position(unmplmnt*civildis), label(city))
END GPL.
12-1 Scatter Plot w/Regression
[DataSet1] C:\Users\jayru\Desktop\Week 6 SPSS\Ch 12-1\Ch12-1.sav
DATASET CLOSE DataSet1.
* Chart Builder.
GGRAPH
/GRAPHDATASET NAME="graphdataset" VARIABLES=hct hb_r MISSING=LISTWISE
REPORTMISSING=NO
/GRAPHSPEC SOURCE=INLINE.
BEGIN GPL
SOURCE: s=userSource(id("graphdataset"))
DATA: hct=col(source(s), name("hct"))
DATA: hb_r=col(source(s), name("hb_r"))
GUIDE: axis(dim(1), label("HCT (%)"))
GUIDE: axis(dim(2), label("Haemoglobin (g/dL) enrolment"))
ELEMENT: point(position(hct*hb_r))
END GPL.
ECAS Scatter Plot w/ Regression Line
[DataSet1] C:\Users\jayru\Desktop\Week 6 SPSS\Ch 12-1\ECAS.sav
REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT civildis
/METHOD=ENTER unmplmnt.
12-1 Regression Analysis
Variables Entered/Removeda
Model
Variables
Entered
Variables
Removed Method
1 Unemployment
rateb. Enter
a. Dependent Variable: Number of civil disturbances
b. All requested variables entered.
Model Summary
Model R R Square
Adjusted R
Square
Std. Error of the
Estimate
1 .807a.651 .534 3.962
a. Predictors: (Constant), Unemployment rate
ANOVAa
Model Sum of Squares df Mean Square F Sig.
1 Regression 87.701 1 87.701 5.586 .099b
Residual 47.099 3 15.700
Total 134.800 4
a. Dependent Variable: Number of civil disturbances
b. Predictors: (Constant), Unemployment rate
Coefficientsa
Model
Unstandardized Coefficients
Standardized
Coefficients
t Sig.B Std. Error Beta
1 (Constant) 4.423 3.019 1.465 .239
Unemployment rate .525 .222 .807 2.364 .099
a. Dependent Variable: Number of civil disturbances
REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT hct
/METHOD=ENTER hb_r.
ECAS Regression Analysis Hb_r (Independent)_HCT (Dependent)
Variables Entered/Removeda
Model
Variables
Entered
Variables
Removed Method
1 Haemoglobin
(g/dL)
enrolmentb
. Enter
a. Dependent Variable: HCT (%)
b. All requested variables entered.
Model Summary
Model R R Square
Adjusted R
Square
Std. Error of the
Estimate
1 .879a.772 .772 2.321
a. Predictors: (Constant), Haemoglobin (g/dL) enrolment
ANOVAa
Model Sum of Squares df Mean Square F Sig.
1 Regression 144495.645 1 144495.645 26828.849 .000b
Residual 42596.538 7909 5.386
Total 187092.183 7910
a. Dependent Variable: HCT (%)
b. Predictors: (Constant), Haemoglobin (g/dL) enrolment
Coefficientsa
Model
Unstandardized Coefficients
Standardized
Coefficients
t Sig.B Std. Error Beta
1 (Constant) 5.204 .199 26.137 .000
Haemoglobin (g/dL)
enrolment 2.582 .016 .879 163.795 .000
a. Dependent Variable: HCT (%)
12-2 Correlations (Spearman's rho)
[DataSet3] C:\Users\jayru\Desktop\Week 6 SPSS\Ch 12-2\Ch12-2.sav
Correlations
age
Score on mobility
test
age Pearson Correlation 1 -.851**
Sig. (2-tailed) .000
N 16 16
Score on mobility test Pearson Correlation -.851** 1
Sig. (2-tailed) .000
N 16 16
**. Correlation is significant at the 0.01 level (2-tailed).
NONPAR CORR
/VARIABLES=age score
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.
Nonparametric Correlations
Correlations
age
Score on mobility
test
Spearman's rho age Correlation Coefficient 1.000 -.814**
Sig. (2-tailed) . .000
N 16 16
Score on mobility test Correlation Coefficient -.814** 1.000
Sig. (2-tailed) .000 .
N 16 16
**. Correlation is significant at the 0.01 level (2-tailed).
ECAS Correlations (Spearman's rho)
[DataSet2] C:\Users\jayru\Desktop\Week 6 SPSS\Ch 12-1\ECAS.sav
Correlations
Tumor Type HCT (%)
Tumor Type Pearson Correlation 1 .038**
Sig. (2-tailed) .001
N 8774 7994
HCT (%) Pearson Correlation .038** 1
Sig. (2-tailed) .001
N 7994 7994
**. Correlation is significant at the 0.01 level (2-tailed).
NONPAR CORR
/VARIABLES=tumtyp_g hct
/PRINT=SPEARMAN TWOTAIL NOSIG
/MISSING=PAIRWISE.
Nonparametric Correlations
Correlations
Tumor Type HCT (%)
Spearman's rho Tumor Type Correlation Coefficient 1.000 .029**
Sig. (2-tailed) . .010
N 8774 7994
HCT (%) Correlation Coefficient .029** 1.000
Sig. (2-tailed) .010 .
N 7994 7994
**. Correlation is significant at the 0.01 level (2-tailed).
Ch 13 Multiple Regression
[DataSet4] C:\Users\jayru\Desktop\Week 6 SPSS\Ch 13\Ch13.sav
Variables Entered/Removeda
Model
Variables
Entered
Variables
Removed Method
1 Age in years,
House size
(squares)b
. Enter
a. Dependent Variable: Selling price ($000)
b. All requested variables entered.
Model Summary
Model R R Square
Adjusted R
Square
Std. Error of the
Estimate
1 .959a.919 .901 7.804
a. Predictors: (Constant), Age in years, House size (squares)
ANOVAa
Model Sum of Squares df Mean Square F Sig.
1 Regression 6248.759 2 3124.379 51.298 .000b
Residual 548.158 9 60.906
Total 6796.917 11
a. Dependent Variable: Selling price ($000)
b. Predictors: (Constant), Age in years, House size (squares)
Coefficientsa
Model
Unstandardized Coefficients
Standardized
Coefficients
t Sig.B Std. Error Beta
1 (Constant) 224.290 26.222 8.553 .000
House size (squares) 2.578 .973 .487 2.650 .026
Age in years -2.974 1.076 -.508 -2.764 .022
a. Dependent Variable: Selling price ($000)
ECAS Multiple Regression
Variables Entered/Removeda
Model
Variables
Entered
Variables
Removed Method
1 Gender, Age
(years)b. Enter
a. Dependent Variable: Haemoglobin (g/dL) enrolment
b. All requested variables entered.
Model Summary
Model R R Square
Adjusted R
Square
Std. Error of the
Estimate
1 .103a.011 .010 1.63421
a. Predictors: (Constant), Gender, Age (years)
ANOVAa
Model Sum of Squares df Mean Square F Sig.
1 Regression 218.400 2 109.200 40.889 .000b
Residual 20368.946 7627 2.671
Total 20587.346 7629
a. Dependent Variable: Haemoglobin (g/dL) enrolment
b. Predictors: (Constant), Gender, Age (years)
Coefficientsa
Model
Unstandardized Coefficients
Standardized
Coefficients
t Sig.B Std. Error Beta
1 (Constant) 13.204 .128 103.459 .000
Age (years) -.002 .002 -.015 -1.304 .192
Gender -.349 .039 -.105 -9.018 .000
a. Dependent Variable: Haemoglobin (g/dL) enrolment
Powered by TCPDF (www.tcpdf.org)
Students also viewed