The Story of Adam.....

Download as pdf or txt
Download as pdf or txt
You are on page 1of 44

ISSRA YASEEN

21011513-025

DEPARTMENT OF STATISTICS

SEMESTER 6TH

ESIGN AND ANALYSIS


OF EXPERIMENT]
WORKSHEET 2

Full Factorial Design

Design Summary
Factors: 2 Base Design: 2, 4
Runs: 4 Replicates: 1
Blocks: 1 Center pts 0
(total):
All terms are free from aliasing.

WORKSHEET 1

Factorial Regression: sex versus time, ejection_fraction

* NOTE * This design has some botched runs.

* NOTE * This design is not orthogonal.


Coded Coefficients
Term Effect Coef SE Coef T-Value P-Value VIF
Constant 0.327 0.771 0.42 0.676
time 0.01133 0.00566 0.00614 0.92 0.367 19.34
ejection_fraction 0.0250 0.0125 0.0240 0.52 0.608 7.17
time*ejection_fraction -0.000358 -0.000179 0.000180 -1.00 0.331 31.45
Model Summary
S R-sq R-sq(adj) R-sq(pred)
0.497393 9.80% 0.00% 0.00%
Analysis of Variance
Source DF Adj SS Adj MS F-Value P-Value
Model 3 0.56460 0.188199 0.76 0.529
Linear 2 0.28855 0.144276 0.58 0.567
time 1 0.21052 0.210515 0.85 0.367
ejection_fraction 1 0.06700 0.066996 0.27 0.608
2-Way Interactions 1 0.24550 0.245504 0.99 0.331
time*ejection_fraction 1 0.24550 0.245504 0.99 0.331
Error 21 5.19540 0.247400
Lack-of-Fit 19 5.19540 0.273442 * *
Pure Error 2 0.00000 0.000000
Total 24 5.76000

Interpretation:
This interpretation suggests that based on this analysis, none of the predictors or their
interactions have a statistically significant effect on the outcome variable, at least in this model.
Regression Equation in Uncoded Units
sex = 0.296 + 0.000046 time + 0.00064 ejection_fraction
- 0.000000 time*ejection_fraction
Alias Structure
Factor Name
A time
B ejection_fraction
Aliases
I
A
B
AB
WORKSHEET 1

Contour Plot of sex vs ejection_fraction, time

WORKSHEET 1

Surface Plot of sex vs ejection_fraction, time

WORKSHEET 3

Full Factorial Design

Design Summary
Factors: 3 Base Design: 3, 8
Runs: 8 Replicates: 1
Blocks: 1 Center pts 0
(total):
All terms are free from aliasing.

WORKSHEET 1

Factorial Regression: sex versus time, ejection_fraction

* NOTE * This design has some botched runs.

* NOTE * This design is not orthogonal.


Coded Coefficients
Term Effect Coef SE Coef T-Value P-Value VIF
Constant 0.327 0.771 0.42 0.676
time 0.01133 0.00566 0.00614 0.92 0.367 19.34
ejection_fraction 0.0250 0.0125 0.0240 0.52 0.608 7.17
time*ejection_fraction -0.000358 -0.000179 0.000180 -1.00 0.331 31.45
Model Summary
S R-sq R-sq(adj) R-sq(pred)
0.497393 9.80% 0.00% 0.00%
Analysis of Variance
Source DF Adj SS Adj MS F-Value P-Value
Model 3 0.56460 0.188199 0.76 0.529
Linear 2 0.28855 0.144276 0.58 0.567
time 1 0.21052 0.210515 0.85 0.367
ejection_fraction 1 0.06700 0.066996 0.27 0.608
2-Way Interactions 1 0.24550 0.245504 0.99 0.331
time*ejection_fraction 1 0.24550 0.245504 0.99 0.331
Error 21 5.19540 0.247400
Lack-of-Fit 19 5.19540 0.273442 * *
Pure Error 2 0.00000 0.000000
Total 24 5.76000
INTERPRETATION:

Based on the non-significant F-values and high p-values (> 0.05), the model does not provide
evidence that time, ejection fraction, or their interaction have a significant effect on the outcome
variable in this analysis
Regression Equation in Uncoded Units
sex = 0.296 + 0.000046 time + 0.00064 ejection_fraction
- 0.000000 time*ejection_fraction
Alias Structure
Factor Name
A time
B ejection_fraction
Aliases
I
A
B
AB
WORKSHEET 5

Full Factorial Design

Design Summary
Factors: 4 Base Design: 4, 16
Runs: 16 Replicates: 1
Blocks: 1 Center pts 0
(total):
All terms are free from aliasing.

WORKSHEET 4

Factorial Regression: platelets versus high_blood_pressure, serum_creatinine

* NOTE * This design has some botched runs.

* NOTE * This design is not orthogonal.


Coded Coefficients
Term Effect Coef SE Coef T-Value P-Value VIF
Constant 255875 34360 7.45 0.000
high_blood_pressure -194659 -97330 237667 -0.41 0.689 39.02
serum_creatinine 35690 17845 18323 0.97 0.349 1.06
high_blood_pressure*serum_creatinine 233401 116700 238506 0.49 0.633 38.74
Model Summary
S R-sq R-sq(adj) R-sq(pred)
70543.1 9.88% 0.00% 0.00%
Analysis of Variance
Source DF Adj SS Adj MS F-Value P-Value
Model 3 6546591775 2182197258 0.44 0.730
Linear 2 6083642969 3041821485 0.61 0.559
high_blood_pressure 1 834566285 834566285 0.17 0.689
serum_creatinine 1 4719949247 4719949247 0.95 0.349
2-Way Interactions 1 1191396945 1191396945 0.24 0.633
high_blood_pressure*serum_creatinine 1 1191396945 1191396945 0.24 0.633
Error 12 59716010947 4976334246
Lack-of-Fit 7 50114061250 7159151607 3.73 0.083
Pure Error 5 9601949697 1920389939
Total 15 66262602722

