13 Quizzes by Tomowsiak


Classic
Quiz Sciences
Sciences
10 QUESTIONS
Q1. The default stats for proc means are variable count, mean, min, max and
A) Median
B) Range
C) S. d.
D) S. e of the mean
Q2. Which statement limits proc means to the variables boarded, transfer, deplane
A) By boarded transfer deplane;
B) Class boarded transfer deplane;
C) Output boarded transfer deplane
D) Var boarded transfer deplane;
Q3. Which is a poor candidate for proc means analysis?
A) Idnumber
B) Age
C) Height
D) Weight

Producing descriptive stats

54 played - 13 yrs ago

Chapter 9 from the book

Hard QUIZ 10 QUESTIONS
hard
Classic
Quiz General knowledge
General knowledge
10 QUESTIONS
Q1. Is this data free format or fixed field? fred johnson 18 usc 1 ashley ferris 20 ncsu 3 beth rosemont…
A) Arranged in fiexed fields
B) Free-format
C) Mixed format
D) Arranged in columns
Q2. Which input style should be used to read in free format data?
A) Column
B) Formatted
C) List
D) Mixed
Q3. Which program snippet will create a comma delimited file from a sas data set?
A) File 'c : \sasdata\teamdata' dlm=', '; put name highscore team;
B) File 'c : \sasdata\teamdata' dlm=' ';put name highscore team;
C) File 'c : \sasdata\teamdata' dsd; put name highscore team;
D) File 'c : \sasdata\teamdata'' put name highscore team;

Reading free format data

21 played - 13 yrs ago

Quiz on free formatted data from book

Hard QUIZ 10 QUESTIONS
hard
Classic
Quiz Sciences
Sciences
11 QUESTIONS
Q1. An experiment is performed 3 times. Each time a model is fit. This means we generate how many slopes?…
A) 1 intercept, 1 slope
B) 3 intercepts, 3 slopes
Q2. Using the question above, is it accurate to say that the slope and the y-intercept are both random variables?…
A) No. . they're the same every time
B) Yes. . each experiment results in its own model. . they're similar though
Q3. When we fit a model, the line gives what exactly?
A) Tells the average/mean response for a change of 1 unit along regressor
B) Tells us something else
C) Tells us the exact value of each individual measurement from original data

Regression1

5 played - 13 yrs ago

Regression1

Hard QUIZ 11 QUESTIONS
hard
Classic
Quiz Sciences
Sciences
9 QUESTIONS
Q1. Which statement associates fileref crime with the raw file c : \states\data\crime?
A) Filename crime c : \states\data\crime;
B) Filename crime 'c : \states\data\crime';
C) Fileref crime 'c : \states\data\crime';
D) Filename 'c : \states\data\crime' crime;
Q2. Filerefs remain in effect until
A) You change them
B) You cancel them
C) You shut down sas
D) All of the above
Q3. Which specifies that the products file should be read and only the first 15 obs?
A) Infile products obs 15;
B) Infile products obs=15;
C) Input products obs=15;
D) Input product 1-15;

Chapter 5 from the book

31 played - 13 yrs ago

Creating sas data from raw files and excel work sheets

Hard QUIZ 9 QUESTIONS
hard
Classic
Quiz Sciences
Sciences
8 QUESTIONS
Q1. If I want to assign a label to 3 fields, (on, changed, flight ), print a date, and print records only…
A) Var on changed flight; where on>=219;
B) Var date on changed flight; where changed>3;
C) Var boarded transferred flight; label boarded='on' transferred='changed'; where flight=219;
D) Var date on changed flight; where flight=219;
Q2. If labels are NOT stored with the data, which can be used to make the field names prettier?
A) Proc print data=mylib. crap label;label field1='Field1' field2='Field2';
B) Roc print data=mylib. crap;label field1='Field1' field2='Field2';
C) Roc print data=mylib. crap label;run;
D) Roc print data mylib. crap label;label field1='Field1' field2='Field2';
Q3. Which selects ONLY those that have style equal to ranch, split or twostory?
A) Where style='ranch' or 'split' or 'twostory';
B) Where style in 'ranch' or 'split' or 'twostory';
C) Where style in (Ranch, Split, Twostory);
D) Where style in('ranch', 'split', 'twostory');

Creating list reports

7 played - 13 yrs ago

Chapter 4 from the book

Hard QUIZ 8 QUESTIONS
hard
Classic
Quiz Sciences
Sciences
30 QUESTIONS
Q1. We can use use ANOVA to test the equality of two or more means.
A) True
B) False
C) Neither
D) Huh? . . what's ANOVA?
Q2. What is meant by a replication of an experiment?
A) A complete performance of the experiment. That is, every treatment possibility is applied.
B) Only some of the treatments are applied.
C) Neither
Q3. Does the picture below suggest that we have a significant result for differences between treatments.
A) True. . it's obvious one of the means must be different
B) False. . the means all seem to fall within the spread of the data. . it would be difficult to tell them…

Design Of Experiments

1.5 k played - 13 yrs ago

Questions about what we've learned so far.

