0% found this document useful (0 votes)
50 views

Options Input Cards: Fosforo

The document appears to be analyzing the relationship between fosf (a variable with values of 0, 20, 40, 60) and rend. It performs several statistical analyses including a univariate procedure to analyze rend, an ANOVA with fosf as the class variable and rend as the dependent variable, tests for normality of rend, and calculations of least square means for fosf. It then squares rend to create a new variable z and performs a univariate analysis on z.

Uploaded by

Lilian Arias
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views

Options Input Cards: Fosforo

The document appears to be analyzing the relationship between fosf (a variable with values of 0, 20, 40, 60) and rend. It performs several statistical analyses including a univariate procedure to analyze rend, an ANOVA with fosf as the class variable and rend as the dependent variable, tests for normality of rend, and calculations of least square means for fosf. It then squares rend to create a new variable z and performs a univariate analysis on z.

Uploaded by

Lilian Arias
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 39

FOSFORO

options ls=76 ps=56;


data dca_trans;
input fosf rend;
z=rend**2;
cards;
0 60
0 52
0 43
0 68
0 70
0 64
0 21
0 39
0 25
0 30
20 80
20 110
20 85
20 90
20 100
20 95
20 105
20 114
40 132
40 124
40 115
40 125
40 110
40 140
40 125
40 115
60 110
60 120
60 100
60 105
60 108
60 112
60 135
60 110
60 108
;
proc univariate data=dca_trans normal plot;
var z;
run;
proc glm data=dca_trans;
class fosf;
model z=fosf/ss3;
contrast "fosf-lin" fosf -3 -1 1 3;
contrast "fosf-cuadra" fosf 1 -1 -1 1;
means fosf/hovtest=bartlett;
lsmeans fosf/ out=medias;
run;
proc glm data=medias;
model lsmean=fosf fosf*fosf/ss3;
run;


options ls=76 ps=56;
data dca_trans;
input fosf rend;
z=rend**2;
cards;
0 60
0 52
0 43
0 68
0 70
0 64
0 21
0 39
0 25
0 30
20 80
20 110
20 85
20 90
20 100
20 95
20 105
20 114
40 132
40 124
40 115
40 125
40 110
40 140
40 125
40 115
60 110
60 120
60 100
60 105
60 108
60 112
60 135
60 110
60 108
;
proc univariate data=dca_trans normal plot;
var z;
run;
proc glm data=dca_trans;
class fosf;
model z=fosf/ss3;
contrast "fosf-lin" fosf -3 -1 1 3;
contrast "fosf-cuadra" fosf 1 -1 -1 1;
means fosf/hovtest=bartlett;
lsmeans fosf/ out=medias;
run;
proc glm data=medias;
model lsmean=fosf fosf*fosf/ss3;
run;

The SAS System 60
09:32 Thursday, March 24, 2005

The UNIVARIATE Procedure
Variable: rend

Moments

N 35 Sum Weights 35
Mean 92.7142857 Sum Observations 3245
Std Deviation 33.0752897 Variance 1093.97479
Skewness -0.7999337 Kurtosis -0.4034669
Uncorrected SS 338053 Corrected SS 37195.1429
Coeff Variation 35.6744265 Std Error Mean 5.59074437


Basic Statistical Measures

Location Variability

Mean 92.7143 Std Deviation 33.07529
Median 105.0000 Variance 1094
Mode 110.0000 Range 119.00000
Interquartile Range 47.00000


Tests for Location: Mu0=0

Test -Statistic- -----p Value------

Student's t t 16.58353 Pr > |t| <.0001
Sign M 17.5 Pr >= |M| <.0001
Signed Rank S 315 Pr >= |S| <.0001


Tests for Normality

Test --Statistic--- -----p Value------

Shapiro-Wilk W 0.907551 Pr < W 0.0064
Kolmogorov-Smirnov D 0.187705 Pr > D <0.0100
Cramer-von Mises W-Sq 0.236218 Pr > W-Sq <0.0050
Anderson-Darling A-Sq 1.276199 Pr > A-Sq <0.0050


Quantiles (Definition 5)

