Anda di halaman 1dari 10

Multiple Logistic Regression

Saturday, October 30, 2010, 8:21:14 AM

Data source: Data 1 in Notebook2


Logit P = -3.699 + (0.497 * SEX) + (0.885 * MARITALS) + (0.0191 * AGE) + (0.417 * RELIGION) +
(18.049 * RELAGAIN)
N = 63
Estimation Criterion: Maximum likelihood
Dependent Variable: USEOFDRU
Positive response (1): 1
Reference response (0): 0
Number of unique independent variable combinations: 54
Pearson Chi-square Statistic: 58.216 (P = 0.394)
Likelihood Ratio Test Statistic: 12.569 (P = 0.028)
-2*Log(Likelihood) = 70.123
Hosmer-Lemeshow Statistic: 8.583 (P = 0.379)
Threshold probability for positive classification: 0.500
Classification Table:
Predicted Reference
Actual Reference Responses
38
Actual Positive Responses
15
Totals
53

Predicted Positive
2
8
10

Details of the Logistic Regression Equation


Ind. Variable
Constant
SEX
MARITALS
AGE
RELIGION
RELAGAIN
Ind. Variable
Constant

Coefficient
-3.699
0.497
0.885
0.0191
0.417
18.049
Odds Ratio
0.0247

Standard Error
1.889
0.803
0.495
0.0278
0.552
2688.882
5% Conf. Lower
0.000610

Wald Statistic
3.835
0.384
3.203
0.473
0.571
0.0000451
95% Conf. Upper
1.003

SEX

1.645

0.341

7.941

MARITALS

2.424

0.919

6.391

AGE

1.019

0.965

1.076

RELIGION

1.518

0.514

4.483

68953700.962

0.000

RELAGAIN

(+inf)

P value
0.050
0.536
0.074
0.492
0.450
0.995

Totals
40
23
63

Nonlinear Regression

Saturday, October 30, 2010, 8:34:42 AM

Data Source: Data 1 in AESONKano


Equation: Standard Curves, Four Parameter Logistic Curve
f1 = min + (max-min)/(1 + (x/EC50)^(-Hillslope))
f = if(x<=0, if(Hillslope>0,min,max), f1)
R

Rsqr

Adj Rsqr

0.6588 0.4340 0.4053

Standard Error of Estimate


0.3743

Coefficient Std. Error


min
-1.0912E-012 0.0720
max
0.6471
0.0642
EC50
5.0542
59.8510
Hillslope-113.5791124829.3596

-1.5150E-011
10.0808
0.0844
-0.0009

1.0000
<0.0001
0.9330
0.9993

Analysis of Variance:
Analysis of Variance:
DF
Regression 4
Residual 59
Total
63

SS
14.7353
8.2647
23.0000

MS
3.6838
0.1401
0.3651

Corrected for the mean of the observations:


DF
SS
MS
Regression 3
6.3385
2.1128
Residual 59
8.2647
0.1401
Total
62
14.6032
0.2355

F
15.0830

Statistical Tests:
Normality Test (Shapiro-Wilk)
W Statistic= 0.7867
Constant Variance Test

Failed

Significance Level = 0.0500


Failed

(P = <0.0001)

Fit Equation Description:


[Variables]
x = col(9)
y = col(2)
reciprocal_y = 1/abs(y)
reciprocal_ysquare = 1/y^2
'Automatic Initial Parameter Estimate Functions
sign(p,q) = if(xatymax(p,q)-xatymax(p,max(q)-q)>0,1,-1)
[Parameters]
min = min(y) ''Auto {{previous: -1.09121e-012}}
max = max(y) ''Auto {{previous: 0.647059}}
EC50 = x50(x,y) ''Auto {{previous: 5.05416}}

(P = <0.0001)

P
<0.0001

Hillslope = sign(x,y) ''Auto {{previous: -113.579}}


[Equation]
f1 = min + (max-min)/(1 + (x/EC50)^(-Hillslope))
f = if(x<=0, if(Hillslope>0,min,max), f1)
fit f to y
''fit f to y with weight reciprocal_y
''fit f to y with weight reciprocal_ysquare
[Constraints]
max>min
EC50>0
[Options]
tolerance = 0.0000000001
stepsize = 1
iterations = 1000
Number of Iterations Performed = 54

Multiple Linear Regression

Saturday, October 30, 2010, 8:25:22 AM

Data source: Data 1 in AESONKano


ANIMALUS = 2.194 + (0.544 * MOSTEFFE)
N = 63
R = 0.441

Rsqr = 0.194

Adj Rsqr = 0.181

Standard Error of Estimate = 2.758


Coefficient
Constant
MOSTEFFE

Std. Error

2.194
0.544

0.736
0.142

Analysis of Variance:
DF
SS
Regression
1
111.812
Residual
Total

61
62

463.839
575.651

MS
111.812

VIF

2.981
3.835

0.004
<0.001

1.000

F
14.704

P
<0.001

7.604
9.285

The dependent variable ANIMALUS can be predicted from a linear combination of the independent
variables:
P
MOSTEFFE<0.001
All independent variables appear to contribute to predicting ANIMALUS (P < 0.05).
Normality Test (Shapiro-Wilk)

Failed

(P = 0.016)

Constant Variance Test:

Failed

(P = 0.003)

Power of performed test with alpha = 0.050: 0.956

Wilcoxon Signed Rank Test

Saturday, October 30, 2010, 8:31:23 AM

Data source: Data 1 in AESONKano


Normality Test:

Failed

Group
N
USEOFDRU63

Missing
0

MOSTEFFE63

(P < 0.050)

Median
0.000

25%
0.000

75%
1.000

5.000

2.000

7.000

W= 1540.000 T+ = 1540.000 T-= -0.000


Z-Statistic (based on positive ranks) = 6.544
(P = <0.001)
The change that occurred with the treatment is greater than would be expected by chance; there is a
statistically significant difference (P = <0.001).

Wilcoxon Signed Rank Test

Saturday, October 30, 2010, 8:31:23 AM

Data source: Data 1 in AESONKano


Normality Test:

Failed

Group
N
USEOFDRU63

Missing
0

MOSTEFFE63

(P < 0.050)

Median
0.000

25%
0.000

75%
1.000

5.000

2.000

7.000

W= 1540.000 T+ = 1540.000 T-= -0.000


Z-Statistic (based on positive ranks) = 6.544
(P = <0.001)
The change that occurred with the treatment is greater than would be expected by chance; there is a
statistically significant difference (P = <0.001).

Standard Curve
1200
1000

FAMISIZE

800
600
400
200
0
-200
-400
1

10

100

1000

10000

PRODUCER

Standard Curve
1.2
1.0

USEOFDRU

0.8
0.6
0.4
0.2
0.0
-0.2
0

PRODUCER

10

Standard Curve
1.2
1.0
0.8

SEX

0.6
0.4
0.2
0.0
-0.2
0.1

10

100

PRODUCER

Nonlinear Regression

Saturday, October 30, 2010, 8:35:26 AM

Data Source: Data 1 in AESONKano


Equation: Standard Curves, Four Parameter Logistic Curve
f1 = min + (max-min)/(1 + (x/EC50)^(-Hillslope))
f = if(x<=0, if(Hillslope>0,min,max), f1)
R

Rsqr

Adj Rsqr

0.4191 0.1757 0.1677

Standard Error of Estimate


103.4025

Coefficient Std. Error


min
4.0197
max
610.1482
EC50 1834.3965
Hillslope 1.1838

7.9361
1000.1119
3788.2187
0.0003

0.5065
0.6101
0.4842
4644.5425

0.6129
0.5423
0.6286
<0.0001

Analysis of Variance:
Analysis of Variance:
DF
SS
Regression 4
876625.6871
Residual 311
3325237.3129
Total
315
4201863.0000

MS
219156.4218
10692.0814
13339.2476

Corrected for the mean of the observations:


DF
SS
MS
Regression 3
708607.8300
236202.6100
Residual 311
3325237.3129
10692.0814
Total
314
4033845.1429
12846.6406

F
22.0914

P
<0.0001

Statistical Tests:
Normality Test (Shapiro-Wilk)
W Statistic= 0.3581

Failed

(P = <0.0001)

Significance Level = 0.0500

Constant Variance Test

Failed

(P = <0.0001)

Fit Equation Description:


[Variables]
x = {col(6),col(6),col(6),col(6),col(6)}
y=
{col(3,1,size(col(6))),col(4,1,size(col(6))),col(5,1,size(col(6))),col(6,1,size(col(6))),col(7,1,size(col(6)))}
reciprocal_y = 1/abs(y)
reciprocal_ysquare = 1/y^2
'Automatic Initial Parameter Estimate Functions
sign(p,q) = if(xatymax(p,q)-xatymax(p,max(q)-q)>0,1,-1)
[Parameters]
min = min(y) ''Auto {{previous: 4.01973}}
max = max(y) ''Auto {{previous: 610.148}}
EC50 = x50(x,y) ''Auto {{previous: 1834.4}}
Hillslope = sign(x,y) ''Auto {{previous: 1.18378}}
[Equation]
f1 = min + (max-min)/(1 + (x/EC50)^(-Hillslope))
f = if(x<=0, if(Hillslope>0,min,max), f1)
fit f to y
''fit f to y with weight reciprocal_y
''fit f to y with weight reciprocal_ysquare
[Constraints]
max>min
EC50>0
[Options]
tolerance = 0.0000000001
stepsize = 1
iterations = 1000
Number of Iterations Performed = 8
Nonlinear Regression

Saturday, October 30, 2010, 8:33:38 AM