Interpretation:
The F-values are low and the p-values are high (> 0.05), indicating that neither high blood
pressure, serum creatinine, nor their interaction have a significant effect on the outcome variable
in this analysis.
Regression Equation in Uncoded Units
platelets = 484246 - 504051 high_blood_pressure
- 45979 serum_creatinine
+ 108559 high_blood_pressure*serum_creatinine
Fits and Diagnostics for Unusual Observations
Obs platelets Fit Resid Std Resid
2 305000 345100 -40100 -2.15 R X
5 461000 291565 169435 2.55 R

R Large residual
X Unusual X

Alias Structure
Factor Name
A high_blood_pressure
B serum_creatinine
Aliases
I
A
B
AB
WORKSHEET 7

Fractional Factorial Design

Design Summary
Factors: 4 Base Design: 4, 8 Resolution: IV
Runs: 8 Replicates: 1 Fraction: 1/2
Blocks: 1 Center pts 0
(total):

Design Generators: D = ABC

Alias Structure
I + ABCD
A + BCD
B + ACD
C + ABD
D + ABC
AB + CD
AC + BD
AD + BC
WORKSHEET 1

Factorial Regression: DEATH_EVENT versus time, ejection_fraction

* NOTE * This design has some botched runs.

* NOTE * This design is not orthogonal.


Coded Coefficients
Term Effect Coef SE Coef T-Value P-Value VIF
Constant 2.321 0.413 5.62 0.000
time -0.02007 -0.01004 0.00329 -3.05 0.006 19.34
ejection_fraction -0.1037 -0.0518 0.0129 -4.02 0.001 7.17
time*ejection_fraction 0.000457 0.000229 0.000096 2.37 0.027 31.45
Model Summary
S R-sq R-sq(adj) R-sq(pred)
0.266554 70.40% 66.17% 55.46%
Analysis of Variance
Source DF Adj SS Adj MS F-Value P-Value
Model 3 3.54792 1.18264 16.64 0.000
Linear 2 1.20578 0.60289 8.49 0.002
time 1 0.66136 0.66136 9.31 0.006
ejection_fraction 1 1.15054 1.15054 16.19 0.001
2-Way Interactions 1 0.40062 0.40062 5.64 0.027
time*ejection_fraction 1 0.40062 0.40062 5.64 0.027
Error 21 1.49208 0.07105
Lack-of-Fit 19 1.49208 0.07853 * *
Pure Error 2 0.00000 0.00000
Total 24 5.04000

Interpretation:
In this analysis, both main effects and their interaction contribute significantly to explaining the
variation in the dependent variable
Regression Equation in Uncoded Units
DEATH_EVENT = 2.435 - 0.000080 time
- 0.002604 ejection_fraction
+ 0.000000 time*ejection_fraction
Fits and Diagnostics for Unusual Observations
Obs DEATH_EVENT Fit Resid Std Resid
17 1.000 0.399 0.601 2.55 R

R Large residual

Alias Structure
Factor Name
A time
B ejection_fraction
Aliases
I
A
B
AB
WORKSHEET 1

Factorial Regression: smoking versus time, ejection_fraction

* NOTE * This design has some botched runs.

* NOTE * This design is not orthogonal.


Coded Coefficients
Term Effect Coef SE Coef T-Value P-Value VIF
Constant 0.606 0.745 0.81 0.425
time -0.00804 -0.00402 0.00593 -0.68 0.506 19.34
ejection_fraction -0.0143 -0.0071 0.0232 -0.31 0.762 7.17
time*ejection_fraction 0.000188 0.000094 0.000174 0.54 0.595 31.45
Model Summary
S R-sq R-sq(adj) R-sq(pred)
0.480789 3.68% 0.00% 0.00%
Analysis of Variance
Source DF Adj SS Adj MS F-Value P-Value
Model 3 0.18568 0.06189 0.27 0.848
Linear 2 0.17929 0.08965 0.39 0.683
time 1 0.10605 0.10605 0.46 0.506
ejection_fraction 1 0.02181 0.02181 0.09 0.762
2-Way Interactions 1 0.06737 0.06737 0.29 0.595
time*ejection_fraction 1 0.06737 0.06737 0.29 0.595
Error 21 4.85432 0.23116
Lack-of-Fit 19 4.35432 0.22917 0.92 0.644
Pure Error 2 0.50000 0.25000
Total 24 5.04000

Interpretation:
In this analysis, both main effects and their interaction contribute significantly to explaining the
variation in the dependent variable

Regression Equation in Uncoded Units


smoking = 0.625 - 0.000032 time - 0.00036 ejection_fraction
+ 0.000000 time*ejection_fraction
Alias Structure
Factor Name
A time
B ejection_fraction
Aliases
I
A
B
AB
WORKSHEET 8

Fractional Factorial Design

Design Summary
Factors: 5 Base Design: 5, 16 Resolution: V
Runs: 16 Replicates: 1 Fraction: 1/2
Blocks: 1 Center pts 0
(total):

Design Generators: E = ABCD

Alias Structure
I + ABCDE
A + BCDE
B + ACDE
C + ABDE
D + ABCE
E + ABCD
AB + CDE
AC + BDE
AD + BCE
AE + BCD
BC + ADE
BD + ACE
BE + ACD
CD + ABE
CE + ABD
DE + ABC

WORKSHEET 1

Factorial Regression: high_blood_pressure versus time, ejection_fraction

* NOTE * This design has some botched runs.

* NOTE * This design is not orthogonal.


Coded Coefficients
Term Effect Coef SE Coef T-Value P-Value VIF
Constant -0.009 0.745 -0.01 0.991
time 0.00123 0.00062 0.00593 0.10 0.918 19.34
ejection_fraction 0.0119 0.0060 0.0232 0.26 0.800 7.17
time*ejection_fraction -0.000002 -0.000001 0.000174 -0.00 0.996 31.45
Model Summary
S R-sq R-sq(adj) R-sq(pred)
0.480663 3.73% 0.00% 0.00%
Analysis of Variance
Source DF Adj SS Adj MS F-Value P-Value
Model 3 0.18822 0.062739 0.27 0.845
Linear 2 0.02837 0.014184 0.06 0.941
time 1 0.00249 0.002485 0.01 0.918
ejection_fraction 1 0.01521 0.015211 0.07 0.800
2-Way Interactions 1 0.00001 0.000006 0.00 0.996
time*ejection_fraction 1 0.00001 0.000006 0.00 0.996
Error 21 4.85178 0.231037
Lack-of-Fit 19 4.85178 0.255357 * *
Pure Error 2 0.00000 0.000000
Total 24 5.04000
Regression Equation in Uncoded Units
high_blood_pressure = -0.021 + 0.000005 time
+ 0.00030 ejection_fraction
- 0.000000 time*ejection_fraction
Alias Structure
Factor Name
A time
B ejection_fraction
Aliases
I
A
B
AB
WORKSHEET 9

