Escolar Documentos
Profissional Documentos
Cultura Documentos
Random Base SAS Advanced SAS SAS 'n' Stats Fundoo Stuff SAS Certification Magic with Excel R Python Interview FAQs Hot Jobs Who we are
On your plate
Base SAS Certification Questions Series - Part 3
statistics R Advanced SAS Base S
The Global SAS certification exam is administered by SAS and Linear Regression interview Text Mining Logis
Regression cluster analysis Magic of Excel Python Ba
Pearson VUE together. There are 60-65 multiple choice SAS certification Decision Science time-ser
questions in Base SAS certification exam and candidate must forecasting Macro ARIMA Market Basket Analysis NLP
achieve 70% score to pass multiple choice questions in Visualization SAS Gems Sentiment Analysis automation C
Dashboards Factor Analysis Principal Component Analy
110 minutes. SAS Projetcs Conjoint Analysis X Commands guesstimate
Q6. The Banks data set has six observations when the following SAS program
is submitted; Like Page Sign Up
data Allobs;
set Banks;
capital=0; Be the first of your friends to like this
do year = 2000 to 2020 by 5;
capital + ((capital+2000) * rate);
output;
end;
run;
How many observations will the Allobs data set contain?
A. 5
B. 15
C. 25
D. 30
Explanation:
Here the source dataset "Banks" contains 6 observations and Do Loop will go in 5 iterations (2000,
2005, 2010, 2015, 2020) for each observation and thus creates a total of 30(6*5) observations. Search This Blog
Searc
For better explanation try following code.
Popular Posts
Data DS;
do n = 1 to 20 by 2; Market Basket Analysis in R
square = n * n; Market Basket Analysis in R with
output; example How can we identify the
different products which can be
end;
bundled together to increase the
Run; sal...
Here, the DS dataset will have two variable n and square with 10 observations. Create your own Google in Excel
Learn to create G o o g l e in Exce
Excited ? Confused ? ... Don't be, as
you are one click away from learnin
Q7. The SAS data set BANKS is listed below: how to create y...
Banks_Name Rate
Descriptive Statistics With Proc
FirstCapital 0.0718 Univariate
DirectBank 0.0721 Feel your data ! Before going to a
VirtualDirect 0.0728 battle, a warrior better know what
he is fighting against and so a data
analyst ! It is advised to ...
http://www.askanalytics.in/2015/09/base-sas-certification-questions-series_17.html 1/4
3/14/2018 Ask Analytics: Base SAS Certification Questions Series - Part 3
The following SAS program is submitted:
SQL in SAS
SQL and Excel are omnipresent ! I a
Data Newbank;
stating from my experience in
set banks; Analytics industry. Every analyst in
do year = 1 to 4; his/her life time, sometime would
n...
capital + 5000;
end;
Base SAS - Importing Data into SAS
Run; How to read/Import data into SAS
This is the first article in the series
Which one of the following represents how many observations and variables will exist in the SAS Base SAS that covers the very first
thing that an analyst nee...
data set NEWBANK?
Understanding p-value
A. 0 observations and 0 variables A tale about p-value You keep seei
B. 3 observations and 4 variables the term 'p-value' every now and
then, but don't understand what it
C. 3 observations and 3 variables
really mean...
D. 9 observations and 2 variables
Difference between Nodupkey and
Answer of the question is highlighted. Nodup in Proc Sort ?
What is the difference between the
Nodupkey and Nodup options in Pro
Explanation: Sort ? Since ages SAS interviewers
have not stopped asking this q...
The source dataset has three observation and due to looping statement, data step must go in
4 iterations for each of the three observations. Difference between K-Means and
Hierarchical Clustering - Usage
However, output statement is missing and thus for each observation data set will hold only the Optimization
observation of the last iteration. When should I go for K-Means
New dataset Newbank will have 3 observation and 4 variables(Banks_Name, Rate,Year and Capital). Clustering and when for Hierarchica
Clustering ? Often people get confused, which on
of the two i.e. K-Me...
Q8. The following SAS program is submitted:
Data work.pieces; SAS Macros - Part 4 - A finishing tou
do while (n lt 6); to Macro
We have already covered most abou
n + 1;
Macros our previous articles. This
end; article has been written in order to
run; give it a finishing touch. ...
DO WHILE statement executes a DO loop while the expression is true. In this case, Do while will
iterate 6 times till N reaches 6 and without output statement N will hold only the value of the
last iteration and that is 6.
http://www.askanalytics.in/2015/09/base-sas-certification-questions-series_17.html 2/4
3/14/2018 Ask Analytics: Base SAS Certification Questions Series - Part 3
Which one of the following represents how many observations are written to the WORK.SALES
data set?
A. 0
B. 1
C. 5
D. 60
Explanation:
Now we have a classic example of nested looping (loop inside a loop). First outer loop of year will
go in 5 iterations. The second inner loop of month will go for 12 iterations for each of the 5 years
thus making it total of 60 iterations and thus dataset will hold 60 observations.
Example 1: Try the above code without any output statement.
Data work.sales1;
do year = 1 to 5;
do month = 1 to 12;
x+ 1;
end;
end;
run;
Data work.sales2;
do year = 1 to 5;
do month = 1 to 12;
x+ 1;
output;
end;
output;
end;
run;
Enjoy reading our other articles and stay tuned with ...
Kindly do provide your feedback in the 'Comments' Section and share as much as possible.
http://www.askanalytics.in/2015/09/base-sas-certification-questions-series_17.html 3/4
3/14/2018 Ask Analytics: Base SAS Certification Questions Series - Part 3
2 comments
Top comments
Excellent explanations for all the question. Need to add more stuff.
1 · Reply
+2 1 · Reply
Dating single Russian girls Need A Date? Single Russian & Stop The Food Craving Instantly And This Is Why Russian Girls Purchase Tokens FUND and Get Bonuses
and beautiful Ukrainian Ukrainian Girls Want Your Love Lose Weight Easily With Minimum Make The Best Girlfriends up to 50% During March. Simple and Fas
women Now! Exercises
http://www.askanalytics.in/2015/09/base-sas-certification-questions-series_17.html 4/4