Quantile Estimate

100% Max 140
99% 140
95% 135
90% 125
75% Q3 115
50% Median 105
25% Q1 68

The SAS System 61
09:32 Thursday, March 24, 2005

The UNIVARIATE Procedure
Variable: rend

Quantiles (Definition 5)

Quantile Estimate

10% 39
5% 25
1% 21
0% Min 21


Extreme Observations

----Lowest---- ----Highest---

Value Obs Value Obs

21 7 125 22
25 9 125 25
30 10 132 19
39 8 135 33
43 3 140 24


Stem Leaf # Boxplot
14 0 1 |
13 25 2 |
12 0455 4 |
11 00002455 8 +-----+
10 005588 6 *-----*
9 05 2 | + |
8 05 2 | |
7 0 1 | |
6 048 3 +-----+
5 2 1 |
4 3 1 |
3 09 2 |
2 15 2 |
----+----+----+----+
Multiply Stem.Leaf by 10**+1



The SAS System 62
09:32 Thursday, March 24, 2005

The UNIVARIATE Procedure
Variable: rend

Normal Probability Plot
145+ +++ *
| ++* *
| ***
| ******+
| ** * +++
| ** +++
85+ **+++
| *++
| ***
| ++*
| +++ *
| +++ **
25+ *++ *
+----+----+----+----+----+----+----+----+----+----+
-2 -1 0 +1 +2



The SAS System 63
09:32 Thursday, March 24, 2005

The GLM Procedure

Class Level Information

Class Levels Values

fosf 4 0 20 40 60


Number of observations 35

The SAS System 64
09:32 Thursday, March 24, 2005

The GLM Procedure

Dependent Variable: rend

Sum of
Source DF Squares Mean Square F Value Pr > F

Model 3 31696.16786 10565.38929 59.56 <.0001

Error 31 5498.97500 177.38629

Corrected Total 34 37195.14286


R-Square Coeff Var Root MSE rend Mean

0.852159 14.36526 13.31864 92.71429


Source DF Type III SS Mean Square F Value Pr > F

fosf 3 31696.16786 10565.38929 59.56 <.0001

The SAS System 65
09:32 Thursday, March 24, 2005

The GLM Procedure

Bartlett's Test for Homogeneity of rend Variance

Source DF Chi-Square Pr > ChiSq

fosf 3 4.1485 0.2459

The SAS System 66
09:32 Thursday, March 24, 2005

The GLM Procedure

Level of -------------rend------------
fosf N Mean Std Dev

0 10 47.200000 18.2013431
20 8 97.375000 12.0467838
40 8 123.250000 9.8234414
60 9 112.000000 10.1612007

The SAS System 67
09:32 Thursday, March 24, 2005

The UNIVARIATE Procedure
Variable: z

Moments

N 35 Sum Weights 35
Mean 1.82063E59 Sum Observations 6.37219E60
Std Deviation 1.06933E60 Variance 1.1435E120
Skewness 5.91565473 Kurtosis 34.9965355
Uncorrected SS 4.0038E121 Corrected SS 3.8878E121
Coeff Variation 587.343353 Std Error Mean 1.8075E59


Basic Statistical Measures

Location Variability

Mean 1.821E59 Std Deviation 1.06933E60
Median 3.99E45 Variance 1.1435E120
Mode 5.921E47 Range 6.32743E60
Interquartile Range 8.7875E49


Tests for Location: Mu0=0

Test -Statistic- -----p Value------

Student's t t 1.007261 Pr > |t| 0.3209
Sign M 17.5 Pr >= |M| <.0001
Signed Rank S 315 Pr >= |S| <.0001


Tests for Normality

Test --Statistic--- -----p Value------

Shapiro-Wilk W 0.163185 Pr < W <0.0001
Kolmogorov-Smirnov D 0.523299 Pr > D <0.0100
Cramer-von Mises W-Sq 2.75361 Pr > W-Sq <0.0050
Anderson-Darling A-Sq 12.97661 Pr > A-Sq <0.0050


Quantiles (Definition 5)

Quantile Estimate