Multilevel Factorial Design

Design Summary
Factors: 2 Replicates: 1
Base runs: 9 Total runs: 9
Base blocks: 1 Total blocks: 1

Number of levels: 3, 3

WORKSHEET 1

Factorial Regression: high_blood_pressure versus time, ejection_fraction

* NOTE * This design has some botched runs.

* NOTE * This design is not orthogonal.


Coded Coefficients
Term Effect Coef SE Coef T-Value P-Value VIF
Constant -0.009 0.745 -0.01 0.991
time 0.00123 0.00062 0.00593 0.10 0.918 19.34
ejection_fraction 0.0119 0.0060 0.0232 0.26 0.800 7.17
time*ejection_fraction -0.000002 -0.000001 0.000174 -0.00 0.996 31.45
Model Summary
S R-sq R-sq(adj) R-sq(pred)
0.480663 3.73% 0.00% 0.00%
Analysis of Variance
Source DF Adj SS Adj MS F-Value P-Value
Model 3 0.18822 0.062739 0.27 0.845
Linear 2 0.02837 0.014184 0.06 0.941
time 1 0.00249 0.002485 0.01 0.918
ejection_fraction 1 0.01521 0.015211 0.07 0.800
2-Way Interactions 1 0.00001 0.000006 0.00 0.996
time*ejection_fraction 1 0.00001 0.000006 0.00 0.996
Error 21 4.85178 0.231037
Lack-of-Fit 19 4.85178 0.255357 * *
Pure Error 2 0.00000 0.000000
Total 24 5.04000

Interpretation:
In this analysis, both main effects and their interaction contribute significantly to explaining the
variation in the dependent variable

Regression Equation in Uncoded Units


high_blood_pressure = -0.021 + 0.000005 time
+ 0.00030 ejection_fraction
- 0.000000 time*ejection_fraction
Alias Structure
Factor Name
A time
B ejection_fraction
Aliases
I
A
B
AB
WORKSHEET 1

Factorial Regression: sex versus time, ejection_fraction

* NOTE * This design has some botched runs.

* NOTE * This design is not orthogonal.


Coded Coefficients
Term Effect Coef SE Coef T-Value P-Value VIF
Constant 0.327 0.771 0.42 0.676
time 0.01133 0.00566 0.00614 0.92 0.367 19.34
ejection_fraction 0.0250 0.0125 0.0240 0.52 0.608 7.17
time*ejection_fraction -0.000358 -0.000179 0.000180 -1.00 0.331 31.45
Model Summary
S R-sq R-sq(adj) R-sq(pred)
0.497393 9.80% 0.00% 0.00%
Analysis of Variance
Source DF Adj SS Adj MS F-Value P-Value
Model 3 0.56460 0.188199 0.76 0.529
Linear 2 0.28855 0.144276 0.58 0.567
time 1 0.21052 0.210515 0.85 0.367
ejection_fraction 1 0.06700 0.066996 0.27 0.608
2-Way Interactions 1 0.24550 0.245504 0.99 0.331
time*ejection_fraction 1 0.24550 0.245504 0.99 0.331
Error 21 5.19540 0.247400
Lack-of-Fit 19 5.19540 0.273442 * *
Pure Error 2 0.00000 0.000000
Total 24 5.76000
Regression Equation in Uncoded Units
sex = 0.296 + 0.000046 time + 0.00064 ejection_fraction
- 0.000000 time*ejection_fraction
Alias Structure
Factor Name
A time
B ejection_fraction
Aliases
I
A
B
AB
WORKSHEET 11

Multilevel Factorial Design

Design Summary
Factors: 4 Replicates: 1
Base runs: 81 Total runs: 81
Base blocks: 1 Total blocks: 1

Number of levels: 3, 3, 3, 3

WORKSHEET 1

Factorial Regression: high_blood_pressure versus time, ejection_fraction

* NOTE * This design has some botched runs.

* NOTE * This design is not orthogonal.


Coded Coefficients
Term Effect Coef SE Coef T-Value P-Value VIF
Constant -0.009 0.745 -0.01 0.991
time 0.00123 0.00062 0.00593 0.10 0.918 19.34
ejection_fraction 0.0119 0.0060 0.0232 0.26 0.800 7.17
time*ejection_fraction -0.000002 -0.000001 0.000174 -0.00 0.996 31.45
Model Summary
S R-sq R-sq(adj) R-sq(pred)
0.480663 3.73% 0.00% 0.00%
Analysis of Variance
Source DF Adj SS Adj MS F-Value P-Value
Model 3 0.18822 0.062739 0.27 0.845
Linear 2 0.02837 0.014184 0.06 0.941
time 1 0.00249 0.002485 0.01 0.918
ejection_fraction 1 0.01521 0.015211 0.07 0.800
2-Way Interactions 1 0.00001 0.000006 0.00 0.996
time*ejection_fraction 1 0.00001 0.000006 0.00 0.996
Error 21 4.85178 0.231037
Lack-of-Fit 19 4.85178 0.255357 * *
Pure Error 2 0.00000 0.000000
Total 24 5.04000
Regression Equation in Uncoded Units
high_blood_pressure = -0.021 + 0.000005 time
+ 0.00030 ejection_fraction
- 0.000000 time*ejection_fraction
Alias Structure
Factor Name
A time
B ejection_fraction
Aliases
I
A
B
AB
WORKSHEET 1

Factorial Regression: sex versus time, ejection_fraction

* NOTE * This design has some botched runs.

* NOTE * This design is not orthogonal.


