srinivasa rao


{ City } h.p. road, moosapat,
< Country > india
* Profession * associate
User No # 92539
Total Questions Posted # 0
Total Answers Posted # 6

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 4
Users Marked my Answers as Wrong # 22
Questions / { srinivasa rao }
Questions Answers Category Views Company eMail




Answers / { srinivasa rao }

Question { 7626 }

is there any differnce between proc means and proc summary?


Answer

THE PROC SUMMARY: IN THIS CASE THE PROC SUMMARY OMIT THE VAR AND OUT WINDOW,
IN THIS CASE WE CAN GET THE ONLY 'N' OBS.

THE PROC MEANS: WE CAN GET THE OUTPUT RESULT IN OUT WINDOW
AND IF WE WANT TO STATISTICAL INFORMATION AS PER YOUR WISE
N,MEAN,MAX,MIN,STD LIKE

Is This Answer Correct ?    0 Yes 0 No

Question { 7652 }

libname deepak 'C:\SAS Files';
proc format;
invalue convert 'A+' = 100
'A' = 96
'A-' = 92
'B+' = 88
'B' = 84
'B-' = 80
'C+' = 76
'C' = 72
'F' = 65;
data deepak.grades;
input ID $3. Grade convert.;
*format Grade convert. ;
datalines;
001 A-
002 B+
003 F
004 C+
005 A
;

proc print data = deepak.grades;
run;
I get the following output
Obs ID Grade
1 001 .
2 002 .
3 003 .
4 004 .
5 005 .

I don’t understand why Grade shows up as a missing value.
Everything seems fine, including ID $3.
Now, in case I use ID : $3. Or use column input, I get the
desired output.

Kindly help
Deepak


Answer

Hi,
you must assign position of Grade variable.you gave a length of id is $3. so you must gave a proper position to Grade variable otherwise it will show the missing.

proc format;
invalue convert 'A-' = 100
'A' = 96
'B+' = 88
'C+' = 76
'F' = 65
;
run;

data deepak;
input ID $3. @5 Grade convert.;
datalines;
001 A-
002 B+
003 F
004 C+
005 A
;
run;
proc print data = deepak;
run;

Is This Answer Correct ?    0 Yes 0 No


Question { Sristek, 5759 }

what is the formula to measure Baseline


Answer

The base line is when the subject before takes drug and after takes the drug and if the subject is got a any problem with drug and his health.

Base Line =Post Base Line- current Base Line

Is This Answer Correct ?    1 Yes 3 No

Question { 5293 }


data jagan1.s;
input bp$;
cards;
100/90
120/89
112/87
run;
in the above code how to convert character data values to numeric data values?


Answer

Using input function

data jaganl.1;
input bp$;
a=input(bp);
cards;
100/90
120/89
112/87
;
run;

Is This Answer Correct ?    1 Yes 9 No

Question { Accenture, 20922 }

When you will use nowd option in report???


Answer

As per my knowledge If we use the ODS in the proc report that time we use the nowd.

Is This Answer Correct ?    0 Yes 7 No

Question { AON, 8743 }

diff between nodup rec and ondup key???


Answer

Hi,
As per my knowledge the key word is wrong in this question "ondup key". I know nodup and nodupkey and dupout.

Is This Answer Correct ?    2 Yes 3 No