100% Max 6.3274317E60
99% 6.3274317E60
95% 4.2633899E58
90% 1.935576E54
75% Q3 8.7875016E49
50% Median 3.9895196E45
25% Q1 3.404276E29

The SAS System 68
09:32 Thursday, March 24, 2005

The UNIVARIATE Procedure
Variable: z

Quantiles (Definition 5)

Quantile Estimate

10% 8.65934E16
5% 72004899337
1% 1318815734
0% Min 1318815734


Extreme Observations

--------Lowest------- -------Highest-------

Value Obs Value Obs

1318815734 7 1.935576E54 22
72004899337 9 1.935576E54 25
1.0686475E13 10 2.1226169E57 19
8.65934E16 8 4.2633899E58 33
4.7278395E18 3 6.3274317E60 24


Stem Leaf # Boxplot
6 3 1 *
5
5
4
4
3
3
2
2
1
1
0
0 0000000000000000000000000000000000 34 +--*--+
----+----+----+----+----+----+----
Multiply Stem.Leaf by 10**+60



The SAS System 69
09:32 Thursday, March 24, 2005

The UNIVARIATE Procedure
Variable: z

Normal Probability Plot
6.25E60+ *
|
|
|
|
|
3.25E60+
| ++++
| ++++
| +++++
| +++++
| +++++
2.5E59+ * * ** ***********+** **** *** * *
+----+----+----+----+----+----+----+----+----+----+
-2 -1 0 +1 +2



The SAS System 70
09:32 Thursday, March 24, 2005

The GLM Procedure

Class Level Information

Class Levels Values

fosf 4 0 20 40 60


Number of observations 35

The SAS System 71
09:32 Thursday, March 24, 2005

The GLM Procedure

Dependent Variable: z

Sum of
Source DF Squares Mean Square F Value Pr > F

Model 3 3.847978E120 1.282659E120 1.14 0.3502

Error 31 3.50301E121 1.130003E120

Corrected Total 34 3.887808E121


R-Square Coeff Var Root MSE z Mean

0.098976 583.8738 1.06302E60 1.82063E59


Source DF Type III SS Mean Square F Value Pr > F

fosf 3 3.847978E120 1.282659E120 1.14 0.3502


Contrast DF Contrast SS Mean Square F Value Pr > F

fosf-lin 1 3.017112E119 3.017112E119 0.27 0.6090
fosf-cuadra 1 1.34136E120 1.34136E120 1.19 0.2843

The SAS System 72
09:32 Thursday, March 24, 2005

The GLM Procedure

Bartlett's Test for Homogeneity of z Variance

Source DF Chi-Square Pr > ChiSq

fosf 3 1575.3 <.0001

The SAS System 73
09:32 Thursday, March 24, 2005

The GLM Procedure

Level of --------------z--------------
fosf N Mean Std Dev

0 10 2.862216E+29 7.905085E+29
20 8 4.115441E+48 1.140124E+49
40 8 7.911949E+59 2.236978E+60
60 9 4.737101E+57 1.421130E+58

The SAS System 74
09:32 Thursday, March 24, 2005

The GLM Procedure
Least Squares Means

fosf z LSMEAN

0 0
20 4.1154687E48
40 7.9119486E59
60 4.7371014E57

The SAS System 75
09:32 Thursday, March 24, 2005

The GLM Procedure

Number of observations 4

The SAS System 76
09:32 Thursday, March 24, 2005

The GLM Procedure

Dependent Variable: LSMEAN

Sum of
Source DF Squares Mean Square F Value Pr > F

Model 2 1.870629E119 9.353145E118 0.33 0.7746

Error 1 2.805719E119 2.805719E119

Corrected Total 3 4.676348E119


R-Square Coeff Var Root MSE LSMEAN Mean

0.400019 266.1988 5.2969E59 1.98983E59


Source DF Type III SS Mean Square F Value Pr > F

fosf 1 1.834345E119 1.834345E119 0.65 0.5671
fosf*fosf 1 1.54629E119 1.54629E119 0.55 0.5935


Standard
Parameter Estimate Error t Value Pr > |t|

