BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Abushanab_67
Calcite | Level 5

Dear SAS team

I got the following  error massage :

70         TITLE " MULTIPLE IMPUTATION REGRESSION - MVN";

71         proc glm data = mi_mvn ;

72         modeL read = BSBM17A BSBM17B BSBM17C BSBM17D BSBM17E BSBM17F BSBM17G BSBM17H BSBM17I;

ERROR: Variable READ not found.

 

Although these variables exist, as following:

proc mi data= IMPUTATI.IMPORT nimpute=5 out=mi_mvn seed=54321;

var BSBM17A BSBM17B BSBM17C BSBM17D BSBM17E BSBM17F BSBM17G BSBM17H BSBM17I BSMMAT01 BSMMAT02 BSMMAT03 BSMMAT04 BSMMAT05;

run;

 

TITLE " MULTIPLE IMPUTATION REGRESSION - MVN";

proc glm data = mi_mvn ;

modeL read = BSBM17A BSBM17B BSBM17C BSBM17D BSBM17E BSBM17F BSBM17G BSBM17H BSBM17I;

by _imputation_;

ods output ParameterEstimates=a_mvn;

run;

quit;

Kindly, can you help me to resole this error.

Regards

 

1 ACCEPTED SOLUTION

Accepted Solutions
PaigeMiller
Diamond | Level 26

@Abushanab_67 wrote:

Dear SAS team

I got the following  error massage :

70         TITLE " MULTIPLE IMPUTATION REGRESSION - MVN";

71         proc glm data = mi_mvn ;

72         modeL read = BSBM17A BSBM17B BSBM17C BSBM17D BSBM17E BSBM17F BSBM17G BSBM17H BSBM17I;

ERROR: Variable READ not found.

 


When you run this code and get this error, it is because data set MI_MVN does not contain a variable named READ.


If you believe otherwise, and SAS disagrees with you, then in such cases I believe SAS. You have to look at the data set MI_MVN with your own eyes (or look at PROC CONTENTS) to see that it is not in there.

--
Paige Miller

View solution in original post

1 REPLY 1
PaigeMiller
Diamond | Level 26

@Abushanab_67 wrote:

Dear SAS team

I got the following  error massage :

70         TITLE " MULTIPLE IMPUTATION REGRESSION - MVN";

71         proc glm data = mi_mvn ;

72         modeL read = BSBM17A BSBM17B BSBM17C BSBM17D BSBM17E BSBM17F BSBM17G BSBM17H BSBM17I;

ERROR: Variable READ not found.

 


When you run this code and get this error, it is because data set MI_MVN does not contain a variable named READ.


If you believe otherwise, and SAS disagrees with you, then in such cases I believe SAS. You have to look at the data set MI_MVN with your own eyes (or look at PROC CONTENTS) to see that it is not in there.

--
Paige Miller

Catch up on SAS Innovate 2026

Dive into keynotes, announcements and breakthroughs on demand.

Explore Now →
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1046 views
  • 0 likes
  • 2 in conversation