- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Have a look error
662 proc glm data=TfemAsF;
class SOIL H;
model TfemAsF1--TfemAsF4= Soil h(soil) / nouni;
ERROR: Variable TFEMASF4 not found.
NOTE: The previous statement has been deleted.
repeated Col 4(0 1 2 3) polynomial / summary printe;
means SOIL h(Soil)/duncan;
ERROR: Effects used in the MEANS statement must have appeared previously in the MODEL statement.
NOTE: The previous statement has been deleted.
run;
ERROR: A MODEL statement must be given.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Repeating my earlier request:
Please run PROC CONTENTS on data set TfemAsF as show us the results.
Paige Miller
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Fix this first.
ERROR: Variable TFEMASF4 not found.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Unable to fix while it is present in datafile
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
@changwani wrote:
Unable to fix while it is present in datafile
?????
The error indicates that the variable is not in the dataset. Or possibly that the variable is not numeric. Remove the variable name from the MODEL statement and see what happens.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I have removed the variable but same error comes with every variable
e.g. Variable TFEMASF4 not found
or TMMOAsF4 not found at fourth repetition point it always unable to find. data file attached
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
@changwani wrote:
Unable to fix while it is present in datafile
When SAS says one thing, and the user says the opposite thing, I believe SAS.
Please run PROC CONTENTS on data set TfemAsF as show us the results.
Paige Miller
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Your right but error would be some where i am unable to recognize and as new learner user...
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Repeating my earlier request:
Please run PROC CONTENTS on data set TfemAsF as show us the results.
Paige Miller
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thank you PaigeMiller for you help and all other fellows who commented i found my error. now it is working.