BAN110_2
pdf
keyboard_arrow_up
School
Seneca College *
*We aren’t endorsed by this school
Course
110
Subject
Statistics
Date
Apr 3, 2024
Type
Pages
14
Uploaded by BailiffComputer14693
21/02/2024, 14:31
Program Summary - HIMANI_119717239_Assignment2.sas
about:blank
1/14
Program Summary - HIMANI_119717239_Assignment2.sas
Execution Environment
Author:
u63731080
File:
/home/u63731080/BAN110/HIMANI_119717239_Assignment2.sas
SAS Platform:
Linux LIN X64 3.10.0-1062.12.1.el7.x86_64
SAS Host:
ODAWS02-USW2-2.ODA.SAS.COM
SAS Version:
9.04.01M7P08062020
SAS Locale:
en_GB
Submission Time:
21/02/2024, 14:31:52
Browser Host:
CPEBC4DFB434483-CMBC4DFB434480.CPE.NET.CABLE.ROGERS.COM
User Agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
Application Server: ODAMID00-USW2-2.ODA.SAS.COM
Code: HIMANI_119717239_Assignment2.sas
libname record
'/home/u63731080/BAN110'
; data
customer_record1
; set record.customer_all
; run
; /*Q1. Examine the target variable y: Use PROC FREQ to list a simple frequency table for the variable y. */ title
'Simple Frequency Table of target variable y'
; proc
freq
data
=
customer_record1
; table y
; run
; title
; /* Q2. Examine the variable "contact" and study its dependency with the target variable y. Use PROC FREQ to list a simple frequency table for the variable "contact". Examine the output for invalid values. */ title
'Simple Frequency Table of variable Contact'
; proc
freq
data
=
customer_record1
; table contact
; run
; title
; /* Q3. Contiengency table Contact by y and mosaic plot: create a 2x2 contingency table along with a mosaic plot. Show the statistics for Table of contact by y. */ proc
freq
data
=
customer_record1
; tables contact * y / chisq plots
=
mosaicplot
; run
; /* Interpret: (a) Based on the mosaic plot, do you assume association between the two variables? (b) Based on the Contingency coefficient, is there an association between the two variables? Answer: (a) Based on the mosaic plot, I would assume that there is an association between the two variables. It apperas that customers contacted via cellular were more likely to buy the Certificate of Deposit(CD) from the institution. Customers were contacted via telephone were the next most likely and the least likely were customers contacted by unknown meth
(b) According to contingency coefficient with a value of 0.2541 there is medium association between the two variables. The closer to 0 the contigency coefficient is, the association is weaker and closer to 1 the contigency coefficient is, the a
*/ /* Q4. Examine the variable "education" /* 4.1. define a new format, name it education_Check and use it to identify invalid values for the variable education. Valid values are 'primary', 'secondary', 'tertiary', 'unknown'. Refer to program 1.8. Chapter 1 - Working with Character Data Cody's Data Cleaning Techniques Using SAS, Third Edition*/ Proc
format
; value $
education_check 'primary'
,
'secondary'
,
'tertiary'
,
'unknown' =
'valid' 'SECONDARY' = 'invalid'
; run
; title
'Checking Invalid values of Education'
; proc
freq
data
=
customer_record1
; table Education
/ nocum nopercent missing
; format Education $education_check.
; run
; title
; /* 4.2. Use the function lowcase on education column. use the same dataset name for output dataset. */ data
customer_record1
; set record.customer_all
; Education
=
lowcase
(
Education
); run
;
21/02/2024, 14:31
Program Summary - HIMANI_119717239_Assignment2.sas
about:blank
2/14
/*4.3. show the simple frequency table after the change. */ title
'Simple frquency table of variable Education'
; proc
freq
data
=
customer_record1
; table Education
/ nocum nopercent missing
; run
; title
; /* Q5. Examine the variable "marital". 5.1. Use PROC print with a where statement to check for data errors in the variable marital. Consider the valid values as "single", "married", "divorced". Refer to program 1.6. Chapter 1 - Working with Character Data Cody's Data Cleaning Techniques Using SAS, Third Edition */ title
'Table of Invalid values of variable marital '
; proc
print
data
=
customer_record1
; var marital
; id customer_id
; where marital not in (
'single'
,
'divorced'
,
'married' ); run
; title
; /* 5.2. Use the function lowcase on the variable marital. */ data
customer_record1
; set record.customer_all
; marital
=
lowcase
(
marital
); run
; /* 5.3. show the simple frequency table after the change. */ title
'Simple Frequency Table of variable marital'
; proc
freq
data
=
customer_record1
; table marital
/ nocum nopercent missing
; run
; title
; /* Q6. Examine the variable "Job". 6.1. Use PROC FREQ to list a simple frequency table. */ title
'Simple Frequency Table of variable Job'
; proc
freq
data
=
customer_record1
; table Job
/ nocum nopercent missing
; run
; title
; /* 6.2. write a code to combine the categories "admin." and "ADMINISTRATION" for the job variable as "admin". replace any occurrence of the value "ADMINISTRATION" with "admin". */ data
customer_record1
; set record.customer_all
; if Job in (
'admin.'
,
'ADMINISTRATION'
) then Job = 'admin'
; run
; /* 6.3. show the simple frequency table after the change. */ title
'Simple Frequency Table of variable Job after change'
; proc
freq
data
=
customer_record1
; table Job
/ nocum nopercent missing
; run
; title
; /* Q7. checking missing values Adapt the code in program 7.2. of Chapter 1 so it works on customer_all dataset. Refer to program 7.2. Counting Missing Values for Character Variables in Chapter 1 - Working with Character Data Cody's Data C
title "Checking Missing Character Values"; proc format; value $Count_Missing ' ' = 'Missing' other = 'Nonmissing'; run; proc freq data=Clean.Patients; tables _character_ / nocum missing; format _character_ $Count_Missing.; run; */ title "Checking Missing Character Values"
; proc
format
; value $
Character_Count_Missing ' ' = 'Missing' other = 'Nonmissing'
; run
; proc
freq
data
=
customer_record1
; tables _character_ / nocum missing
; format _character_ $Character_Count_Missing.
; run
; title
; title "Checking Missing Numeric Values"
; proc
format
; value Numeric_Count_missing .=
'missing' other
= 'nonmissing'
; run
;
21/02/2024, 14:31
Program Summary - HIMANI_119717239_Assignment2.sas
about:blank
3/14
proc
freq
data
=
customer_record1
; tables _numeric_ / nocum missing
; format _numeric_ Numeric_Count_Missing.
; run
; title
; /* Q8. create a new variable named jobMF to indicate the most frequent job category Reuse the code provided in ch17, section 17.3.2. check the most frequent job category based on the output of proc freq. create the new variable jobMF print the first few observations. */ title
'Simple Frequency Table of variable Job'
; proc
freq
data
=
customer_record1 order
=
freq
; table Job
/ nocum nopercent missing
; run
; title
; /* Abbreviations: MF-MostFrequent and NM-NotMostFrequent */ data
customer_record1
; set record.customer_all
; if job
=
'management' then jobMF
= 'MF'
; else jobMF
= 'NM'
; run
; proc
print
data
=
customer_record1 (
obs
=
10
); run
; /* Q9. Removing units from a value and standardizing For a reference example, refer to program 1.10 from chapter 1: Working with Character Data Cody's Data Cleaning Techniques Using SAS, Third Edition Section: Removing Units from a
Program 1.10: Converting Weight with Units to Weight in Kilograms *Program to Remove Units from Numeric Data; data Units; input Weight $ 10.; Digits = compress(Weight,,'kd'); 1 if findc(Weight,'k','i') then 2 Wt_Kg = input(Digits,5.); else if not missing(Digits) then Wt_Kg = input(Digits,5.)/2.2; 3 datalines; 100lbs. 110 Lbs. 50Kgs. 70 kg 180 ; title "Reading Weight Values with Units"; proc print data=Units noobs; format Wt_Kg 5.1; run; */ data
units
; input Length $ 10.
; datalines
; 100m. 110 ft. 50M. 70 Ft 180 ; run
; proc
print
data
=
units
; run
; /* Given the following units data, */ /*(a) use the approriate function to keep only digits. name the new variable "digits" */ /* (b) use the function findc on length to search for the character 'm' (stands for meter), if m is found, keep the value as it is, if not, make a foot to meter conversion. */ data
units
; input Length $ 10.
; digits = input
(
compress
(
Length
, ,
'kd'
), best32.
); if findc
(
Length
, 'm'
, 'i'
) then Length_m = input
(
digits
, best32.
); else Length_m = input
(
digits
, best32.
)*
0.3048
; datalines
; 100m 110 ft 50M. 70 Ft 180 ; run
; proc
print
data
=
units
; run
;
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
21/02/2024, 14:31
Program Summary - HIMANI_119717239_Assignment2.sas
about:blank
4/14
Log: HIMANI_119717239_Assignment2.sas
Notes (61)
1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
NOTE: ODS statements in the SAS Studio environment may disable some output features.
69 70 libname record'/home/u63731080/BAN110';
NOTE: Libref RECORD was successfully assigned as follows: Engine: V9 Physical Name: /home/u63731080/BAN110
71 data customer_record1;
72 set record.customer_all;
73 run;
NOTE: There were 10578 observations read from the data set RECORD.CUSTOMER_ALL.
NOTE: The data set WORK.CUSTOMER_RECORD1 has 10578 observations and 17 variables.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
user cpu time 0.00 seconds
system cpu time 0.00 seconds
memory 3421.71k
OS Memory 27048.00k
Timestamp 21/02/2024 07:31:51 PM
Step Count 55 Switch Count 2
Page Faults 0
Page Reclaims 544
Page Swaps 0
Voluntary Context Switches 17
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 2568
74 75 76 /*Q1. Examine the target variable y:
77 Use PROC FREQ to list a simple frequency table for the variable y. */
78 79 title'Simple Frequency Table of target variable y';
80 proc freq data=customer_record1;
81 table y;
82 run;
NOTE: There were 10578 observations read from the data set WORK.CUSTOMER_RECORD1.
NOTE: PROCEDURE FREQ used (Total process time):
real time 0.01 seconds
user cpu time 0.02 seconds
system cpu time 0.00 seconds
memory 2937.75k
OS Memory 25512.00k
Timestamp 21/02/2024 07:31:51 PM
Step Count 56 Switch Count 2
Page Faults 0
Page Reclaims 374
Page Swaps 0
Voluntary Context Switches 13
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 272
83 title;
84 85 /* Q2. Examine the variable "contact" and study its dependency with the target variable y.
86 Use PROC FREQ to list a simple frequency table for the variable "contact".
87 Examine the output for invalid values. */
88 89 title'Simple Frequency Table of variable Contact';
90 proc freq data=customer_record1;
91 table contact;
92 run;
NOTE: There were 10578 observations read from the data set WORK.CUSTOMER_RECORD1.
NOTE: PROCEDURE FREQ used (Total process time):
real time 0.01 seconds
user cpu time 0.01 seconds
system cpu time 0.00 seconds
memory 2044.18k
OS Memory 25768.00k
Timestamp 21/02/2024 07:31:51 PM
Step Count 57 Switch Count 2
Page Faults 0
Page Reclaims 328
Page Swaps 0
Voluntary Context Switches 13
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 264
93 title;
94 95 96 /* Q3. Contiengency table Contact by y and mosaic plot:
97 create a 2x2 contingency table along with a mosaic plot.
98 Show the statistics for Table of contact by y. */
99 100 101 proc freq data=customer_record1;
102 tables contact * y / chisq plots=mosaicplot;
103 run;
NOTE: There were 10578 observations read from the data set WORK.CUSTOMER_RECORD1.
NOTE: PROCEDURE FREQ used (Total process time):
real time 0.15 seconds
user cpu time 0.07 seconds
system cpu time 0.01 seconds
memory 10422.31k
21/02/2024, 14:31
Program Summary - HIMANI_119717239_Assignment2.sas
about:blank
5/14
OS Memory 33332.00k
Timestamp 21/02/2024 07:31:51 PM
Step Count 58 Switch Count 4
Page Faults 0
Page Reclaims 2291
Page Swaps 0
Voluntary Context Switches 225
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 1056
104 105 106 /* Interpret:
107 (a) Based on the mosaic plot, do you assume association between the two variables?
108 (b) Based on the Contingency coefficient, is there an association between the two variables?
109 Answer:
110 (a) Based on the mosaic plot, I would assume that there is an association between the two variables.
111 It apperas that customers contacted via cellular were more likely to buy the Certificate of Deposit(CD) from the
111 ! institution.
112 Customers were contacted via telephone were the next most likely and the least likely were customers contacted by unknown
112 ! methods.
113 (b) According to contingency coefficient with a value of 0.2541 there is medium association between the two variables.
114 The closer to 0 the contigency coefficient is, the association is weaker and closer to 1 the contigency coefficient is,
114 ! the association is stronger.
115 */
116 117 118 /* Q4. Examine the variable "education"
119 120 /* 4.1. define a new format, name it education_Check and
121 use it to identify invalid values for the variable education.
122 Valid values are 'primary', 'secondary', 'tertiary', 'unknown'.
123 Refer to program 1.8.
124 Chapter 1 - Working with Character Data
125 Cody's Data Cleaning Techniques Using SAS, Third Edition*/
126 127 Proc format;
128 value $education_check
129 'primary','secondary','tertiary','unknown' ='valid'
130 'SECONDARY' = 'invalid';
NOTE: Format $EDUCATION_CHECK is already on the library WORK.FORMATS.
NOTE: Format $EDUCATION_CHECK has been output.
131 run;
NOTE: PROCEDURE FORMAT used (Total process time):
real time 0.00 seconds
user cpu time 0.00 seconds
system cpu time 0.00 seconds
memory 249.71k
OS Memory 30880.00k
Timestamp 21/02/2024 07:31:51 PM
Step Count 59 Switch Count 0
Page Faults 0
Page Reclaims 14
Page Swaps 0
Voluntary Context Switches 0
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 32
132 133 title'Checking Invalid values of Education';
134 proc freq data=customer_record1;
135 table Education/ nocum nopercent missing;
136 format Education $education_check.;
137 run;
NOTE: There were 10578 observations read from the data set WORK.CUSTOMER_RECORD1.
NOTE: PROCEDURE FREQ used (Total process time):
real time 0.01 seconds
user cpu time 0.01 seconds
system cpu time 0.00 seconds
memory 2027.78k
OS Memory 32168.00k
Timestamp 21/02/2024 07:31:51 PM
Step Count 60 Switch Count 2
Page Faults 0
Page Reclaims 329
Page Swaps 0
Voluntary Context Switches 12
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 272
138 title;
139 140 /* 4.2. Use the function lowcase on education column.
141 use the same dataset name for output dataset. */
142 143 data customer_record1;
144 set record.customer_all;
145 Education=lowcase(Education);
146 run;
NOTE: There were 10578 observations read from the data set RECORD.CUSTOMER_ALL.
NOTE: The data set WORK.CUSTOMER_RECORD1 has 10578 observations and 17 variables.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
user cpu time 0.00 seconds
system cpu time 0.00 seconds
memory 3425.62k
OS Memory 33704.00k
Timestamp 21/02/2024 07:31:51 PM
Step Count 61 Switch Count 2
Page Faults 0
Page Reclaims 521
Page Swaps 0
21/02/2024, 14:31
Program Summary - HIMANI_119717239_Assignment2.sas
about:blank
6/14
Voluntary Context Switches 16
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 2568
147 148 149 /*4.3. show the simple frequency table after the change. */
150 151 title'Simple frquency table of variable Education';
152 proc freq data=customer_record1;
153 table Education/ nocum nopercent missing;
154 run;
NOTE: There were 10578 observations read from the data set WORK.CUSTOMER_RECORD1.
NOTE: PROCEDURE FREQ used (Total process time):
real time 0.01 seconds
user cpu time 0.01 seconds
system cpu time 0.00 seconds
memory 2025.50k
OS Memory 32168.00k
Timestamp 21/02/2024 07:31:51 PM
Step Count 62 Switch Count 2
Page Faults 0
Page Reclaims 317
Page Swaps 0
Voluntary Context Switches 16
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 264
155 title;
156 157 /* Q5. Examine the variable "marital".
158 5.1. Use PROC print with a where statement to check for data errors in the variable marital.
159 Consider the valid values as "single", "married", "divorced".
160 Refer to program 1.6.
161 Chapter 1 - Working with Character Data
162 Cody's Data Cleaning Techniques Using SAS, Third Edition */
163 164 title'Table of Invalid values of variable marital ';
165 proc print data=customer_record1;
166 var marital;
167 id customer_id;
168 where marital not in ('single','divorced','married' );
169 run;
NOTE: There were 58 observations read from the data set WORK.CUSTOMER_RECORD1.
WHERE marital not in ('divorced', 'married', 'single');
NOTE: PROCEDURE PRINT used (Total process time):
real time 0.02 seconds
user cpu time 0.02 seconds
system cpu time 0.00 seconds
memory 2072.78k
OS Memory 32168.00k
Timestamp 21/02/2024 07:31:51 PM
Step Count 63 Switch Count 1
Page Faults 0
Page Reclaims 291
Page Swaps 0
Voluntary Context Switches 6
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 24
170 title;
171 172 /* 5.2. Use the function lowcase on the variable marital. */
173 174 data customer_record1;
175 set record.customer_all;
176 marital=lowcase(marital);
177 run;
NOTE: There were 10578 observations read from the data set RECORD.CUSTOMER_ALL.
NOTE: The data set WORK.CUSTOMER_RECORD1 has 10578 observations and 17 variables.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
user cpu time 0.01 seconds
system cpu time 0.01 seconds
memory 3425.21k
OS Memory 33704.00k
Timestamp 21/02/2024 07:31:51 PM
Step Count 64 Switch Count 2
Page Faults 0
Page Reclaims 506
Page Swaps 0
Voluntary Context Switches 17
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 2568
178 179 180 /* 5.3. show the simple frequency table after the change. */
181 182 title'Simple Frequency Table of variable marital';
183 proc freq data=customer_record1;
184 table marital/ nocum nopercent missing;
185 run;
NOTE: There were 10578 observations read from the data set WORK.CUSTOMER_RECORD1.
NOTE: PROCEDURE FREQ used (Total process time):
real time 0.01 seconds
user cpu time 0.01 seconds
system cpu time 0.00 seconds
memory 2024.71k
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
21/02/2024, 14:31
Program Summary - HIMANI_119717239_Assignment2.sas
about:blank
7/14
OS Memory 32168.00k
Timestamp 21/02/2024 07:31:51 PM
Step Count 65 Switch Count 2
Page Faults 0
Page Reclaims 321
Page Swaps 0
Voluntary Context Switches 12
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 264
186 title;
187 188 /* Q6. Examine the variable "Job".
189 6.1. Use PROC FREQ to list a simple frequency table. */
190 191 title'Simple Frequency Table of variable Job';
192 proc freq data=customer_record1;
193 table Job/ nocum nopercent missing;
194 run;
NOTE: There were 10578 observations read from the data set WORK.CUSTOMER_RECORD1.
NOTE: PROCEDURE FREQ used (Total process time):
real time 0.01 seconds
user cpu time 0.02 seconds
system cpu time 0.00 seconds
memory 2025.75k
OS Memory 32168.00k
Timestamp 21/02/2024 07:31:51 PM
Step Count 66 Switch Count 2
Page Faults 0
Page Reclaims 313
Page Swaps 0
Voluntary Context Switches 13
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 264
195 title;
196 197 /* 6.2. write a code to combine the categories "admin." and "ADMINISTRATION"
198 for the job variable as "admin".
199 replace any occurrence of the value "ADMINISTRATION" with "admin". */
200 201 data customer_record1;
202 set record.customer_all;
203 if Job in ('admin.','ADMINISTRATION') then Job = 'admin';
204 run;
NOTE: There were 10578 observations read from the data set RECORD.CUSTOMER_ALL.
NOTE: The data set WORK.CUSTOMER_RECORD1 has 10578 observations and 17 variables.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
user cpu time 0.00 seconds
system cpu time 0.00 seconds
memory 3424.18k
OS Memory 33704.00k
Timestamp 21/02/2024 07:31:51 PM
Step Count 67 Switch Count 2
Page Faults 0
Page Reclaims 506
Page Swaps 0
Voluntary Context Switches 17
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 2568
205 206 207 /* 6.3. show the simple frequency table after the change. */
208 209 title'Simple Frequency Table of variable Job after change';
210 proc freq data=customer_record1;
211 table Job/ nocum nopercent missing;
212 run;
NOTE: There were 10578 observations read from the data set WORK.CUSTOMER_RECORD1.
NOTE: PROCEDURE FREQ used (Total process time):
real time 0.01 seconds
user cpu time 0.02 seconds
system cpu time 0.00 seconds
memory 2024.50k
OS Memory 32168.00k
Timestamp 21/02/2024 07:31:51 PM
Step Count 68 Switch Count 2
Page Faults 0
Page Reclaims 318
Page Swaps 0
Voluntary Context Switches 13
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 264
213 title;
214 215 /* Q7. checking missing values
216 Adapt the code in program 7.2. of Chapter 1 so it works on customer_all dataset.
217 218 Refer to program 7.2. Counting Missing Values for Character Variables in Chapter 1 - Working with Character Data Cody's
218 ! Data Cleaning Techniques Using SAS, Third Edition.
219 220 title "Checking Missing Character Values";
221 proc format;
222 value $Count_Missing ' ' = 'Missing'
223 other = 'Nonmissing';
224 run;
225
21/02/2024, 14:31
Program Summary - HIMANI_119717239_Assignment2.sas
about:blank
8/14
226 proc freq data=Clean.Patients;
227 tables _character_ / nocum missing;
228 format _character_ $Count_Missing.;
229 run; */
230 231 232 title "Checking Missing Character Values";
233 proc format;
234 value $Character_Count_Missing ' ' = 'Missing'
235 other = 'Nonmissing';
NOTE: Format $CHARACTER_COUNT_MISSING is already on the library WORK.FORMATS.
NOTE: Format $CHARACTER_COUNT_MISSING has been output.
236 run;
NOTE: PROCEDURE FORMAT used (Total process time):
real time 0.00 seconds
user cpu time 0.00 seconds
system cpu time 0.00 seconds
memory 247.15k
OS Memory 30880.00k
Timestamp 21/02/2024 07:31:51 PM
Step Count 69 Switch Count 0
Page Faults 0
Page Reclaims 14
Page Swaps 0
Voluntary Context Switches 0
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 8
237 238 proc freq data=customer_record1;
239 tables _character_ / nocum missing;
240 format _character_ $Character_Count_Missing.;
241 run;
NOTE: There were 10578 observations read from the data set WORK.CUSTOMER_RECORD1.
NOTE: PROCEDURE FREQ used (Total process time):
real time 0.04 seconds
user cpu time 0.05 seconds
system cpu time 0.00 seconds
memory 2320.03k
OS Memory 32168.00k
Timestamp 21/02/2024 07:31:51 PM
Step Count 70 Switch Count 2
Page Faults 0
Page Reclaims 338
Page Swaps 0
Voluntary Context Switches 12
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 280
242 title;
243 244 title "Checking Missing Numeric Values";
245 proc format;
246 value Numeric_Count_missing .='missing'
247 other= 'nonmissing';
NOTE: Format NUMERIC_COUNT_MISSING is already on the library WORK.FORMATS.
NOTE: Format NUMERIC_COUNT_MISSING has been output.
248 run;
NOTE: PROCEDURE FORMAT used (Total process time):
real time 0.00 seconds
user cpu time 0.00 seconds
system cpu time 0.00 seconds
memory 247.15k
OS Memory 30880.00k
Timestamp 21/02/2024 07:31:51 PM
Step Count 71 Switch Count 0
Page Faults 0
Page Reclaims 16
Page Swaps 0
Voluntary Context Switches 1
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 0
249 250 proc freq data=customer_record1;
251 tables _numeric_ / nocum missing;
252 format _numeric_ Numeric_Count_Missing.;
253 run;
NOTE: There were 10578 observations read from the data set WORK.CUSTOMER_RECORD1.
NOTE: PROCEDURE FREQ used (Total process time):
real time 0.03 seconds
user cpu time 0.04 seconds
system cpu time 0.00 seconds
memory 2229.46k
OS Memory 32168.00k
Timestamp 21/02/2024 07:31:51 PM
Step Count 72 Switch Count 2
Page Faults 0
Page Reclaims 328
Page Swaps 0
Voluntary Context Switches 15
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 280
254 title;
255 256 /* Q8. create a new variable named jobMF to indicate the most frequent job category
257 Reuse the code provided in ch17, section 17.3.2.
258
21/02/2024, 14:31
Program Summary - HIMANI_119717239_Assignment2.sas
about:blank
9/14
259 check the most frequent job category based on the output of proc freq.
260 create the new variable jobMF
261 print the first few observations. */
262 263 title'Simple Frequency Table of variable Job';
264 proc freq data=customer_record1 order=freq;
265 table Job/ nocum nopercent missing;
266 run;
NOTE: There were 10578 observations read from the data set WORK.CUSTOMER_RECORD1.
NOTE: PROCEDURE FREQ used (Total process time):
real time 0.01 seconds
user cpu time 0.01 seconds
system cpu time 0.00 seconds
memory 2024.50k
OS Memory 32168.00k
Timestamp 21/02/2024 07:31:51 PM
Step Count 73 Switch Count 2
Page Faults 0
Page Reclaims 318
Page Swaps 0
Voluntary Context Switches 14
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 264
267 title;
268 269 270 /* Abbreviations: MF-MostFrequent and NM-NotMostFrequent */
271 data customer_record1;
272 set record.customer_all;
273 if job='management' then jobMF= 'MF';
274 else jobMF= 'NM';
275 run;
NOTE: There were 10578 observations read from the data set RECORD.CUSTOMER_ALL.
NOTE: The data set WORK.CUSTOMER_RECORD1 has 10578 observations and 18 variables.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
user cpu time 0.00 seconds
system cpu time 0.01 seconds
memory 3426.03k
OS Memory 33704.00k
Timestamp 21/02/2024 07:31:51 PM
Step Count 74 Switch Count 2
Page Faults 0
Page Reclaims 509
Page Swaps 0
Voluntary Context Switches 15
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 2568
276 277 278 proc print data=customer_record1 (obs=10);
279 run;
NOTE: There were 10 observations read from the data set WORK.CUSTOMER_RECORD1.
NOTE: PROCEDURE PRINT used (Total process time):
real time 0.02 seconds
user cpu time 0.02 seconds
system cpu time 0.00 seconds
memory 1946.40k
OS Memory 31908.00k
Timestamp 21/02/2024 07:31:51 PM
Step Count 75 Switch Count 0
Page Faults 0
Page Reclaims 262
Page Swaps 0
Voluntary Context Switches 0
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 16
280 281 282 /* Q9. Removing units from a value and standardizing
283 For a reference example, refer to program 1.10 from
284 chapter 1: Working with Character Data Cody's Data Cleaning Techniques Using SAS, Third Edition Section: Removing Units
284 ! from a Value
285 286 Program 1.10: Converting Weight with Units to Weight in Kilograms
287 *Program to Remove Units from Numeric Data;
288 289 data Units;
290 input Weight $ 10.;
291 Digits = compress(Weight,,'kd'); 1
292 if findc(Weight,'k','i') then 2
293 Wt_Kg = input(Digits,5.);
294 else if not missing(Digits) then
295 Wt_Kg = input(Digits,5.)/2.2; 3
296 datalines;
297 100lbs.
298 110 Lbs.
299 50Kgs.
300 70 kg
301 180
302 ;
303 title "Reading Weight Values with Units";
304 proc print data=Units noobs;
305 format Wt_Kg 5.1;
306 run;
307 */
308 309 data units;
310 input Length $ 10. ;
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
21/02/2024, 14:31
Program Summary - HIMANI_119717239_Assignment2.sas
about:blank
10/14
311 312 datalines;
NOTE: The data set WORK.UNITS has 5 observations and 1 variables.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
user cpu time 0.00 seconds
system cpu time 0.00 seconds
memory 667.56k
OS Memory 31140.00k
Timestamp 21/02/2024 07:31:51 PM
Step Count 76 Switch Count 2
Page Faults 0
Page Reclaims 92
Page Swaps 0
Voluntary Context Switches 17
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 264
318 ;
319 run;
320 321 proc print data=units;
322 run;
NOTE: There were 5 observations read from the data set WORK.UNITS.
NOTE: PROCEDURE PRINT used (Total process time):
real time 0.00 seconds
user cpu time 0.01 seconds
system cpu time 0.00 seconds
memory 604.40k
OS Memory 31140.00k
Timestamp 21/02/2024 07:31:51 PM
Step Count 77 Switch Count 0
Page Faults 0
Page Reclaims 64
Page Swaps 0
Voluntary Context Switches 0
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 0
323 324 325 /* Given the following units data, */
326 /*(a) use the approriate function to keep only digits. name the new variable "digits" */
327 /* (b) use the function findc on length to search for the character 'm' (stands for meter),
328 if m is found, keep the value as it is,
329 if not, make a foot to meter conversion. */
330 331 data units;
332 input Length $ 10.;
333 334 digits = input(compress(Length, ,'kd'), best32.);
335 336 if findc(Length, 'm', 'i') then Length_m = input(digits, best32.);
337 else Length_m = input(digits, best32.)*0.3048;
338 339 datalines;
NOTE: Numeric values have been converted to character values at the places given by: (Line):(Column).
336:52 337:25 NOTE: The data set WORK.UNITS has 5 observations and 3 variables.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
user cpu time 0.00 seconds
system cpu time 0.00 seconds
memory 681.46k
OS Memory 31140.00k
Timestamp 21/02/2024 07:31:51 PM
Step Count 78 Switch Count 2
Page Faults 0
Page Reclaims 95
Page Swaps 0
Voluntary Context Switches 14
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 264
345 ;
346 run;
347 348 proc print data=units; run;
NOTE: There were 5 observations read from the data set WORK.UNITS.
NOTE: PROCEDURE PRINT used (Total process time):
real time 0.00 seconds
user cpu time 0.00 seconds
system cpu time 0.00 seconds
memory 606.50k
OS Memory 31140.00k
Timestamp 21/02/2024 07:31:51 PM
Step Count 79 Switch Count 0
Page Faults 0
Page Reclaims 67
Page Swaps 0
Voluntary Context Switches 0
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 16
349 350 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
360
21/02/2024, 14:31
Program Summary - HIMANI_119717239_Assignment2.sas
about:blank
11/14
Results: HIMANI_119717239_Assignment2.sas
Simple Frequency Table of target variable y
The FREQ Procedure
y
y
Frequency
Percent
Cumulative
Frequency
Cumulative
Percent
no
5289
50.00
5289
50.00
yes
5289
50.00
10578
100.00
Simple Frequency Table of variable Contact
The FREQ Procedure
contact
contact
Frequency
Percent
Cumulative
Frequency
Cumulative
Percent
cellular
7682
72.62
7682
72.62
telephone
712
6.73
8394
79.35
unknown
2184
20.65
10578
100.00
The FREQ Procedure
Frequency
Percent
Row Pct
Col Pct
Table of contact by y
contact(contact)
y(y)
no
yes
Total
cellular
3313
31.32
43.13
62.64
4369
41.30
56.87
82.61
7682
72.62
telephone
322
3.04
45.22
6.09
390
3.69
54.78
7.37
712
6.73
unknown
1654
15.64
75.73
31.27
530
5.01
24.27
10.02
2184
20.65
Total
5289
50.00
5289
50.00
10578
100.00
Statistics for Table of contact by y
Statistic
DF
Value
Prob
Chi-Square
2
730.1254
<.0001
Likelihood Ratio Chi-Square
2
759.2990
<.0001
Mantel-Haenszel Chi-Square
1
678.0393
<.0001
Phi Coefficient
0.2627
Contingency Coefficient
0.2541
Cramer's V
0.2627
Sample Size = 10578
Checking Invalid values of Education
The FREQ Procedure
Education
Education
Frequency
invalid
267
valid
10311
Simple frquency table of variable Education
The FREQ Procedure
Education
Education
Frequency
primary
1440
secondary
5204
tertiary
3470
unknown
464
Table of Invalid values of variable marital
21/02/2024, 14:31
Program Summary - HIMANI_119717239_Assignment2.sas
about:blank
12/14
customer_id
marital
100712
DIVORCED
101546
DIVORCED
102342
DIVORCED
105806
DIVORCED
106060
DIVORCED
106274
DIVORCED
106281
DIVORCED
106425
DIVORCED
107292
DIVORCED
108050
DIVORCED
109071
DIVORCED
109682
DIVORCED
110184
DIVORCED
111996
DIVORCED
112298
DIVORCED
113003
DIVORCED
114990
DIVORCED
115288
DIVORCED
116020
DIVORCED
116168
DIVORCED
118106
DIVORCED
118244
DIVORCED
119011
DIVORCED
119350
DIVORCED
120481
DIVORCED
121491
DIVORCED
121824
DIVORCED
123764
DIVORCED
124067
DIVORCED
124734
DIVORCED
127101
DIVORCED
127897
DIVORCED
127993
DIVORCED
128420
DIVORCED
129317
DIVORCED
129350
DIVORCED
130560
DIVORCED
131231
DIVORCED
131891
DIVORCED
132398
DIVORCED
133929
DIVORCED
135060
DIVORCED
135280
DIVORCED
137607
DIVORCED
137735
DIVORCED
137912
DIVORCED
140911
DIVORCED
142844
DIVORCED
142905
DIVORCED
142972
DIVORCED
143259
DIVORCED
143559
DIVORCED
143772
DIVORCED
143915
DIVORCED
144016
DIVORCED
144114
DIVORCED
144668
DIVORCED
144830
DIVORCED
Simple Frequency Table of variable marital
The FREQ Procedure
marital
marital
Frequency
divorced
1243
married
5942
single
3393
Simple Frequency Table of variable Job
The FREQ Procedure
JOB
JOB
Frequency
ADMINISTRATION
51
admin.
1134
blue-collar
1914
entrepreneur
291
housemaid
262
management
2391
retired
757
self-employed
367
services
850
student
375
technician
1768
unemployed
353
unknown
65
Simple Frequency Table of variable Job after change
The FREQ Procedure
JOB
JOB
Frequency
admin
1185
blue-collar
1914
entrepreneur
291
housemaid
262
management
2391
retired
757
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
21/02/2024, 14:31
Program Summary - HIMANI_119717239_Assignment2.sas
about:blank
13/14
JOB
JOB
Frequency
self-employed
367
services
850
student
375
technician
1768
unemployed
353
unknown
65
Checking Missing Character Values
The FREQ Procedure
contact
contact
Frequency
Percent
Nonmissing
10578
100.00
month
month
Frequency
Percent
Nonmissing
10578
100.00
poutcome
poutcome
Frequency
Percent
Nonmissing
10578
100.00
y
y
Frequency
Percent
Nonmissing
10578
100.00
default
Frequency
Percent
Nonmissing
10578
100.00
housing
Frequency
Percent
Nonmissing
10578
100.00
loan
Frequency
Percent
Nonmissing
10578
100.00
Education
Education
Frequency
Percent
Nonmissing
10578
100.00
marital
marital
Frequency
Percent
Nonmissing
10578
100.00
JOB
JOB
Frequency
Percent
Nonmissing
10578
100.00
Checking Missing Numeric Values
The FREQ Procedure
day
day
Frequency
Percent
nonmissing
10578
100.00
campaign
campaign
Frequency
Percent
nonmissing
10578
100.00
pdays
pdays
Frequency
Percent
nonmissing
10578
100.00
previous
previous
Frequency
Percent
nonmissing
10578
100.00
customer_id
Frequency
Percent
nonmissing
10578
100.00
balance
Frequency
Percent
nonmissing
10578
100.00
AGE
AGE
Frequency
Percent
missing
20
0.19
nonmissing
10558
99.81
Simple Frequency Table of variable Job
The FREQ Procedure
JOB
JOB
Frequency
21/02/2024, 14:31
Program Summary - HIMANI_119717239_Assignment2.sas
about:blank
14/14
JOB
JOB
Frequency
management
2391
blue-collar
1914
technician
1768
admin
1185
services
850
retired
757
student
375
self-employed
367
unemployed
353
entrepreneur
291
housemaid
262
unknown
65
Obs
contact
day
month
campaign
pdays
previous
poutcome
y
customer_id
default
balance
housing
loan
Education
AGE
marital
JOB
jobMF
1
unknown
5
may
1
-1
0
unknown
no
100103
no
2
yes
yes
secondary
33
married
entrepreneur
NM
2
unknown
5
may
1
-1
0
unknown
no
100106
no
231
yes
no
tertiary
35
married
management
MF
3
unknown
5
may
1
-1
0
unknown
no
100118
no
52
yes
no
primary
57
married
blue-collar
NM
4
unknown
5
may
1
-1
0
unknown
no
100119
no
60
yes
no
primary
60
married
retired
NM
5
unknown
5
may
1
-1
0
unknown
no
100121
no
723
yes
yes
secondary
28
married
blue-collar
NM
6
unknown
5
may
1
-1
0
unknown
no
100126
no
-372
yes
no
secondary
44
married
admin.
NM
7
unknown
5
may
1
-1
0
unknown
no
100130
no
265
yes
yes
secondary
36
single
technician
NM
8
unknown
5
may
1
-1
0
unknown
no
100141
no
2586
yes
no
secondary
44
divorced
services
NM
9
unknown
5
may
1
-1
0
unknown
no
100161
no
0
yes
no
tertiary
32
married
admin.
NM
10
unknown
5
may
1
-1
0
unknown
no
100168
no
59
yes
no
tertiary
59
divorced
management
MF
Obs
Length
1
100m.
2
110 ft.
3
50M.
4
70 Ft
5
180
Obs
Length
digits
Length_m
1
100m
100
100.000
2
110 ft
110
33.528
3
50M.
50
50.000
4
70 Ft
70
21.336
5
180
180
54.864
Related Documents
Related Questions
Ministry of Higher Education &
Scientific Research
Babylon University
College of Engineering -
Al musayab
Automobile Department
Subject :Engineering Analysis
Time: 2 hour
Date:27-11-2022
کورس اول تحليلات
تعمیر )
1st month exam / 1st semester (2022-2023)/11/27
Note: Answer all questions,all questions have same degree.
Q1/: Find the following for three only.
1-
4s
C-1
(+2-3)2 (219) 3.0 (6+1)) (+3+5)
(82+28-3),2-
,3-
2-1
4-
Q2/:Determine the Laplace transform of the function t sint.
Q3/: Find the Laplace transform of
1,
0≤t<2,
-2t+1,
2≤t<3,
f(t) =
3t,
t-1,
3≤t 5,
t≥ 5
Q4: Find the Fourier series corresponding to the function
0
-5
arrow_forward
iLearn: MATH_130L_721_23W: Si X wp Homework: Section 4.3: Gabriel T X
C ✰
Welcome - Marist C...
education.wiley.com/was/ui/v2/assessment-player/index.html?launchId=7beefb4d-8fa9-4e62-9af1-019487cfa50a#/question/7
VIP League Free Sp... M Inbox (1,355) - gabr...
45°F
Partly sunny
iLearn : Home: Ove... TD TD Personal Bankin...
Homework: Section 4.3
NWP Assessment Player Ul Applic X M Your Statistics answer is ready. -
Question 8 of 8
i
eTextbook and Media
Use a randomization distribution to find the p-value. Give your answer accurate to three decimal places.
State the conclusion in context.
P - Databases A - Z...
eTextbook and Media
X +
O Search
In-Text Citations: A... wco Marist Writing Center
PQ Sony adds a slew of...
O Reject Ho. Mean depression levels are reduced from three weeks of healthy eating.
O Reject Ho. We don't have enough evidence to conclude that healthy eating changes depression levels.
O Do not reject Ho. Mean depression levels are reduced from three weeks of healthy…
arrow_forward
I am not sure how to do part A or B. Please help!!
arrow_forward
questions 12 AND 13 PLEASE
arrow_forward
questions 12 and 13 please
arrow_forward
Question number 2 section C
arrow_forward
The question is what parts a,b,c are in thr picture attached below. The last digit of the student ID is 9.
arrow_forward
TN Chrome - TestNav
i testnavclient.psonsvc.net/#/question/4b2e6ef2-b6a4-469b-bb85-8b6c7703ef02/04a77ff6-9bcc-43ed-861b-5507f14ff96f
Review -
A Bookmark
Stewart, Jason &
Unit 6 Geometry NC Math 3 / 23 of 24
II Pause
O Help -
A plane intersects the prism shown below. The plane forms a cross section.
A Chrome OS · now a
Screenshot taken
What is the shape of the cross section formed by the plane?
Show in folder
O A. cube
The soere md be teseed y lane A The pane fom eton
B. rectangle
Wheheshpe e
C. square
D. triangle
COPY TO CLIPBOARD
O v O 3:56
arrow_forward
Question 11 please
arrow_forward
Problem 4-09
Epsilon Airlines services predominately the eastern and southeastern United States. The vast majority of Epsilon's customers make reservations through Epsilon's website, but a small percentage
of customers make reservations via phone. Epsilon employs call-center personnel to handle these reservations along with any problems with the website reservation system and for the
rebooking of flights for customers if their plans change or their travel is disrupted. Staffing the call center appropriately is a challenge for Epsilon's management team. Having too many
employees on hand is a waste of money, but having too few results in very poor customer service and the potential loss of customers.
Epsilon analysts have estimated the minimum number of call-center employees needed by day of week for the upcoming vacation season (June, July, and the first two weeks of August). These
estimates are as follows:
Minimum Number of
Employees Needed
Day
Monday
75
Tuesday
50
Wednesday
45…
arrow_forward
What would the solution be? And can you explain how to get it? I understand A-C by itself, just not B ø (A-C)
arrow_forward
Define Implementation of Runge–Kutta ?
arrow_forward
On an assembly line, there are 3 "checkpoints" at which a widget is inspected for defects. Upon review of prior data, the following is noted:
The test for product integrity finds a problem 26% of the time
The test for product specifications finds a problem 19% of the time
The test for packaging consistency finds a problem 38% of the time
(It's not a particularly good assembly line!)
Assume for purposes of this problem, that all of the tests / checkpoint problems are independent of each other.
What is the probability that an error will be found by all of the tests?
What is the probability that an error will be found by any one of the tests? That is, a problem on the first, or second, or third test?
What is the probability that a problem will be found for the "packaging consistency" only?
What is the probability of finding an error of at least one of the tests? Hint: You can use your complement rule here.
arrow_forward
what do the ks stand for in the exel tables
arrow_forward
Do number 1
arrow_forward
Converting between bases.
a. 21310
b. 111100010102=
c. 1238=
d. 1f316=
e. 26.9062510=
f.
g. 56.43410=
i.
h. 10101.1112=
10 =
10=
_2
(Maximum of six places to the right of the binary point)
11011.11012=
12.624023437510=
2
(Maximum of six places to the right of the binary point)
16
10
10
10
arrow_forward
Please show steps on how you got the answer for problem #9. Thank you!
arrow_forward
cez - 7.2 The X
ww-awn.aleks.com/alekscgi/x/Isl.exe/1o_u-lgNslkr7j8P3jH-IBS1dp57AtUddR-PrG9yyMRedZQZTxsfCOhwVPjmJnZ9X-APBaxAHwujlsUY-iGulpK4Uwt0STWP4BlgiuKzgg8hleBQVJq?1oBw7QYjlbavb:
7.2 The Law of Sines
Cla
Question 9 of 11 (1 point) | Question Attempt: 1 of Unlimited
v1
v 4
v 10
v 11
v 3
The connector rod from the piston to the crankshaft in a certain 2.0 -L engine is 5.5 in. The radius of the crank cirde is 2.8 in. If the angle made by the
connector rod with the horizontal at the wrist pin P is 23°, how far is the wrist pin from the center C of the crankshaft? Round to the nearest tenth of an inch.
5.5 in
Example
2.8 in
The distance from the wrist pin to the center of the crankshaft is approximately
in or
in
Check
Save For Later
Submit Assignr
O 2021 McGraw-Hil Education, All Rights Reserved. Terms of Use Privacy I Acce
70
Home
F11
F12
%23
2
3
4
8.
W
R
T
Y U
P
arrow_forward
In the past few weeks people have been arguing on the social media forum https://www.reddit.com/r/ontario/ about whether the COVID-19 situation in Ontario was improving or getting worse. Some users call those who focused on high spikes in new cases "doomers" (as in "ok doomer") such as the 460 new cases on Sunday May 24. Recently the numbers of new cases have gone down to 287 on Tuesday the 26th and 292 for Wednesday the 27th.
Date
# of New Cases
27-May
292
26-May
287
25-May
404
24-May
460
23-May
412
22-May
441
21-May
413
Data from https://data.ontario.ca/dataset/status-of-covid-19-cases-in-ontario,more easily-visible on https://news.google.com/covid19/map?hl=en-CA&gl=CA&ceid=CA%3Aen&mid=%2Fm%2F05kr_.
You will be answering the following questions about this data:
What is the mean number of new cases of COVID-19 in Ontario over the 7 day period indicated?
What is the standard deviation for these cases?
What is the…
arrow_forward
None
arrow_forward
121 HW 7: Section 4.5 - Math 1 X
i webassign.net/web/Student/Assignment-Responses/submit?pos=8&dep=26512833&tags=autosave#question2102235_8
R Decimal to Binary.
E IP Subnet Calculat..
O Subnet Calculator]. IP Subnet Calculat.
5 Best Subnet Cal...
E App
* Bookmarks
M Gmail
Lesson 6 - Fiber-.
QL Quicken Loans - T.
The following graph shows at least one complete cycle of the graph of an equation containing a trigonometric function. Find an equation to match the graph. If you are using a graphing calculator, graph
your equation to verify that it is correct.
y =
y
4F
3
1.
27 3 4 A
9л
2л
5
-1
5
5
5
5
5
-2
-5
Submit Answer
View Previous Question
Question 12 of 36 View Next Question
My Assignments
+ Request Extension
Home
arrow_forward
nt Lecture Recordings for Unit 4- 20020.2...
https://learn-us-east-1-prod-fleet01-xythos.s3.u...
video.snead.edu/BUS272/BUS_272_4-11-2018_..
https://learn-us-east-1-prod-fleet01-xythc
Before the Christmas shopping rush began, a department store had noted that the percentage of
customers who use a major credit card, the percentage who use the store's credit card, the percentage
who pay by personal check, and the percentage who pay with cash are all the same, 25% for each.
During the Christmas season, in a sample of 200 shoppers, 47 used a major credit card, 40 used the
store's credit card, 49 paid with a personal check, and 64 paid with cash. At a 95% confidence level,
test to see if the methods of payment have changed during the Christmas shopping rush.
4.
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:9781133382119
Author:Swokowski
Publisher:Cengage