Coded Coefficients
Term Effect Coef SE Coef T-Value P-Value VIF
Constant 0.327 0.771 0.42 0.676
time 0.01133 0.00566 0.00614 0.92 0.367 19.34
ejection_fraction 0.0250 0.0125 0.0240 0.52 0.608 7.17
time*ejection_fraction -0.000358 -0.000179 0.000180 -1.00 0.331 31.45
Model Summary
S R-sq R-sq(adj) R-sq(pred)
0.497393 9.80% 0.00% 0.00%
Analysis of Variance
Source DF Adj SS Adj MS F-Value P-Value
Model 3 0.56460 0.188199 0.76 0.529
Linear 2 0.28855 0.144276 0.58 0.567
time 1 0.21052 0.210515 0.85 0.367
ejection_fraction 1 0.06700 0.066996 0.27 0.608
2-Way Interactions 1 0.24550 0.245504 0.99 0.331
time*ejection_fraction 1 0.24550 0.245504 0.99 0.331
Error 21 5.19540 0.247400
Lack-of-Fit 19 5.19540 0.273442 * *
Pure Error 2 0.00000 0.000000
Total 24 5.76000
Regression Equation in Uncoded Units
sex = 0.296 + 0.000046 time + 0.00064 ejection_fraction
- 0.000000 time*ejection_fraction
Alias Structure
Factor Name
A time
B ejection_fraction
Aliases
I
A
B
AB
WORKSHEET 1

Factorial Regression: smoking versus time, ejection_fraction

* NOTE * This design has some botched runs.

* NOTE * This design is not orthogonal.


Coded Coefficients
Term Effect Coef SE Coef T-Value P-Value VIF
Constant 0.606 0.745 0.81 0.425
time -0.00804 -0.00402 0.00593 -0.68 0.506 19.34
ejection_fraction -0.0143 -0.0071 0.0232 -0.31 0.762 7.17
time*ejection_fraction 0.000188 0.000094 0.000174 0.54 0.595 31.45
Model Summary
S R-sq R-sq(adj) R-sq(pred)
0.480789 3.68% 0.00% 0.00%
Analysis of Variance
Source DF Adj SS Adj MS F-Value P-Value
Model 3 0.18568 0.06189 0.27 0.848
Linear 2 0.17929 0.08965 0.39 0.683
time 1 0.10605 0.10605 0.46 0.506
ejection_fraction 1 0.02181 0.02181 0.09 0.762
2-Way Interactions 1 0.06737 0.06737 0.29 0.595
time*ejection_fraction 1 0.06737 0.06737 0.29 0.595
Error 21 4.85432 0.23116
Lack-of-Fit 19 4.35432 0.22917 0.92 0.644
Pure Error 2 0.50000 0.25000
Total 24 5.04000
Regression Equation in Uncoded Units
smoking = 0.625 - 0.000032 time - 0.00036 ejection_fraction
+ 0.000000 time*ejection_fraction
Alias Structure
Factor Name
A time
B ejection_fraction
Aliases
I
A
B
AB

WORKSHEET 1

Factorial Regression: DEATH_EVENT versus time, ejection_fraction


* NOTE * This design has some botched runs.

* NOTE * This design is not orthogonal.


Coded Coefficients
Term Effect Coef SE Coef T-Value P-Value VIF
Constant 2.321 0.413 5.62 0.000
time -0.02007 -0.01004 0.00329 -3.05 0.006 19.34
ejection_fraction -0.1037 -0.0518 0.0129 -4.02 0.001 7.17
time*ejection_fraction 0.000457 0.000229 0.000096 2.37 0.027 31.45
Model Summary
S R-sq R-sq(adj) R-sq(pred)
0.266554 70.40% 66.17% 55.46%
Analysis of Variance
Source DF Adj SS Adj MS F-Value P-Value
Model 3 3.54792 1.18264 16.64 0.000
Linear 2 1.20578 0.60289 8.49 0.002
time 1 0.66136 0.66136 9.31 0.006
ejection_fraction 1 1.15054 1.15054 16.19 0.001
2-Way Interactions 1 0.40062 0.40062 5.64 0.027
time*ejection_fraction 1 0.40062 0.40062 5.64 0.027
Error 21 1.49208 0.07105
Lack-of-Fit 19 1.49208 0.07853 * *
Pure Error 2 0.00000 0.00000
Total 24 5.04000
Regression Equation in Uncoded Units
DEATH_EVENT = 2.435 - 0.000080 time
- 0.002604 ejection_fraction
+ 0.000000 time*ejection_fraction
Fits and Diagnostics for Unusual Observations
Obs DEATH_EVENT Fit Resid Std Resid
17 1.000 0.399 0.601 2.55 R

R Large residual

Alias Structure
Factor Name
A time
B ejection_fraction
Aliases
I
A
B
AB
WORKSHEET 12

Full Factorial Split-Plot Design

Design Summary
Factors: 2 Whole plots: 4
Hard-to- 1 Runs per whole plot: 2
change:
Runs: 8 Whole-plot 2
replicates:
Blocks: 1 Subplot replicates: 1

Hard-to-change factors: A

Whole Plot Generators: A

All terms are free from aliasing.

WORKSHEET 12

General Linear Model: StdOrder versus WP, sex[HTC], platelets

The following terms cannot be estimated and were removed:


WP(platelets)

Method
Factor (-1, 0, +1)
coding
Factor Information
Factor Type Levels Values
sex[HTC] Fixed 2 -1, 1
platelets Fixed 2 -1, 1
Analysis of Variance
Source DF Adj SS Adj MS F-Value P-Value
sex[HTC] 1 8.000 8.000 1.25 0.314
platelets 1 2.000 2.000 0.31 0.600
Error 5 32.000 6.400
Total 7 42.000
Model Summary
S R-sq R-sq(adj) R-sq(pred)
2.52982 23.81% 0.00% 0.00%
Coefficients
Term Coef SE Coef T-Value P-Value VIF
Constant 4.500 0.894 5.03 0.004
sex[HTC]
-1 -1.000 0.894 -1.12 0.314 1.00
platelets
-1 -0.500 0.894 -0.56 0.600 1.00
Regression Equation
StdOrder = 4.500 - 1.000 sex[HTC]_-1 + 1.000 sex[HTC]_1 - 0.500 platelets_-1
+ 0.500 platelets_1
Expected Mean Squares, using Adjusted SS
Expected Mean
Square for
Source Each Term
1 sex[HTC] (3) + Q[1]
2 platelets (3) + Q[2]
3 Error (3)
Error Terms for Tests, using Adjusted SS
Synthesis
Source Error DF Error MS of Error MS
1 sex[HTC] 5.00 6.4000 (3)
2 platelets 5.00 6.4000 (3)
Variance Components, using Adjusted SS
Source Variance % of Total StDev % of Total
Error 6.4 100.00% 2.52982 100.00%
Total 6.4 2.52982

WORKSHEET 14

Multilevel Factorial Design

Design Summary
Factors: 2 Replicates: 1
Base runs: 9 Total runs: 9
Base blocks: 1 Total blocks: 1

Number of levels: 3, 3

WORKSHEET 1

Factorial Regression: high_blood_pressure versus time, ejection_fraction

* NOTE * This design has some botched runs.

* NOTE * This design is not orthogonal.


Coded Coefficients
Term Effect Coef SE Coef T-Value P-Value VIF
Constant -0.009 0.745 -0.01 0.991
time 0.00123 0.00062 0.00593 0.10 0.918 19.34
ejection_fraction 0.0119 0.0060 0.0232 0.26 0.800 7.17
time*ejection_fraction -0.000002 -0.000001 0.000174 -0.00 0.996 31.45
Model Summary
S R-sq R-sq(adj) R-sq(pred)
0.480663 3.73% 0.00% 0.00%
Analysis of Variance
Source DF Adj SS Adj MS F-Value P-Value
Model 3 0.18822 0.062739 0.27 0.845
Linear 2 0.02837 0.014184 0.06 0.941
time 1 0.00249 0.002485 0.01 0.918
ejection_fraction 1 0.01521 0.015211 0.07 0.800
2-Way Interactions 1 0.00001 0.000006 0.00 0.996
time*ejection_fraction 1 0.00001 0.000006 0.00 0.996
Error 21 4.85178 0.231037
Lack-of-Fit 19 4.85178 0.255357 * *
Pure Error 2 0.00000 0.000000
Total 24 5.04000
Regression Equation in Uncoded Units
high_blood_pressure = -0.021 + 0.000005 time
+ 0.00030 ejection_fraction
- 0.000000 time*ejection_fraction
Alias Structure
Factor Name
A time
B ejection_fraction
Aliases
I
A
B
AB
WORKSHEET 1

Factorial Regression: sex versus time, ejection_fraction

* NOTE * This design has some botched runs.

* NOTE * This design is not orthogonal.


Coded Coefficients
Term Effect Coef SE Coef T-Value P-Value VIF
Constant 0.327 0.771 0.42 0.676
time 0.01133 0.00566 0.00614 0.92 0.367 19.34
ejection_fraction 0.0250 0.0125 0.0240 0.52 0.608 7.17
time*ejection_fraction -0.000358 -0.000179 0.000180 -1.00 0.331 31.45
Model Summary
S R-sq R-sq(adj) R-sq(pred)
0.497393 9.80% 0.00% 0.00%
Analysis of Variance
Source DF Adj SS Adj MS F-Value P-Value
Model 3 0.56460 0.188199 0.76 0.529
Linear 2 0.28855 0.144276 0.58 0.567
time 1 0.21052 0.210515 0.85 0.367
ejection_fraction 1 0.06700 0.066996 0.27 0.608
2-Way Interactions 1 0.24550 0.245504 0.99 0.331
time*ejection_fraction 1 0.24550 0.245504 0.99 0.331
Error 21 5.19540 0.247400
Lack-of-Fit 19 5.19540 0.273442 * *
Pure Error 2 0.00000 0.000000
Total 24 5.76000
INTERPRETATION:;

Based on the non-significant F-values and high p-values (> 0.05), the predictors (time, ejection
fraction, and their interaction) do not appear to have a meaningful relationship with the outcome
variable in this analysis.

Regression Equation in Uncoded Units


sex = 0.296 + 0.000046 time + 0.00064 ejection_fraction
- 0.000000 time*ejection_fraction
Alias Structure
Factor Name
A time
B ejection_fraction
Aliases
I
A
B
AB

WORKSHEET 1

Factorial Regression: smoking versus time, ejection_fraction

* NOTE * This design has some botched runs.

* NOTE * This design is not orthogonal.


Coded Coefficients
Term Effect Coef SE Coef T-Value P-Value VIF
Constant 0.606 0.745 0.81 0.425
time -0.00804 -0.00402 0.00593 -0.68 0.506 19.34
ejection_fraction -0.0143 -0.0071 0.0232 -0.31 0.762 7.17
time*ejection_fraction 0.000188 0.000094 0.000174 0.54 0.595 31.45
Model Summary
S R-sq R-sq(adj) R-sq(pred)
0.480789 3.68% 0.00% 0.00%
Analysis of Variance
Source DF Adj SS Adj MS F-Value P-Value
Model 3 0.18568 0.06189 0.27 0.848
Linear 2 0.17929 0.08965 0.39 0.683
time 1 0.10605 0.10605 0.46 0.506
ejection_fraction 1 0.02181 0.02181 0.09 0.762
2-Way Interactions 1 0.06737 0.06737 0.29 0.595
time*ejection_fraction 1 0.06737 0.06737 0.29 0.595
Error 21 4.85432 0.23116
Lack-of-Fit 19 4.35432 0.22917 0.92 0.644
Pure Error 2 0.50000 0.25000
Total 24 5.04000
Regression Equation in Uncoded Units
smoking = 0.625 - 0.000032 time - 0.00036 ejection_fraction
+ 0.000000 time*ejection_fraction
Alias Structure
Factor Name
A time
B ejection_fraction
Aliases
I
A
B
AB
WORKSHEET 1

Factorial Regression: DEATH_EVENT versus time, ejection_fraction

* NOTE * This design has some botched runs.

* NOTE * This design is not orthogonal.