Intercept -1.184424E59 5.1627834E59 -0.23 0.8564
fosf 3.3519197E58 4.1454831E58 0.81 0.5671
fosf*fosf -4.915361E56 6.62113E56 -0.74 0.5935

The SAS System 77
09:32 Thursday, March 24, 2005

The UNIVARIATE Procedure
Variable: z

Moments

N 35 Sum Weights 35
Mean 9658.65714 Sum Observations 338053
Std Deviation 5405.62902 Variance 29220825.1
Skewness -0.2365475 Kurtosis -0.9242246
Uncorrected SS 4258646077 Corrected SS 993508054
Coeff Variation 55.9666726 Std Error Mean 913.718073


Basic Statistical Measures

Location Variability

Mean 9658.66 Std Deviation 5406
Median 11025.00 Variance 29220825
Mode 12100.00 Range 19159
Interquartile Range 8601


Tests for Location: Mu0=0

Test -Statistic- -----p Value------

Student's t t 10.57072 Pr > |t| <.0001
Sign M 17.5 Pr >= |M| <.0001
Signed Rank S 315 Pr >= |S| <.0001


Tests for Normality

Test --Statistic--- -----p Value------

Shapiro-Wilk W 0.948851 Pr < W 0.1045
Kolmogorov-Smirnov D 0.142631 Pr > D 0.0711
Cramer-von Mises W-Sq 0.118206 Pr > W-Sq 0.0639
Anderson-Darling A-Sq 0.661454 Pr > A-Sq 0.0811


Quantiles (Definition 5)

Quantile Estimate

100% Max 19600
99% 19600
95% 18225
90% 15625
75% Q3 13225
50% Median 11025
25% Q1 4624

The SAS System 78
09:32 Thursday, March 24, 2005

The UNIVARIATE Procedure
Variable: z

Quantiles (Definition 5)

Quantile Estimate

10% 1521
5% 625
1% 441
0% Min 441


Extreme Observations

----Lowest---- ----Highest----

Value Obs Value Obs

441 7 15625 22
625 9 15625 25
900 10 17424 19
1521 8 18225 33
1849 3 19600 24


Stem Leaf # Boxplot
18 26 2 |
16 4 1 |
14 4466 4 |
12 11115022 8 +-----+
10 000077 6 *-----*
8 10 2 | + |
6 42 2 | |
4 169 3 +-----+
2 76 2 |
0 46958 5 |
----+----+----+----+
Multiply Stem.Leaf by 10**+3



The SAS System 79
09:32 Thursday, March 24, 2005

The UNIVARIATE Procedure
Variable: z

Normal Probability Plot
19000+ +*++ *
| ++*+
| ***
13000+ ******+
| ** *+++
| **+++
7000+ +**
| ++***
| ++++**
1000+ * *++** *
+----+----+----+----+----+----+----+----+----+----+
-2 -1 0 +1 +2



The SAS System 80
09:32 Thursday, March 24, 2005

The UNIVARIATE Procedure
Variable: rend

Moments

N 35 Sum Weights 35
Mean 92.7142857 Sum Observations 3245
Std Deviation 33.0752897 Variance 1093.97479
Skewness -0.7999337 Kurtosis -0.4034669
Uncorrected SS 338053 Corrected SS 37195.1429
Coeff Variation 35.6744265 Std Error Mean 5.59074437


Basic Statistical Measures

Location Variability

Mean 92.7143 Std Deviation 33.07529
Median 105.0000 Variance 1094
Mode 110.0000 Range 119.00000
Interquartile Range 47.00000


Tests for Location: Mu0=0

Test -Statistic- -----p Value------

Student's t t 16.58353 Pr > |t| <.0001
Sign M 17.5 Pr >= |M| <.0001
Signed Rank S 315 Pr >= |S| <.0001


Tests for Normality

Test --Statistic--- -----p Value------

Shapiro-Wilk W 0.907551 Pr < W 0.0064
Kolmogorov-Smirnov D 0.187705 Pr > D <0.0100
Cramer-von Mises W-Sq 0.236218 Pr > W-Sq <0.0050
Anderson-Darling A-Sq 1.276199 Pr > A-Sq <0.0050