Mathematics For Machine Technology
Advanced Math
ISBN:9781337798310
Author:Peterson, John.
Publisher:Cengage Learning,
Related Questions
- Ministry of Higher Education & Scientific Research Babylon University College of Engineering - Al musayab Automobile Department Subject :Engineering Analysis Time: 2 hour Date:27-11-2022 کورس اول تحليلات تعمیر ) 1st month exam / 1st semester (2022-2023)/11/27 Note: Answer all questions,all questions have same degree. Q1/: Find the following for three only. 1- 4s C-1 (+2-3)2 (219) 3.0 (6+1)) (+3+5) (82+28-3),2- ,3- 2-1 4- Q2/:Determine the Laplace transform of the function t sint. Q3/: Find the Laplace transform of 1, 0≤t<2, -2t+1, 2≤t<3, f(t) = 3t, t-1, 3≤t 5, t≥ 5 Q4: Find the Fourier series corresponding to the function 0 -5arrow_forwardiLearn: MATH_130L_721_23W: Si X wp Homework: Section 4.3: Gabriel T X C ✰ Welcome - Marist C... education.wiley.com/was/ui/v2/assessment-player/index.html?launchId=7beefb4d-8fa9-4e62-9af1-019487cfa50a#/question/7 VIP League Free Sp... M Inbox (1,355) - gabr... 45°F Partly sunny iLearn : Home: Ove... TD TD Personal Bankin... Homework: Section 4.3 NWP Assessment Player Ul Applic X M Your Statistics answer is ready. - Question 8 of 8 i eTextbook and Media Use a randomization distribution to find the p-value. Give your answer accurate to three decimal places. State the conclusion in context. P - Databases A - Z... eTextbook and Media X + O Search In-Text Citations: A... wco Marist Writing Center PQ Sony adds a slew of... O Reject Ho. Mean depression levels are reduced from three weeks of healthy eating. O Reject Ho. We don't have enough evidence to conclude that healthy eating changes depression levels. O Do not reject Ho. Mean depression levels are reduced from three weeks of healthy…arrow_forwardI am not sure how to do part A or B. Please help!!arrow_forwardThe question is what parts a,b,c are in thr picture attached below. The last digit of the student ID is 9.arrow_forwardTN Chrome - TestNav i testnavclient.psonsvc.net/#/question/4b2e6ef2-b6a4-469b-bb85-8b6c7703ef02/04a77ff6-9bcc-43ed-861b-5507f14ff96f Review - A Bookmark Stewart, Jason & Unit 6 Geometry NC Math 3 / 23 of 24 II Pause O Help - A plane intersects the prism shown below. The plane forms a cross section. A Chrome OS · now a Screenshot taken What is the shape of the cross section formed by the plane? Show in folder O A. cube The soere md be teseed y lane A The pane fom eton B. rectangle Wheheshpe e C. square D. triangle COPY TO CLIPBOARD O v O 3:56arrow_forwardQuestion 11 pleasearrow_forwardProblem 4-09 Epsilon Airlines services predominately the eastern and southeastern United States. The vast majority of Epsilon's customers make reservations through Epsilon's website, but a small percentage of customers make reservations via phone. Epsilon employs call-center personnel to handle these reservations along with any problems with the website reservation system and for the rebooking of flights for customers if their plans change or their travel is disrupted. Staffing the call center appropriately is a challenge for Epsilon's management team. Having too many employees on hand is a waste of money, but having too few results in very poor customer service and the potential loss of customers. Epsilon analysts have estimated the minimum number of call-center employees needed by day of week for the upcoming vacation season (June, July, and the first two weeks of August). These estimates are as follows: Minimum Number of Employees Needed Day Monday 75 Tuesday 50 Wednesday 45…arrow_forwardWhat would the solution be? And can you explain how to get it? I understand A-C by itself, just not B ø (A-C)arrow_forwardDefine Implementation of Runge–Kutta ?arrow_forwardarrow_back_iosSEE MORE QUESTIONSarrow_forward_ios
Recommended textbooks for you
- Algebra & Trigonometry with Analytic GeometryAlgebraISBN:9781133382119Author:SwokowskiPublisher:CengageMathematics For Machine TechnologyAdvanced MathISBN:9781337798310Author:Peterson, John.Publisher:Cengage Learning,
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:9781133382119
Author:Swokowski
Publisher:Cengage

Mathematics For Machine Technology
Advanced Math
ISBN:9781337798310
Author:Peterson, John.
Publisher:Cengage Learning,