salve, sto lavorando con un codice SAS in cui compare l'utilizzo di 'matchnum' per la definizione di un parametro:
b=j(1,matchnum,0);
qualcuno sa come interpretare questa riga?
all'interno del codice non fa riferimento a niente, è a se stante, vorrei sapere se matchnum è una funzione che vi è nota.
Grazie
Given the fact that the number of Italian-writing posters here is very limited (and I don't know if any of the usual "solvers" understand Italian at all), but basically all do read/write English, I suggest you re-post your question in English.
There is no matchnum function or parameter as far as I know, nor can I find any information on it. By its use it looks like a dataset variable name, however what the j() function is I don't know, could it be an array? Maybe post more of the code so we can see it in context.
I'm guessing this line of code is part of an IML Procedure since the J Function is part of the SAS/IML language 🙂 you can read about it at the documentation page
and in the article
How the J function got its name
In your case, you define a matrix with 1 row and matchnum columns of zeros, ie. a row vector of zeros.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.