Quantiles (Definition 5)

Quantile Estimate

100% Max 140
99% 140
95% 135
90% 125
75% Q3 115
50% Median 105
25% Q1 68

The SAS System 81
09:32 Thursday, March 24, 2005

The UNIVARIATE Procedure
Variable: rend

Quantiles (Definition 5)

Quantile Estimate

10% 39
5% 25
1% 21
0% Min 21


Extreme Observations

----Lowest---- ----Highest---

Value Obs Value Obs

21 7 125 22
25 9 125 25
30 10 132 19
39 8 135 33
43 3 140 24


Stem Leaf # Boxplot
14 0 1 |
13 25 2 |
12 0455 4 |
11 00002455 8 +-----+
10 005588 6 *-----*
9 05 2 | + |
8 05 2 | |
7 0 1 | |
6 048 3 +-----+
5 2 1 |
4 3 1 |
3 09 2 |
2 15 2 |
----+----+----+----+
Multiply Stem.Leaf by 10**+1



The SAS System 82
09:32 Thursday, March 24, 2005

The UNIVARIATE Procedure
Variable: rend

Normal Probability Plot
145+ +++ *
| ++* *
| ***
| ******+
| ** * +++
| ** +++
85+ **+++
| *++
| ***
| ++*
| +++ *
| +++ **
25+ *++ *
+----+----+----+----+----+----+----+----+----+----+
-2 -1 0 +1 +2



The SAS System 83
09:32 Thursday, March 24, 2005

The GLM Procedure

Class Level Information

Class Levels Values

fosf 4 0 20 40 60


Number of observations 35

The SAS System 84
09:32 Thursday, March 24, 2005

The GLM Procedure

Dependent Variable: rend

Sum of
Source DF Squares Mean Square F Value Pr > F

Model 3 31696.16786 10565.38929 59.56 <.0001

Error 31 5498.97500 177.38629

Corrected Total 34 37195.14286


R-Square Coeff Var Root MSE rend Mean

0.852159 14.36526 13.31864 92.71429


Source DF Type III SS Mean Square F Value Pr > F

fosf 3 31696.16786 10565.38929 59.56 <.0001

The SAS System 85
09:32 Thursday, March 24, 2005

The GLM Procedure

Bartlett's Test for Homogeneity of rend Variance

Source DF Chi-Square Pr > ChiSq

fosf 3 4.1485 0.2459

The SAS System 86
09:32 Thursday, March 24, 2005

The GLM Procedure

Level of -------------rend------------
fosf N Mean Std Dev

0 10 47.200000 18.2013431
20 8 97.375000 12.0467838
40 8 123.250000 9.8234414
60 9 112.000000 10.1612007

The SAS System 87
09:32 Thursday, March 24, 2005

The UNIVARIATE Procedure
Variable: z

Moments

N 35 Sum Weights 35
Mean 9658.65714 Sum Observations 338053
Std Deviation 5405.62902 Variance 29220825.1
Skewness -0.2365475 Kurtosis -0.9242246
Uncorrected SS 4258646077 Corrected SS 993508054
Coeff Variation 55.9666726 Std Error Mean 913.718073


Basic Statistical Measures

Location Variability

Mean 9658.66 Std Deviation 5406
Median 11025.00 Variance 29220825
Mode 12100.00 Range 19159
Interquartile Range 8601


Tests for Location: Mu0=0

Test -Statistic- -----p Value------

Student's t t 10.57072 Pr > |t| <.0001
Sign M 17.5 Pr >= |M| <.0001
Signed Rank S 315 Pr >= |S| <.0001


Tests for Normality

Test --Statistic--- -----p Value------

Shapiro-Wilk W 0.948851 Pr < W 0.1045
Kolmogorov-Smirnov D 0.142631 Pr > D 0.0711
Cramer-von Mises W-Sq 0.118206 Pr > W-Sq 0.0639
Anderson-Darling A-Sq 0.661454 Pr > A-Sq 0.0811


