Rmstassignment
Rmstassignment
Descriptives
Descriptive Statistics
b.Frequency
GET
FILE='C:\Program Files\IBM\SPSS\Statistics\25\Samples\English\accidents.sav'
.
DATASET NAME DataSet1 WINDOW=FRONT.
FREQUENCIES VARIABLES=accid agecat
/ORDER=ANALYSIS.
Frequencies
[DataSet1] C:\Program Files\IBM\SPSS\Statistics\25\Samples\English\accidents.s
av
Statistics
Frequency Table
Accidents
Cumulative
Frequency Percent Valid Percent Percent
Valid 54123 1 16.7 16.7 16.7
57113 1 16.7 16.7 33.3
57997 1 16.7 16.7 50.0
63936 1 16.7 16.7 66.7
64835 1 16.7 16.7 83.3
66804 1 16.7 16.7 100.0
Total 6 100.0 100.0
Age category
Cumulative
Frequency Percent Valid Percent Percent
Valid Under 21 2 33.3 33.3 33.3
21-25 2 33.3 33.3 66.7
26-30 2 33.3 33.3 100.0
Total 6 100.0 100.0
/ORDER=ANALYSIS.
Frequencies
Statistics
Frequency Table
Accidents
Cumulative
Frequency Percent Valid Percent Percent
Valid 54123 1 16.7 16.7 16.7
57113 1 16.7 16.7 33.3
57997 1 16.7 16.7 50.0
63936 1 16.7 16.7 66.7
64835 1 16.7 16.7 83.3
66804 1 16.7 16.7 100.0
Total 6 100.0 100.0
Age category
Cumulative
Frequency Percent Valid Percent Percent
Valid Under 21 2 33.3 33.3 33.3
21-25 2 33.3 33.3 66.7
26-30 2 33.3 33.3 100.0
Total 6 100.0 100.0
c.Ratio
RATIO STATISTICS gender WITH accid BY pop (ASCENDING)
/MISSING=EXCLUDE
/PRINT=COD MDCOV PRD.
Ratio Statistics
Coefficient of
Variation
Price Related Coefficient of Median
Group Differential Dispersion Centered
187791 . . .
195714 . . .
198522 1.000 .000 .
200744 1.000 .000 .
203200 1.000 .000 .
208239 . . .
Overall 1.079 1.029 112.9%
2.Scale
a.Reliablity Analysis
RELIABILITY
/VARIABLES=gender accid
/SCALE('ALL VARIABLES') ALL
/MODEL=ALPHA.
Reliability
Reliability Statistics
Cronbach's
a
Alpha N of Items
.000 2
3.Compare Means
a.Means
MEANS TABLES=accid BY gender
/CELLS=MEAN COUNT STDDEV.
Means
Report
Accidents
Gender Mean N Std. Deviation
Male 65191.67 3 1466.889
Female 56411.00 3 2030.166
Total 60801.33 6 5063.533
T-Test
One-Sample Statistics
One-Sample Test
Test Value = 0
95% Confidence Interval of the
Difference
Mean
t df Sig. (2-tailed) Difference Lower Upper
Age category 5.477 5 .003 2.000 1.06 2.94
Accidents 29.413 5 .000 60801.333 55487.48 66115.19
Gender 2.236 5 .076 .500 -.07 1.07
4.Correlate
a.Bivariate
CORRELATIONS
/VARIABLES=agecat accid pop
/PRINT=TWOTAIL NOSIG
/MISSING=PAIRWISE.
Correlations
Correlations
Population at
Age category Accidents risk
Age category Pearson Correlation 1 -.044 .728
Sig. (2-tailed) .933 .101
N 6 6 6
Accidents Pearson Correlation -.044 1 -.106
Sig. (2-tailed) .933 .841
N 6 6 6
Population at risk Pearson Correlation .728 -.106 1
Sig. (2-tailed) .101 .841
N 6 6 6
b.Partial
PARTIAL CORR
/VARIABLES=gender accid BY agecat pop
/SIGNIFICANCE=TWOTAIL
/MISSING=LISTWISE.
Partial Corr
Correlations
c.Distances
PROXIMITIES gender pop
/VIEW=CASE
/MEASURE=EUCLID
/STANDARDIZE=NONE.
Proximities
Proximity Matrix
Euclidean Distance
1 2 3 4 5 6
1 .000 4678.000 2222.000 10731.000 2808.000 9717.000
2 4678.000 .000 2456.000 15409.000 7486.000 5039.000
3 2222.000 2456.000 .000 12953.000 5030.000 7495.000
4 10731.000 15409.000 12953.000 .000 7923.000 20448.000
5 2808.000 7486.000 5030.000 7923.000 .000 12525.000
6 9717.000 5039.000 7495.000 20448.000 12525.000 .000
This is a dissimilarity matrix
d.Canonical Correlation
STATS CANCORR SET1=agecat SET2=accid pop
/OPTIONS COMPUTECVARS=NO
/PRINT PAIRWISECORR=NO LOADINGS=YES VARPROP=YES COEFFICIENTS=YES.
Canonical Correlations
[DataSet1] C:\Program Files\IBM\SPSS\Statistics\25\Samples\English\accidents.s
av
Canonical Correlations
Settings
Values
Canonical Correlations
Correlation Eigenvalue Wilks Statistic F Num D.F Denom D.F. Sig.
1 .728 1.130 .470 . . . .
H0 for Wilks test is that the correlations in the current and following rows are zero
Set 1
Standardized
Canonical
Correlation
Coefficients
Variable 1
1.000
agecat
Set 2
Standardized
Canonical
Correlation
Coefficients
Variable 1
accid .046
pop 1.004
Set 1
Unstandardized
Canonical
Correlation
Coefficients
Variable 1
1.118
agecat
Set 2
Unstandardized
Canonical
Correlation
Coefficients
Variable 1
accid .000
pop .000
Set 1 Canonical
Loadings
Variable 1
1.000
agecat
Set 2 Canonical
Loadings
Variable 1
accid -.061
pop .999
Set 1 Cross
Loadings
Variable 1
.728
agecat
Set 2 Cross
Loadings
Variable 1
accid -.044
pop .728
Canonical Variable Set 1 by Self Set 1 by Set 2 Set 2 by Self Set 2 by Set 1
1 1.000 .530 .501 .266
Messages
Warnings
The requested canonical correlations could not be computed due
to singularity or missing data.
5.Regression
a.Linear
Your temporary usage period for IBM SPSS Statistics will expire in 4440 days.
GET
FILE='C:\Program Files\IBM\SPSS\Statistics\25\Samples\English\accidents.sav'
.
DATASET NAME DataSet1 WINDOW=FRONT.
REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT agecat
/METHOD=ENTER accid.
Regression
[DataSet1] C:\Program Files\IBM\SPSS\Statistics\25\Samples\English\accidents.s
av
a
Variables Entered/Removed
Variables Variables
Model Entered Removed Method
b
1 Accidents . Enter
Model Summary
Adjusted R Std. Error of the
Model R R Square Square Estimate
a
1 .044 .002 -.248 .999
Sum of
Model Squares df Mean Square F Sig.
b
1 Regression .008 1 .008 .008 .933
Residual 3.992 4 .998
Total 4.000 5
a. Dependent Variable: Age category
b. Predictors: (Constant), Accidents
Coeffi
a
cients
Standardized
Unstandardized Coefficients Coefficients
Model B Std. Error Beta t Sig.
1 (Constant) 2.477 5.380 .460 .669
Accidents -7.847E-6 .000 -.044 -.089 .933
a. Dependent Variable: Age category
b.Curve Estimation
* Curve Estimation.
TSET NEWVAR=NONE.
CURVEFIT
/VARIABLES=agecat accid WITH pop
/CONSTANT
/MODEL=LINEAR
/PLOT FIT
/ID=gender.
Curve Fit
Model Description
Total Cases 6
a
Excluded Cases 0
Forecasted Cases 0
Newly Created Cases 0
a. Cases with a missing value in any variable are excluded from the analysis.
c.Non Linear
GET
FILE='C:\Program Files\IBM\SPSS\Statistics\25\Samples\English\accidents.sav'
.
DATASET NAME DataSet2 WINDOW=FRONT.
* NonLinear Regression.
MODEL PROGRAM A=50 B=0.5.
COMPUTE PRED_=A*EXP(B*gender).
NLR accid
/OUTFILE='C:\Users\rohit\AppData\Local\Temp\spss796\SPSSFNLR.TMP'
/PRED PRED_
/CRITERIA SSCONVERGENCE 1E-8 PCON 1E-8.
Nonlinear Regression Analysis
[DataSet2] C:\Program Files\IBM\SPSS\Statistics\25\Samples\English\accidents.s
av
b
Iteration History
Parameter
Residual Sum
a
Iteration Number of Squares A B
1.0 2.226E+10 50.000 .500
1.1 1.855E+68 4733.192 69.585
1.2 3.098E+12 499.124 7.671
1.3 2.216E+10 95.599 1.233
2.0 2.216E+10 95.599 1.233
2.1 2.201E+10 142.527 1.630
3.0 2.201E+10 142.527 1.630
3.1 2.172E+10 204.837 1.999
4.0 2.172E+10 204.837 1.999
4.1 2.119E+10 288.520 2.356
5.0 2.119E+10 288.520 2.356
5.1 2.024E+10 399.824 2.704
6.0 2.024E+10 399.824 2.704
6.1 1.865E+10 543.664 3.034
7.0 1.865E+10 543.664 3.034
7.1 1.599E+10 749.897 3.385
8.0 1.599E+10 749.897 3.385
8.1 1.283E+10 1045.227 3.737
b
Iteration History
Parameter
Residual Sum
a
Iteration Number of Squares A B
9.0 1.283E+10 1045.227 3.737
9.1 1.218E+10 1594.351 3.508
10.0 1.218E+10 1594.351 3.508
10.1 1.190E+10 2576.237 2.965
11.0 1.190E+10 2576.237 2.965
11.1 1.138E+10 3720.183 2.659
12.0 1.138E+10 3720.183 2.659
12.1 1.065E+10 6033.334 2.106
13.0 1.065E+10 6033.334 2.106
13.1 9214861794 10582.253 1.495
14.0 9214861794 10582.253 1.495
14.1 6585765682 19772.404 .824
15.0 6585765682 19772.404 .824
15.1 2649799095 38212.692 .144
16.0 2649799095 38212.692 .144
16.1 173294123.1 65191.667 -.284
17.0 173294123.1 65191.667 -.284
17.1 13534805.04 65191.667 -.135
18.0 13534805.04 65191.667 -.135
18.1 12546697.56 65191.667 -.145
19.0 12546697.56 65191.667 -.145
19.1 12546672.67 65191.667 -.145
20.0 12546672.67 65191.667 -.145
20.1 12546672.67 65191.667 -.145
Derivatives are calculated numerically.
a. Major iteration number is displayed to the left of the decimal, and minor iteration number is to the right of the
decimal.
b. Run stopped after 42 model evaluations and 20 derivative evaluations because the relative reduction between
successive residual sums of squares is at most SSCON = 1.000E-8, and the relative reduction between successive
parameter estimates is at most PCON = 1.000E-8.
Parameter Estimates
95% Confidence Interval
Parameter Estimate Std. Error Lower Bound Upper Bound
A 65191.667 1022.524 62352.684 68030.649
B -.145 .024 -.211 -.078
Correlations of
Parameter
Estimates
A B
A 1.000 -.654
B -.654 1.000
a
ANOVA
Sum of
Source Squares df Mean Squares
Regression 2.230E+10 2 1.115E+10
Residual 12546672.67 4 3136668.167
Uncorrected Total 2.231E+10 6
Corrected Total 128196833.3 5
Dependent variable: Accidents
a. R squared = 1 - (Residual Sum of Squares) / (Corrected Sum of
Squares) = .902.
d.Weight Estimation
* Weight Estimation.
TSET NEWVAR=NONE.
Log-Likelihood Valuesb
a
Power -2.000 -6.921
-1.500 -7.078
-1.000 -7.249
-.500 -7.402
.000 -7.508
.500 -7.539
1.000 -7.482
1.500 -7.336
2.000 -7.114
a. The corresponding power is selected for further analysis because it maximizes the log-likelihood function.
b. Dependent variable: agecat, source variable: agecat
Model Description
Dependent Variable agecat
Independent Variables 1 accid
Weight Source agecat
Power Value -2.000
Model: MOD_2.
Model Summary
Multiple R .040
R Square .002
Adjusted R Square -.248
Std. Error of the Estimate 1.646
Log-likelihood Function -6.921
Value
ANOVA
Sum of
Squares df Mean Square F Sig.
Regression .018 1 .018 .007 .939
Residual 10.839 4 2.710
Total 10.857 5
Coefficients
Unstandardized Coefficients Standardized Coefficients
B Std. Error Beta Std. Error t Sig.
(Constant) 2.847 3.414 .834 .451
accid -4.540E-6 .000 -.040 .500 -.081 .939