This document contains the code for several statistical analyses in SAS. It includes:
1. Univariate and GLM analyses of a dataset called DCA that contains temperature and percentage measurements, testing for linear and quadratic relationships between the variables.
2. Univariate analysis and GLM and mixed model analyses of a dataset called DBCATEL that contains experimental data with factors for material and treatment, testing fixed and random effects.
3. The mixed model fits a model with a random effect for material and tests differences between levels of the treatment factor.
This document contains the code for several statistical analyses in SAS. It includes:
1. Univariate and GLM analyses of a dataset called DCA that contains temperature and percentage measurements, testing for linear and quadratic relationships between the variables.
2. Univariate analysis and GLM and mixed model analyses of a dataset called DBCATEL that contains experimental data with factors for material and treatment, testing fixed and random effects.
3. The mixed model fits a model with a random effect for material and tests differences between levels of the treatment factor.
This document contains the code for several statistical analyses in SAS. It includes:
1. Univariate and GLM analyses of a dataset called DCA that contains temperature and percentage measurements, testing for linear and quadratic relationships between the variables.
2. Univariate analysis and GLM and mixed model analyses of a dataset called DBCATEL that contains experimental data with factors for material and treatment, testing fixed and random effects.
3. The mixed model fits a model with a random effect for material and tests differences between levels of the treatment factor.
data dbcatel; input tela susq$ res; cards; 1 A 1.3 1 B 2.2 1 C 1.8 1 D 3.9 2 A 1.6 2 B 2.4 2 C 1.7 2 D 4.4 3 A 0.5 3 B 0.4 3 C 0.6 3 D 2.0 4 A 1.2 4 B 2.0 4 C 1.5 4 D 4.1 5 A 1.1 5 B 1.8 5 C 1.3 5 D 3.4 ; proc univariate normal plot data=dbcatel; var res; run; proc glm data=dbcatel; class tela susq; model res=tela susq/ss3; random tela/test; run; Procedimiento mixed
proc mixed data=dbcatel;
class tela susq; model res=susq/ddfm=satterth; random tela; ls; means susq/tdiff; run;