Coded Coefficients
Term Effect Coef SE Coef T-Value P-Value VIF
Constant 2.321 0.413 5.62 0.000
time -0.02007 -0.01004 0.00329 -3.05 0.006 19.34
ejection_fraction -0.1037 -0.0518 0.0129 -4.02 0.001 7.17
time*ejection_fraction 0.000457 0.000229 0.000096 2.37 0.027 31.45
Model Summary
S R-sq R-sq(adj) R-sq(pred)
0.266554 70.40% 66.17% 55.46%
Analysis of Variance
Source DF Adj SS Adj MS F-Value P-Value
Model 3 3.54792 1.18264 16.64 0.000
Linear 2 1.20578 0.60289 8.49 0.002
time 1 0.66136 0.66136 9.31 0.006
ejection_fraction 1 1.15054 1.15054 16.19 0.001
2-Way Interactions 1 0.40062 0.40062 5.64 0.027
time*ejection_fraction 1 0.40062 0.40062 5.64 0.027
Error 21 1.49208 0.07105
Lack-of-Fit 19 1.49208 0.07853 * *
Pure Error 2 0.00000 0.00000
Total 24 5.04000
Interpretation:

In this analysis, neither time nor ejection fraction individually, nor their interaction, significantly
explain the variation in the dependent variable. The lack-of-fit test further suggests that the
model does not fit significantly better than what would be expected by chance alone. Therefore,
the predictors do not appear to have a meaningful relationship with the outcome variable in this
context.

Regression Equation in Uncoded Units


DEATH_EVENT = 2.435 - 0.000080 time
- 0.002604 ejection_fraction
+ 0.000000 time*ejection_fraction
Fits and Diagnostics for Unusual Observations
Obs DEATH_EVENT Fit Resid Std Resid
17 1.000 0.399 0.601 2.55 R

R Large residual

Alias Structure
Factor Name
A time
B ejection_fraction
Aliases
I
A
B
AB

WORKSHEET 15

Full Factorial Split-Plot Design

Design Summary
Factors: 2 Whole plots: 4
Hard-to- 1 Runs per whole plot: 2
change:
Runs: 8 Whole-plot 2
replicates:
Blocks: 1 Subplot replicates: 1

Hard-to-change factors: A

Whole Plot Generators: A

All terms are free from aliasing.

WORKSHEET 1

Factorial Regression: high_blood_pressure versus time, ejection_fraction

* NOTE * This design has some botched runs.

* NOTE * This design is not orthogonal.


Coded Coefficients
Term Effect Coef SE Coef T-Value P-Value VIF
Constant -0.009 0.745 -0.01 0.991
time 0.00123 0.00062 0.00593 0.10 0.918 19.34
ejection_fraction 0.0119 0.0060 0.0232 0.26 0.800 7.17
time*ejection_fraction -0.000002 -0.000001 0.000174 -0.00 0.996 31.45
Model Summary
S R-sq R-sq(adj) R-sq(pred)
0.480663 3.73% 0.00% 0.00%
Analysis of Variance
Source DF Adj SS Adj MS F-Value P-Value
Model 3 0.18822 0.062739 0.27 0.845
Linear 2 0.02837 0.014184 0.06 0.941
time 1 0.00249 0.002485 0.01 0.918
ejection_fraction 1 0.01521 0.015211 0.07 0.800
2-Way Interactions 1 0.00001 0.000006 0.00 0.996
time*ejection_fraction 1 0.00001 0.000006 0.00 0.996
Error 21 4.85178 0.231037
Lack-of-Fit 19 4.85178 0.255357 * *
Pure Error 2 0.00000 0.000000
Total 24 5.04000

Interpretation:
In this analysis, neither time nor ejection fraction individually, nor their interaction, significantly
explain the variation in the dependent variable. The lack-of-fit test further suggests that the
model does not fit significantly better than what would be expected by chance alone. Therefore,
the predictors do not appear to have a meaningful relationship with the outcome variable in this
context.

Regression Equation in Uncoded Units


high_blood_pressure = -0.021 + 0.000005 time
+ 0.00030 ejection_fraction
- 0.000000 time*ejection_fraction
Alias Structure
Factor Name
A time
B ejection_fraction
Aliases
I
A
B
AB
WORKSHEET 1

Factorial Regression: sex versus time, ejection_fraction

* NOTE * This design has some botched runs.

* NOTE * This design is not orthogonal.


Coded Coefficients
Term Effect Coef SE Coef T-Value P-Value VIF
Constant 0.327 0.771 0.42 0.676
time 0.01133 0.00566 0.00614 0.92 0.367 19.34
ejection_fraction 0.0250 0.0125 0.0240 0.52 0.608 7.17
time*ejection_fraction -0.000358 -0.000179 0.000180 -1.00 0.331 31.45
Model Summary
S R-sq R-sq(adj) R-sq(pred)
0.497393 9.80% 0.00% 0.00%
Analysis of Variance
Source DF Adj SS Adj MS F-Value P-Value
Model 3 0.56460 0.188199 0.76 0.529
Linear 2 0.28855 0.144276 0.58 0.567
time 1 0.21052 0.210515 0.85 0.367
ejection_fraction 1 0.06700 0.066996 0.27 0.608
2-Way Interactions 1 0.24550 0.245504 0.99 0.331
time*ejection_fraction 1 0.24550 0.245504 0.99 0.331
Error 21 5.19540 0.247400
Lack-of-Fit 19 5.19540 0.273442 * *
Pure Error 2 0.00000 0.000000
Total 24 5.76000
Regression Equation in Uncoded Units
sex = 0.296 + 0.000046 time + 0.00064 ejection_fraction
- 0.000000 time*ejection_fraction
Alias Structure
Factor Name
A time
B ejection_fraction
Aliases
I
A
B
AB

WORKSHEET 1

Factorial Regression: smoking versus time, ejection_fraction


* NOTE * This design has some botched runs.

* NOTE * This design is not orthogonal.


