BookmarkSubscribeRSS Feed
trekvana
Calcite | Level 5
hello all,

how can I augment a vector or matrix with proc iml?

for example, lets say i have a vector x={1,2} and I want to augment x in positions 2 and 3 with the missing indicator (.) or in other words i want x=(1, . , . , 2}. is this possible to do??

in general i have an x vector and i also have an index vector (i={2,3} in this example) with the positions i want to include the (.) character. is there a function that can do what i want?

thanks
Message was edited by: trekvana Message was edited by: trekvana
1 REPLY 1
Cynthia_sas
SAS Super FREQ
Hi:
PROC IML and IML Studio are pretty specialized. You might find more answers if you posted this in the forum specifically for IML questions:
http://support.sas.com/forums/forum.jspa?forumID=47

cynthia

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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