- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
PROC GLM DATA = fa_1;
CLASS treatment ;
MODEL CFB = treatment base/ SOLUTION;
LSMEANS treatment / STDERR PDIFF=control("R") CL alpha=0.05 out=LSM;
CONTRAST 'T VS R' treatment -1 1 ; /** T = TEST , R = Reference **/
ESTIMATE 'TEST - REF' treatment -1 1 ;
ods output estimates=estimates1 LSMeanDiffCL = LSMeanDiffCL1 ;
run;
data lsm1;
set lsm;
run;
Can any one help me out understanding the above statements regarding PROC GLM,
and
One more query I have is that,when ever I submit the program then the program runs with out any error but there is no output file created(the program say it still running even after submitting the run statement). But when I write a program below with set statement only then i can find the data file and the program running message is seen no more
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
PROC GLM ends with a QUIT; statement, it does not end with a RUN; statement.
The general idea of this PROC GLM is to see if either TREATMENT or BASE is predictive of the variable CFB, and to determine the fitted model. It is also trying to determine if the mean of CFB at the Test level is statistically significantly different than mean of CFB at the Reference level, after adjusting for the variable BASE.
Paige Miller
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the explanations,
but can you please throw some light on the functions used above,
as am not a stat guy so have a least idea of the functions used. But would really like to know them for good, or even you could guide me though a link where i can read it all
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
These are very general and very vague questions. I have already given a general answer.
If you have specific questions, please ask specific questions.
The SAS documentation for PROC GLM explains each function.
Paige Miller
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
@Shrij wrote:
PROC GLM DATA = fa_1;
CLASS treatment ;
MODEL CFB = treatment base/ SOLUTION;
LSMEANS treatment / STDERR PDIFF=control("R") CL alpha=0.05 out=LSM;
CONTRAST 'T VS R' treatment -1 1 ; /** T = TEST , R = Reference **/
ESTIMATE 'TEST - REF' treatment -1 1 ;
ods output estimates=estimates1 LSMeanDiffCL = LSMeanDiffCL1 ;
run;
data lsm1;
set lsm;
run;
Can any one help me out understanding the above statements regarding PROC GLM,
and
One more query I have is that,when ever I submit the program then the program runs with out any error but there is no output file created(the program say it still running even after submitting the run statement). But when I write a program below with set statement only then i can find the data file and the program running message is seen no more
This more of a self study type of question. Here are some tutorials:
Annotated output:
https://stats.idre.ucla.edu/sas/output/glm/
Tutorial:
https://stats.idre.ucla.edu/sas/dae/multivariate-regression-analysis/
Documentation: