Assignment 3
docx
keyboard_arrow_up
School
Florida State University *
*We aren’t endorsed by this school
Course
STA 3024
Subject
Statistics
Date
Feb 20, 2024
Type
docx
Pages
2
Uploaded by jasenrinehart
STA 3024 Assignment 3
1.
The data set lemur.txt (in the STA 3024 folder) contains the ID, Sex, Name, and DOB (date of birth) of 35 ring-tailed lemurs. a.
Using the list style of input read in the above data such that the dates are stored as numbers (SAS dates). Print the resulting data set without formatting it. b.
Print the data set so that DOB is formatted as February 7, 2024.
c.
Create a new data step based on the one in (a) that calculates the age in years of each lemur. Print the entire data set with the formats from (b).
d.
Create a new data set by using a SET statement with the data set created in (a) and use a WHERE statement to select only lemurs born in 2016.
e.
Print the name of the lemur with the highest status among this group. If you have been attending class, you should be familiar with the basic structure of ring-tailed lemur society.
2.
The data file donation.dat is in the STA3024 folder. The first 10 observations are:
120265 . . . 25
120267 15 15 15 15
120269 20 20 20 20
120270 20 10 5 .
120271 20 20 20 20
120272 10 10 10 10
120275 15 15 15 15
120660 25 25 25 25
120662 10 . 5 5
120663 . . 5 .
The following variables should be read in using list style input:
Name
Type
Length
IDNum
Character
6
Q1
Numeric
8
Q2
Numeric
8
Q3
Numeric
8
Q4
Numeric
8
Q1, Q2, Q3, and Q4 are the quarterly donations from each person.
Create a SAS data set containing the ID, Q1, Q2, Q3, Q4 and two new variables:
The number of quarters in which a person has a missing donation.
The total of the donations for each person.
Use SAS functions to calculate the new variables.
3.
The SAS data sets sales and nonsales are stored in the course folder.
a.
Use the statement LIBNAME lib '/courses/d649d56dba27fe300/
STA3024
'
;
to designate this folder as a library named lib. Make copies of lib.sales and lib.nonsales, called work.sales and work.nonsales. b.
Use a DATA step to concatenate the SAS data sets work.sales and work.nonsales to create a new data set called work.allemployees. Use a RENAME= data set option to change the names of the different variables in work.nonsales. work.allemployees should have 400 observations and 9 variables. 4.
The SAS data sets employee_payroll and employee_addresses are stored in the library defined in 3(a).
a.
Use a PROC SORT step to sort lib.employee_payroll in ascending order by Employee_ID to create a new data set, work.payroll, that contains the sorted data. b.
Use a PROC SORT step to sort lib.employee_addresses in ascending order by Employee_ID to create a new data set called work.addresses. c.
Use a DATA step to merge the two sorted data sets by Employee_ID to create a new data set called work.payadd. This new data set should have 424 observations and 16 variables.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Documents
Related Questions
2. Compute
10
10
and s for the data set:
arrow_forward
Find the following for the data set {2, 4, 6, 8, 10}
13. ΣΟΧ
arrow_forward
The personnel files of all eight employees at the Pawnee location of Acme Carpet Cleaners Inc. revealed that during the last 6-month
period they lost the following number of days due to illness:
5 5 4
4
1
2
All eight employees during the same period at the Chickpee location of Acme Carpets revealed they lost the following number of days
due to illness:
Range
Mean
2 1 0 10 2 2 3 0
0 6
Click here for the Excel Data File
Required:
a. Calculate the range and mean for the Pawnee location and the Chickpee location. (Round the "Mean" to 2 decimal places.)
Pawnee
location
O Chickpee location
O Pawnee location
Chickpee location
b-1. Based on the data which location has fewer lost days?
arrow_forward
The following are the duration times (minutes) of all missions flown by a space shuttle. Use the given data to construct a boxplot and identify the 5-number summary.
4, 7403, 8683, 8824, 10, 045, 10, 107, 10, 115, 11, 452, 11, 533, 11, 877
the 5-nunmber summary is:
make a boxplot
arrow_forward
The Current Results website lists the average annual high and low temperatures (degreesfahrenheit) and average annual snowfall (inches) for fifty-one major U.S. cities, based ondata from 1981 to 2010. The data are contained in the file Snow. for example, the average low temperature for Columbus, Ohio is 44 degrees and the average annual snowfallis 27.5 inches.a. Construct a scatter diagram with the average annual low temperature on the horizontalaxis and the average annual snowfall on the vertical axis
arrow_forward
The data file includes the text of three books of the Bible (Joshua, Jonah and Philippians) using the ESV translation. While these are all great books, our only interest for this project is how often each letter is used.
1) In the Word file containing the Biblical text, use the “Find” feature to identify how many times each letter occurs (i.e. the letter’s frequency). Create an Excel spreadsheet to display the number of occurrences of each letter in the English alphabet.
Using the find feature, here is the amount for each letter in alphabet
A
1810
B
323
C
442
D
1097
E
2845
F
609
G
416
H
1689
I
1381
J
134
K
143
L
935
M
586
N
1503
O
2237
P
379
Q
5
R
1362
S
1407
T
2235
U
703
V
257
W
513
X
17
Z
6
2) In the Excel spreadsheet, sum your frequencies to compute the total number of letters in the 3 books (this is n).
a) In your…
arrow_forward
The data file includes the text of three books of the Bible (Joshua, Jonah and Philippians) using the ESV translation. While these are all great books, our only interest for this project is how often each letter is used.
1) In the Word file containing the Biblical text, use the “Find” feature to identify how many times each letter occurs (i.e. the letter’s frequency). Create an Excel spreadsheet to display the number of occurrences of each letter in the English alphabet.
Here is the amount of occurences I found for each letter using the find feature
A=1810
B=323
C=442
D=1097
E=2845
F=609
G=416
H=1689
I=1381
J=134
K=143
L=935
M=586
N=1503
O=2237
P=379
Q=5
R=1362
S=1407
T=2235
U=703
V=257
W=513
X=17
Z=6
2) In the Excel spreadsheet, sum your frequencies to compute the total number of letters in the 3 books (this is n).
a) In your spreadsheet, use the formula to compute the sample proportion of each letter’s appearances relative to total number of letters (i.e. find the relative…
arrow_forward
Finish times (to the nearest hour) for 57 dogsled teams are shown below.
Make a dotplot for the data.
261
271
236
244
279
296
284
299
288
288
247
256
308
360
341
333
261
266
287
296
313
311
307
307
299
303
277
283
304
305
288
290
288
289
297
299
332
330
309
328
307
328
285
291
295
298
306
315
310
318
318
318
333
321
323
324
327
arrow_forward
. Oil spills 2010 Data from the International Tanker Owners Pollution Federation Limited (www.itopf.com) givethe cause of spillage for 460 large oil tanker accidentsfrom 1970–2010. Here are displays.a) Write a brief report interpreting what the displays show. b) Is a pie chart an appropriate display for these data?Why or why not?
arrow_forward
Consider the following data set:
126 131 133 126 106
105
143 101
124
133 143
134 103 103 133 121
141 121 134 121
143 121
Below is a partially completed stem-and-leaf diagram for this data set:
10
12
13
14
Determine the correct values for the missing entries, and fill them in. Don't leave any space between leaves.
arrow_forward
11. Construct a stem-and-leaf display for the following data:
1
15
64
15
34
75
24
81
67
19
25
48
57
69
62
41
46
35
27
72
64
48
51
77
71
21
20
26
42
83
38
arrow_forward
a. the push-up range for 13-year-old boys
b. the pull-up range for 13-year-old girls
c. the mile run range for 12-year-old girls
arrow_forward
Please answer and explain all parts a,b and c. thank you.
arrow_forward
The following items represent the number of birds observed at a given feeder over the past several days. What is the mode number of birds to visit that feeder?
47, 47, 66, 81, 42, 33, 42, 13, 33, 42, 72, 81, 5
arrow_forward
On the right is a contingency table for active Naval military personnel, cross-classified by marital status and pay grade. Complete parts (a) through (f) below.
c. How many are enlisted and have a civilian marriage?
There are______that are enlisted and have a civilian marriage.
d. How many are either enlisted or have a civilian marriage?
There are______that are either enlisted or have a civilian marriage.
e. How many are neither enlisted nor have a civilian marriage?
There are ______that are neither enlisted nor have a civilian marriage.
f. How many do not have a joint service marriage?
There are______that do not have a joint service marriage.
arrow_forward
Use the following data from Memorial Health to c
alculate the Newborn average daily census for the entire year. Round to the nearest whole number.
January 1st – June 30th
A&C Bed Count: 150
A&C Inpatient Service Days: 26,613
Bassinet Count: 40
Newborn Inpatient Service Days: 4108
July 1st - December 31st A&C Bed Count: 200Inpatient Service Days: 33,921Bassinet Count: 40Newborn Inpatient Service Days: 4068
Group of answer choices
20
21
22
23
arrow_forward
Please answer all thoroughly and clearly
Grade 12 Data Management
arrow_forward
Find the five-number summary of the scores in the Math 130 test pre-sented in Table 4.1, page 112. Draw the boxplot.
arrow_forward
Assume that you are employed by a mobile phone company and you want to
characterize costumers on the basis of their mobile-phone activity. Which type
of network would be most useful for representing the mobile-phone data of
your company?
Select one:
a. Directed,Unweighted
b.
Directed,Weighted
c. Simple
d. Undirected, Weighted
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you

