data Subjects;
set Subjects;
%let missvaluesw=%NMISS(of wheeze);
%let missvaluesc=%NMISS(of cough);
run;
returns the error:
Warning: apparant invocation of macro NMISS not resolved
does anyone know what the problem is?
yes course. im starting to realise as a new SAS user that the programming language is set out completely different to other statistical packages im experienced in!
Perhaps i should explain what it does. I expect missing values to come in 'episodes' (ie a series of missing values) for cough and...
thanks for the input i was asking more along the lines of how to make my code loop until it fills in the missing values(how it fills the missing values is irrelevant). and to answer your question wheezecomp and coughcomp are both binary variables (0,1 or '.' for missing data).
I know the code...
I have a program that replaces missing data and watn it to repeat unitl there are no more missing values. How would i got about doing this. So far i have, which does not work:
data Subjects;
nmiss=NMISS(wheezecomp);
%let missvaluesw=NMISS(wheezecomp);
%let missvaluesc=NMISS(coughcomp);
run...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.