Hard QUIZ 30 QUESTIONS
hard
Classic
Quiz General knowledge
General knowledge
10 QUESTIONS
Q1. Which statement is false regarding "do" loops?
A) They can contain additiona clauses
B) They can generate multiple observations
C) They can be used to combine data and proc steps
D) They can be used to read data
Q2. How many times does this code run? data work. earnings; amount=1000; rate=0. 075/12; do month=1 to 12;…
B) 1
C) 12
D) 13
Q3. If 5000 is invested on Jan 1 of each year for 15 years, complete the data step so as to determine the…
A) Do count=1 to 15;
B) Do count=1 to 15 by 10%;
C) Do count=1 to capital;
D) Do count=capital to (capital*. 1);

SAS DO loops

527 played - 13 yrs ago

Quiz on do loops from the book

Hard QUIZ 10 QUESTIONS
hard
Classic
Quiz General knowledge
General knowledge
24 QUESTIONS
Q1. What does the following code do?
A) Nothing. . it wouldn't work
B) It sets the two year cut off to 1950, so dates such as 02/24/45 are interpreted as 02/24/2045
C) It works, but does something else
Q2. Is the data being imported in this code external or instream?
A) External. .
B) Instream
C) Neither. . it's something else
Q3. The little "@" symbols is a line pointer.
A) False. . it's a column pointer
B) True. . it's a line pointer
C) It's vague. . could be either one. . depending on the situation

Sas Programming 1

520 played - 13 yrs ago

Chapter 1 From Book

Medium QUIZ 24 QUESTIONS
medium
Classic
Quiz General knowledge
General knowledge
10 QUESTIONS
Q1. Sas stores dates as the number of days from when?
A) Jan 1, 1900
B) Jan 1, 1960
C) Jan 1, 1950
D) Jan 1, 1970
Q2. Why store time and dates as numeric values?
A) Can be easily edited
B) Can be easily read and understood
C) Can be used like strings
D) Can be used like numbers in calculations
Q3. Sas doesn't adjust for daylight, but it adjust for what?
A) Leap seconds
B) Leap years
C) Julian dates
D) Time zones

Reading date and time values

140 played - 13 yrs ago

Chapter 19 from the book

Hard QUIZ 10 QUESTIONS
hard
Classic
Quiz Sciences
Sciences
9 QUESTIONS
Q1. Data work. cardiac(drop =age group); set clinic. fitness(keep=age weight group); if group=2 and age>40;…
A) None
B) Weight
C) Age, group
D) Age, weight, group
Q2. Which snippet reads the dataset orders correctly and creates the fastorder dataset?
A) Data catalog. order (drop=ordertime); set july. orders(keep=product units price);
B) Data catalog. order (drop=ordertime); set july. fastorder(keep=product units price);
C) Data catalog. fastorder (drop=ordertime); set july. orders(keep= ordetime product units price);
D) None of the above
Q3. There are 500 obs in the dataset USA. what's the result of submitting this code? data work. getobs5(drop=obsnum);…
A) An error
B) An empty set
C) Continous loop
D) A data set with one observation

Reading sas data sets over view chapter 12

68 played - 13 yrs ago

Chapter 12 from the book

Hard QUIZ 9 QUESTIONS
hard
Classic
Quiz Sciences
Sciences
10 QUESTIONS
Q1. In the code shown, how many records are generated?
A) 7
B) However many are in the original file
C) No records are generated but the code runs
D) The code is broken
Q2. Will the code shown below run, and why or why not?
A) Yes. . all looks good
B) No. . too few variables in the list to match the dimension of the array
C) There is another problem not listed here
D) The problem is in the input data step
Q3. In the picture shown, the array name is shown correctly.
A) No. . the array name includes the index
B) Yes. . this is the correct way of showing just hte array name

Arrays in SAS

67 played - 13 yrs ago

Chapter 16 from the book

Hard QUIZ 10 QUESTIONS
hard
Classic
Quiz General knowledge
General knowledge
8 QUESTIONS
Q1. You can position the input pointer on a specific record by using. .
A) Column pointer controls
B) Column specifications
C) Line pointer controls
D) Line hold specifiers
Q2. Which pointer type is used to read multiple records sequentially?
A) @n
B) +n
C) /
D) All of the above
Q3. Which can be used to read records non sequentially?
A) @n
B) #n
C) +n
D) /

Creating a single observation from multiple records

46 played - 13 yrs ago

Chpater 20 from the book

Hard QUIZ 8 QUESTIONS
hard
Classic
Quiz Sciences
Sciences
10 QUESTIONS
Q1. If you don't specify a library name, where are formats stored by default and what happens to them ?
A) Work. formats, and they exist after you close sas
B) Work. formats, and they vanish after you close sas
C) Permanently
D) Only for the current data step
Q2. Which will store your formats in a permanent library?
A) Libname library 'c : \sasdata\formats\'; proc format lib=library. . ;
B) Libname library 'c : \sasdata\formats\'; format lib=library;
C) Library 'c : \sasdata\formats\'; proc format lib=library. . ;
D) Libname library 'c : \sasdata\formats\'; proc lib=library. . ;
Q3. If you're creating a new format with the value statement, and you're going to format character fields,…
A) Nothing extra
B) A dollar sign
C) Must be two characters long
D) Can't end with a number

User defined formats chapter 7

18 played - 13 yrs ago

Chapter 7 from the book. . user defined formats

Hard QUIZ 10 QUESTIONS
hard