Glencoe Algebra 1, Student Edition, 9780079039897...
Algebra
ISBN:9780079039897
Author:Carter
Publisher:McGraw Hill
Related Questions
- 2. Compute 10 10 and s for the data set:arrow_forwardFind the following for the data set {2, 4, 6, 8, 10} 13. ΣΟΧarrow_forwardThe personnel files of all eight employees at the Pawnee location of Acme Carpet Cleaners Inc. revealed that during the last 6-month period they lost the following number of days due to illness: 5 5 4 4 1 2 All eight employees during the same period at the Chickpee location of Acme Carpets revealed they lost the following number of days due to illness: Range Mean 2 1 0 10 2 2 3 0 0 6 Click here for the Excel Data File Required: a. Calculate the range and mean for the Pawnee location and the Chickpee location. (Round the "Mean" to 2 decimal places.) Pawnee location O Chickpee location O Pawnee location Chickpee location b-1. Based on the data which location has fewer lost days?arrow_forward
- The following are the duration times (minutes) of all missions flown by a space shuttle. Use the given data to construct a boxplot and identify the 5-number summary. 4, 7403, 8683, 8824, 10, 045, 10, 107, 10, 115, 11, 452, 11, 533, 11, 877 the 5-nunmber summary is: make a boxplotarrow_forwardThe Current Results website lists the average annual high and low temperatures (degreesfahrenheit) and average annual snowfall (inches) for fifty-one major U.S. cities, based ondata from 1981 to 2010. The data are contained in the file Snow. for example, the average low temperature for Columbus, Ohio is 44 degrees and the average annual snowfallis 27.5 inches.a. Construct a scatter diagram with the average annual low temperature on the horizontalaxis and the average annual snowfall on the vertical axisarrow_forwardThe data file includes the text of three books of the Bible (Joshua, Jonah and Philippians) using the ESV translation. While these are all great books, our only interest for this project is how often each letter is used. 1) In the Word file containing the Biblical text, use the “Find” feature to identify how many times each letter occurs (i.e. the letter’s frequency). Create an Excel spreadsheet to display the number of occurrences of each letter in the English alphabet. Using the find feature, here is the amount for each letter in alphabet A 1810 B 323 C 442 D 1097 E 2845 F 609 G 416 H 1689 I 1381 J 134 K 143 L 935 M 586 N 1503 O 2237 P 379 Q 5 R 1362 S 1407 T 2235 U 703 V 257 W 513 X 17 Z 6 2) In the Excel spreadsheet, sum your frequencies to compute the total number of letters in the 3 books (this is n). a) In your…arrow_forward
- The data file includes the text of three books of the Bible (Joshua, Jonah and Philippians) using the ESV translation. While these are all great books, our only interest for this project is how often each letter is used. 1) In the Word file containing the Biblical text, use the “Find” feature to identify how many times each letter occurs (i.e. the letter’s frequency). Create an Excel spreadsheet to display the number of occurrences of each letter in the English alphabet. Here is the amount of occurences I found for each letter using the find feature A=1810 B=323 C=442 D=1097 E=2845 F=609 G=416 H=1689 I=1381 J=134 K=143 L=935 M=586 N=1503 O=2237 P=379 Q=5 R=1362 S=1407 T=2235 U=703 V=257 W=513 X=17 Z=6 2) In the Excel spreadsheet, sum your frequencies to compute the total number of letters in the 3 books (this is n). a) In your spreadsheet, use the formula to compute the sample proportion of each letter’s appearances relative to total number of letters (i.e. find the relative…arrow_forwardFinish times (to the nearest hour) for 57 dogsled teams are shown below. Make a dotplot for the data. 261 271 236 244 279 296 284 299 288 288 247 256 308 360 341 333 261 266 287 296 313 311 307 307 299 303 277 283 304 305 288 290 288 289 297 299 332 330 309 328 307 328 285 291 295 298 306 315 310 318 318 318 333 321 323 324 327arrow_forward. Oil spills 2010 Data from the International Tanker Owners Pollution Federation Limited (www.itopf.com) givethe cause of spillage for 460 large oil tanker accidentsfrom 1970–2010. Here are displays.a) Write a brief report interpreting what the displays show. b) Is a pie chart an appropriate display for these data?Why or why not?arrow_forward
- Consider the following data set: 126 131 133 126 106 105 143 101 124 133 143 134 103 103 133 121 141 121 134 121 143 121 Below is a partially completed stem-and-leaf diagram for this data set: 10 12 13 14 Determine the correct values for the missing entries, and fill them in. Don't leave any space between leaves.arrow_forward11. Construct a stem-and-leaf display for the following data: 1 15 64 15 34 75 24 81 67 19 25 48 57 69 62 41 46 35 27 72 64 48 51 77 71 21 20 26 42 83 38arrow_forwarda. the push-up range for 13-year-old boys b. the pull-up range for 13-year-old girls c. the mile run range for 12-year-old girlsarrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Glencoe Algebra 1, Student Edition, 9780079039897...AlgebraISBN:9780079039897Author:CarterPublisher:McGraw Hill

Glencoe Algebra 1, Student Edition, 9780079039897...
Algebra
ISBN:9780079039897
Author:Carter
Publisher:McGraw Hill