Data Source: Data 1 in AESONKano


Equation: Standard Curves, Five Parameter Logistic - 2 Slopes
AvSlope=2*abs(Slope)*SlopeCon/(1+SlopeCon)
fx=1/(1 + (x/EC50)^AvSlope)
f1 = min + (max-min)/(1 + fx*(x/EC50)^(-Slope) + (1-fx)*(x/EC50)^(-Slope*SlopeCon))
f = if(x<=0, if(Slope > 0, min, max), f1)
R

Rsqr

Adj Rsqr

Standard Error of Estimate

1.0000 1.0000 1.0000

1.2087E-017

Coefficient
min
max
EC50
Slope
SlopeCon

-0.0666
1.0988
4.4275
1.6496
2.0344

Analysis of Variance:
Analysis of Variance:
DF
Regression 5
Residual 58
Total
63

SS
52.0000
8.4741E-033
52.0000

MS
10.4000
1.4611E-034
0.8254

Corrected for the mean of the observations:


DF
SS
MS
F
Regression 4
9.0794
2.2698
(+inf)
Residual 58
8.4741E-033
1.4611E-034
Total
62
9.0794
0.1464

P
(NAN)

Statistical Tests:
Normality Test (Shapiro-Wilk)
W Statistic= 0.4600
Constant Variance Test

Failed

(P = <0.0001)

Significance Level = 0.0500


Passed (P = 0.2901)

Fit Equation Description:


[Variables]
x = col(4)
y = col(3)
reciprocal_y = 1/abs(y)
reciprocal_ysquare = 1/y^2
'Automatic Initial Parameter Estimate Functions
xatymin(p,q) = xatymax(p,max(q)-q)
[Parameters]
min = min(y) ''Auto {{previous: -0.0665571}}
max = max(y) ''Auto {{previous: 1.09884}}
EC50 = x50(x,y) ''Auto {{previous: 4.42753}}
Slope = if(xatymax(x,y)>xatymin(x,y), 1, -1) ''Auto {{previous: 1.64959}}
SlopeCon = 1 ''Auto {{previous: 2.03442}}
[Equation]
AvSlope=2*abs(Slope)*SlopeCon/(1+SlopeCon)
fx=1/(1 + (x/EC50)^AvSlope)
f1 = min + (max-min)/(1 + fx*(x/EC50)^(-Slope) + (1-fx)*(x/EC50)^(-Slope*SlopeCon))
f = if(x<=0, if(Slope > 0, min, max), f1)
fit f to y
''fit f to y with weight reciprocal_y
''fit f to y with weight reciprocal_ysquare
[Constraints]

max>min
EC50>0
SlopeCon>0
[Options]
stepsize = 1
tolerance = 0.0000000001
iterations = 1000
Number of Iterations Performed = 13
The regression produces a perfect fit
Multiple Logistic Regression

Saturday, October 30, 2010, 8:23:04 AM

Data source: Data 1 in AESONKano


Logit P = -0.728 - (0.0689 * FAMISIZE) - (0.0678 * EDUCATIO) + (0.116 * YEARSFAT) - (0.425 *
SALETARG) + (0.352 * REASFOTA) - (0.117 * TARGETSA)
N = 63
Estimation Criterion: Maximum likelihood
Dependent Variable: USEOFDRU
Positive response (1): 1
Reference response (0): 0
Number of unique independent variable combinations: 63
Pearson Chi-square Statistic: 62.538 (P = 0.226)
Likelihood Ratio Test Statistic: 7.998 (P = 0.238)
-2*Log(Likelihood) = 74.694
Hosmer-Lemeshow Statistic: 1.486 (P = 0.993)
Threshold probability for positive classification: 0.500
Classification Table:
Predicted Reference
Actual Reference Responses
34
Actual Positive Responses
15
Totals
49

Predicted Positive
6
8
14

Details of the Logistic Regression Equation


Ind. Variable
Constant
FAMISIZE
EDUCATIO
YEARSFAT
SALETARG
REASFOTA
TARGETSA

Coefficient
-0.728
-0.0689
-0.0678
0.116
-0.425
0.352
-0.117

Ind. Variable
Constant
FAMISIZE

Odds Ratio
0.483
0.933

Standard Error
1.542
0.0760
0.235
0.0943
0.233
0.247
0.930
5% Conf. Lower
0.0235
0.804

Wald Statistic
0.223
0.821
0.0828
1.503
3.315
2.030
0.0158
95% Conf. Upper
9.916
1.083

P value
0.637
0.365
0.774
0.220
0.069
0.154
0.900

Totals
40
23
63

EDUCATIO
YEARSFAT
SALETARG
REASFOTA
TARGETSA

0.934
1.122
0.654
1.422
0.890

0.589
0.933
0.414
0.876
0.144

1.483
1.350
1.033
2.308
5.509

10

Anda mungkin juga menyukai