Coded Coefficients
Term Effect Coef SE Coef T-Value P-Value VIF
Constant 0.606 0.745 0.81 0.425
time -0.00804 -0.00402 0.00593 -0.68 0.506 19.34
ejection_fraction -0.0143 -0.0071 0.0232 -0.31 0.762 7.17
time*ejection_fraction 0.000188 0.000094 0.000174 0.54 0.595 31.45
Model Summary
S R-sq R-sq(adj) R-sq(pred)
0.480789 3.68% 0.00% 0.00%
Analysis of Variance
Source DF Adj SS Adj MS F-Value P-Value
Model 3 0.18568 0.06189 0.27 0.848
Linear 2 0.17929 0.08965 0.39 0.683
time 1 0.10605 0.10605 0.46 0.506
ejection_fraction 1 0.02181 0.02181 0.09 0.762
2-Way Interactions 1 0.06737 0.06737 0.29 0.595
time*ejection_fraction 1 0.06737 0.06737 0.29 0.595
Error 21 4.85432 0.23116
Lack-of-Fit 19 4.35432 0.22917 0.92 0.644
Pure Error 2 0.50000 0.25000
Total 24 5.04000
Interpretation:
In this analysis, neither the main effects nor their interaction significantly contribute to
explaining the variation in the dependent variable. The model overall does not provide evidence
of a meaningful relationship between the predictors and the outcome.

Regression Equation in Uncoded Units


smoking = 0.625 - 0.000032 time - 0.00036 ejection_fraction
+ 0.000000 time*ejection_fraction
Alias Structure
Factor Name
A time
B ejection_fraction
Aliases
I
A
B
AB
WORKSHEET 1

Factorial Regression: DEATH_EVENT versus time, ejection_fraction

* NOTE * This design has some botched runs.

* NOTE * This design is not orthogonal.


Coded Coefficients
Term Effect Coef SE Coef T-Value P-Value VIF
Constant 2.321 0.413 5.62 0.000
time -0.02007 -0.01004 0.00329 -3.05 0.006 19.34
ejection_fraction -0.1037 -0.0518 0.0129 -4.02 0.001 7.17
time*ejection_fraction 0.000457 0.000229 0.000096 2.37 0.027 31.45
Model Summary
S R-sq R-sq(adj) R-sq(pred)
0.266554 70.40% 66.17% 55.46%
Analysis of Variance
Source DF Adj SS Adj MS F-Value P-Value
Model 3 3.54792 1.18264 16.64 0.000
Linear 2 1.20578 0.60289 8.49 0.002
time 1 0.66136 0.66136 9.31 0.006
ejection_fraction 1 1.15054 1.15054 16.19 0.001
2-Way Interactions 1 0.40062 0.40062 5.64 0.027
time*ejection_fraction 1 0.40062 0.40062 5.64 0.027
Error 21 1.49208 0.07105
Lack-of-Fit 19 1.49208 0.07853 * *
Pure Error 2 0.00000 0.00000
Total 24 5.04000
Regression Equation in Uncoded Units
DEATH_EVENT = 2.435 - 0.000080 time
- 0.002604 ejection_fraction
+ 0.000000 time*ejection_fraction
Fits and Diagnostics for Unusual Observations
Obs DEATH_EVENT Fit Resid Std Resid
17 1.000 0.399 0.601 2.55 R

R Large residual

Alias Structure
Factor Name
A time
B ejection_fraction
Aliases
I
A
B
AB

WORKSHEET 1

Factorial Regression: serum_sodium versus time, ejection_fraction

* NOTE * This design has some botched runs.

* NOTE * This design is not orthogonal.


Coded Coefficients
Term Effect Coef SE Coef T-Value P-Value VIF
Constant 146.36 5.71 25.63 0.000
time -0.2274 -0.1137 0.0455 -2.50 0.021 19.34
ejection_fraction -0.599 -0.300 0.178 -1.68 0.107 7.17
time*ejection_fraction 0.00641 0.00320 0.00133 2.41 0.025 31.45
Model Summary
S R-sq R-sq(adj) R-sq(pred)
3.68337 26.98% 16.54% 0.00%
Analysis of Variance
Source DF Adj SS Adj MS F-Value P-Value
Model 3 105.248 35.0828 2.59 0.080
Linear 2 97.829 48.9144 3.61 0.045
time 1 84.858 84.8580 6.25 0.021
ejection_fraction 1 38.390 38.3901 2.83 0.107
2-Way Interactions 1 78.640 78.6402 5.80 0.025
time*ejection_fraction 1 78.640 78.6402 5.80 0.025
Error 21 284.912 13.5672
Lack-of-Fit 19 284.912 14.9954 * *
Pure Error 2 0.000 0.0000
Total 24 390.160
Interpretation:
In this analysis, neither the main effects nor their interaction significantly contribute to
explaining the variation in the dependent variable. The model overall does not provide evidence
of a meaningful relationship between the predictors and the outcome.
Regression Equation in Uncoded Units
serum_sodium = 147.09 - 0.000913 time
- 0.01514 ejection_fraction
+ 0.000001 time*ejection_fraction
Fits and Diagnostics for Unusual Observations
Obs serum_sodium Fit Resid Std Resid
4 126.00 135.69 -9.69 -2.77 R

R Large residual

Alias Structure
Factor Name
A time
B ejection_fraction
Aliases
I
A
B
AB
WORKSHEET 1

Factorial Regression: platelets versus time, ejection_fraction

* NOTE * This design has some botched runs.

* NOTE * This design is not orthogonal.


Coded Coefficients
Term Effect Coef SE Coef T-Value P-Value VIF
Constant 353016 120028 2.94 0.008
time -1627 -814 956 -0.85 0.404 19.34
ejection_fraction -5722 -2861 3742 -0.76 0.453 7.17
time*ejection_fraction 50.1 25.0 28.0 0.89 0.381 31.45
Model Summary
S R-sq R-sq(adj) R-sq(pred)
77422.1 3.84% 0.00% 0.00%
Analysis of Variance
Source DF Adj SS Adj MS F-Value P-Value
Model 3 5027163654 1675721218 0.28 0.840
Linear 2 4362454717 2181227359 0.36 0.699
time 1 4346089310 4346089310 0.73 0.404
ejection_fraction 1 3503198708 3503198708 0.58 0.453
2-Way Interactions 1 4798226587 4798226587 0.80 0.381
time*ejection_fraction 1 4798226587 4798226587 0.80 0.381
Error 21 1.25878E+11 5994181518
Lack-of-Fit 19 1.17166E+11 6166621678 1.42 0.494
Pure Error 2 8712000000 4356000000
Total 24 1.30905E+11
Interpretation:
In this analysis, neither the main effects nor their interaction significantly contribute to
explaining the variation in the dependent variable. The model overall does not provide evidence
of a meaningful relationship between the predictors and the outcome.
Regression Equation in Uncoded Units
platelets = 359648 - 6.57 time - 144 ejection_fraction
+ 0.0095 time*ejection_fraction
Fits and Diagnostics for Unusual Observations
Obs platelets Fit Resid Std Resid
5 461000 264049 196951 2.68 R
17 70000 245083 -175083 -2.56 R

