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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register 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
  • 588 views
  • 0 likes
  • 2 in conversation