Quantiles (Definition 5)

Quantile Estimate

100% Max 19600
99% 19600
95% 18225
90% 15625
75% Q3 13225
50% Median 11025
25% Q1 4624

The SAS System 88
09:32 Thursday, March 24, 2005

The UNIVARIATE Procedure
Variable: z

Quantiles (Definition 5)

Quantile Estimate

10% 1521
5% 625
1% 441
0% Min 441


Extreme Observations

----Lowest---- ----Highest----

Value Obs Value Obs

441 7 15625 22
625 9 15625 25
900 10 17424 19
1521 8 18225 33
1849 3 19600 24


Stem Leaf # Boxplot
18 26 2 |
16 4 1 |
14 4466 4 |
12 11115022 8 +-----+
10 000077 6 *-----*
8 10 2 | + |
6 42 2 | |
4 169 3 +-----+
2 76 2 |
0 46958 5 |
----+----+----+----+
Multiply Stem.Leaf by 10**+3



The SAS System 89
09:32 Thursday, March 24, 2005

The UNIVARIATE Procedure
Variable: z

Normal Probability Plot
19000+ +*++ *
| ++*+
| ***
13000+ ******+
| ** *+++
| **+++
7000+ +**
| ++***
| ++++**
1000+ * *++** *
+----+----+----+----+----+----+----+----+----+----+
-2 -1 0 +1 +2



The SAS System 90
09:32 Thursday, March 24, 2005

The GLM Procedure

Class Level Information

Class Levels Values

fosf 4 0 20 40 60


Number of observations 35

The SAS System 91
09:32 Thursday, March 24, 2005

The GLM Procedure

Dependent Variable: z

Sum of
Source DF Squares Mean Square F Value Pr > F

Model 3 840883487.5 280294495.8 56.93 <.0001

Error 31 152624566.4 4923373.1

Corrected Total 34 993508053.9


R-Square Coeff Var Root MSE z Mean

0.846378 22.97284 2218.868 9658.657


Source DF Type III SS Mean Square F Value Pr > F

fosf 3 840883487.5 280294495.8 56.93 <.0001


Contrast DF Contrast SS Mean Square F Value Pr > F

fosf-lin 1 602638614.2 602638614.2 122.40 <.0001
fosf-cuadra 1 204981342.1 204981342.1 41.63 <.0001

The SAS System 92
09:32 Thursday, March 24, 2005

The GLM Procedure

Bartlett's Test for Homogeneity of z Variance

Source DF Chi-Square Pr > ChiSq

fosf 3 1.3448 0.7185

The SAS System 93
09:32 Thursday, March 24, 2005

The GLM Procedure

Level of --------------z--------------
fosf N Mean Std Dev

0 10 2526.0000 1691.83648
20 8 9608.8750 2343.19870
40 8 15275.0000 2451.37431
60 9 12635.7778 2407.41193

The SAS System 94
09:32 Thursday, March 24, 2005

The GLM Procedure
Least Squares Means

fosf z LSMEAN

0 2526.0000
20 9608.8750
40 15275.0000
60 12635.7778

The SAS System 95
09:32 Thursday, March 24, 2005

The GLM Procedure

Number of observations 4

The SAS System 96
09:32 Thursday, March 24, 2005

The GLM Procedure

Dependent Variable: LSMEAN

Sum of
Source DF Squares Mean Square F Value Pr > F

Model 2 88413444.63 44206722.32 18.63 0.1617

Error 1 2372638.58 2372638.58

Corrected Total 3 90786083.22


R-Square Coeff Var Root MSE LSMEAN Mean

0.973866 15.38581 1540.337 10011.41


Source DF Type III SS Mean Square F Value Pr > F

fosf 1 48414884.75 48414884.75 20.41 0.1387
fosf*fosf 1 23629793.60 23629793.60 9.96 0.1954


Standard
Parameter Estimate Error t Value Pr > |t|

Intercept 2181.570139 1501.334958 1.45 0.3837
fosf 544.555937 120.550451 4.52 0.1387
fosf*fosf -6.076311 1.925421 -3.16 0.1954

You might also like