R Large residual
Alias Structure
Factor Name
A time
B ejection_fraction
Aliases
I
A
B
AB

WORKSHEET 1

Main Effects Plot for ejection_fraction, serum_creatinine


WORKSHEET 1

Interaction Plot for high_blood_pressure


WORKSHEET 1

Nested ANOVA: platelets, serum_sodium

Nested ANOVA: platelets versus smoking, sex


Analysis of Variance for platelets
Source DF SS MS
smoking 1 1.47855E+09 1.47855E+09
sex 1 1.19094E+10 1.19094E+10
Error 22 1.17517E+11 5.34168E+09
Total 24 1.30905E+11
Interpretation:

In this analysis, neither serum creatinine nor high blood pressure significantly contribute to
explaining the variation in the dependent variable.

Variance Components
Source Var Comp. % of Total StDev
smoking -9.30556E+08* 0.00 0.000
sex 7.29745E+08 12.02 27013.794
Error 5.34168E+09 87.98 73086.821
Total 6.07143E+09 77919.371

* Value is negative, and is estimated by zero.

Expected Mean Squares


1 smoking 1.00 (3) + 7.56 (2) + 10.08
(1)
2 sex 1.00 (3) + 9.00 (2)
3 Error 1.00 (3)

Nested ANOVA: serum_sodium versus smoking, sex


Analysis of Variance for serum_sodium
Source DF SS MS
smoking 1 6.9537 6.9537
sex 1 213.5556 213.5556
Error 22 169.6508 7.7114
Total 24 390.1600

Interpretation:
In this analysis, neither serum creatinine nor high blood pressure significantly contribute to
explaining the variation in the dependent variable.

Variance Components
Source Var Comp. % of Total StDev
-17.229* 0.00 0.000

sex 22.872 74.79 4.782


Error 7.711 25.21 2.777
Total 30.583 5.530

* Value is negative, and is estimated by zero.

Expected Mean Squares


1 smoking 1.00 (3) + 7.56 (2) + 10.08
(1)
2 sex 1.00 (3) + 9.00 (2)
3 Error 1.00 (3)

WORKSHEET 1

General Linear Model: time versus serum_creatinine, high_blood_pressure

Method
Factor (-1, 0, +1)
coding
Factor Information
Factor Type Levels Values
high_blood_pressure Fixed 2 0, 1
Analysis of Variance
Source DF Adj SS Adj MS F-Value P-Value
serum_creatinine 1 42 42.25 0.01 0.932
high_blood_pressure 1 2360 2359.72 0.42 0.525
Error 22 124626 5664.83
Lack-of-Fit 12 77312 6442.63 1.36 0.317
Pure Error 10 47315 4731.46
Total 24 126986
Interpretation:
In this analysis, neither serum creatinine nor high blood pressure significantly contribute to
explaining the variation in the dependent variable.
Model Summary
S R-sq R-sq(adj) R-sq(pred)
75.2650 1.86% 0.00% 0.00%
Coefficients
Term Coef SE Coef T-Value P-Value VIF
Constant 137.4 27.7 4.96 0.000
serum_creatinine 1.5 17.0 0.09 0.932 1.02
high_blood_pressure
0 -10.9 16.9 -0.65 0.525 1.02
Regression Equation
high_blood_pressure
0 time = 126.5
+ 1.5 serum_creatinine

1 time = 148.3
+ 1.5 serum_creatinine
Fits and Diagnostics for Unusual Observations
Obs time Fit Resid Std Resid
2 207.0 133.8 73.2 1.81 X

X Unusual X
WORKSHEET 1

Comparisons for time

Tukey Pairwise Comparisons: high_blood_pressure


Grouping Information Using the Tukey Method and 95% Confidence
high_blood_pressure N Mean Grouping
1 7 150.260 A
0 18 128.455 A

Means that do not share a letter are significantly different.

Tukey Simultaneous Tests for Differences of Means


Difference of
high_blood_pressure Difference SE of Simultaneous Adjusted
Levels of Means Difference 95% CI T-Value P-Value
1-0 21.8 33.8 (-48.3, 91.9) 0.65 0.525

Individual confidence level = 95.00%

Response Optimization: platelets, serum_sodium, DEATH_EVENT,


smoking, sex, high_blood_pressure

Parameters
Response Goal Lower Target Upper Weight Importance
platelets Minimum 70000 461000 1 1
serum_sodium Minimum 126 145 1 1
DEATH_EVENT Minimum 0 1 1 1
smoking Minimum 0 1 1 1
sex Minimum 0 1 1 1
high_blood_pressure Minimum 0 1 1 1

Solution
platelets serum_sodium DEATH_EVENT smoking
Solution time ejection_fraction Fit Fit Fit Fit
1 11189.8 1240 239191 134.996 -0.480479 0.312948
sex high_blood_pressure Composite
Solution Fit Fit Desirability
1 0.650999 0.396463 0.592416
Multiple Response Prediction
Variable Setting
time 11189.8
ejection_fraction 1240
Response Fit SE Fit 95% CI 95% PI
platelets 239191 57001 (120652, (39253,
357731) 439129)
serum_sodium 135.00 2.71 (129.36, 140.64) (125.48,
144.51)
DEATH_EVENT -0.480 0.196 (-0.889, -0.072) (-1.169, 0.208)
smoking 0.313 0.354 (-0.423, 1.049) (-0.929, 1.555)
sex 0.651 0.366 (-0.111, 1.413) (-0.633, 1.935)
high_blood_pressure 0.396 0.354 (-0.339, 1.132) (-0.845, 1.638)

You might also like