Problem 1: Read "Survey.csv" into R, and the description file is available on ilearn. f) Randomly select 50 records from
Posted: Wed May 11, 2022 10:59 am
PLEASE USE R STATISTICAL PROGRAM!!
DATA BELOW: (Survey.csv)
2,1,1,4,2,1,3.6,15,0,3,25,500.00,0
2,1,4,4,2,1,3.46,28,0,3,15,1500.00,0
2,3,4,4,2,2,3.49,15,0,3,7,100.00,2
2,1,4,4,2,1,2.98,25,2,3,3,1500.00,0
2,1,4,4,2,1,3.86,21,0,3,10,1500.00,1
1,4,3,3,1,1,2.97,30,0,2,9,2000.00,2
1,4,2,3,1,2,3.1,22,0,3,14,3500.00,0
1,4,3,3,2,1,2.52,20,8,3,10,2000.00,0
1,4,4,1,2,1,3.42,25,4,3,12,2000.00,3
2,2,3,4,2,2,3.1,15,0,3,13,800.00,1
2,1,1,4,2,2,3,35,0,3,10,200.00,1
2,3,3,1,2,1,3.66,32,0,3,10,2500.00,1
2,1,4,3,2,1,2.74,19,0,3,11,1800.00,1
2,1,4,3,2,1,3.15,35,0,2,12,1500.00,0
1,1,4,4,2,1,2.8,29,0,3,15,1200.00,0
1,3,3,4,2,1,3.1,20,7,2,9,3000.00,2
2,2,2,4,2,2,2.87,23,0,3,7,1300.00,1
1,3,2,4,2,1,3.25,30,0,3,10,2000.00,1
1,1,1,4,2,1,3.35,35,3,3,14,1000.00,1
2,4,4,4,2,2,3.9,15,0,3,28,100.00,2
1,4,4,4,2,1,3,24,0,3,16,1000.00,0
1,1,1,4,2,1,2.7,3,0,3,21,3000.00,0
2,3,3,4,2,1,3.46,13,0,3,8,1200.00,0
1,2,3,3,2,1,3.12,13,4,3,10,3000.00,0
2,1,3,3,2,1,3.4,17,0,3,10,2500.00,2
2,1,1,3,2,1,2.4,21,0,3,5,1000.00,0
2,1,1,4,1,2,2.6,15,0,3,9,1000.00,0
1,2,3,1,2,1,2.91,24,0,2,10,1500.00,1
2,1,4,3,2,2,3.72,30,2,2,14,1500.00,0
2,1,4,4,2,2,2.5,20,7,3,26,500.00,0
1,2,2,4,2,1,3.35,10,0,3,7,1000.00,1
1,1,2,4,2,2,2.98,12,2,1,9,1000.00,2
2,3,3,3,1,2,3.89,20,3,3,6,1500.00,1
2,1,3,4,2,1,3.47,7,6,3,9,1800.00,2
Problem 1: Read "Survey.csv" into R, and the description file is available on ilearn. f) Randomly select 50 records from column C7, C8, 29, C11, C12, C13. Find CONFIDENCE INTERVALs using CIT (3 columns)and CIZ (3columnx, need to decide sigma on your own). (Each confidence interval needs to use different confidence level, and state the confidence statement after each output) g) HYPOTHESIS TESTING: Write your own hypothesis testing questions clearly and provide decisions and conclusions for each question. COLUMNS OF YOUR CHOICE (Including Two of each using the following functions: THPT, ZHPT (decide the value of sigma on your own), PHPT, and TWOMHPT, and choose your own significance level)
DATA BELOW: (Survey.csv)
2,1,1,4,2,1,3.6,15,0,3,25,500.00,0
2,1,4,4,2,1,3.46,28,0,3,15,1500.00,0
2,3,4,4,2,2,3.49,15,0,3,7,100.00,2
2,1,4,4,2,1,2.98,25,2,3,3,1500.00,0
2,1,4,4,2,1,3.86,21,0,3,10,1500.00,1
1,4,3,3,1,1,2.97,30,0,2,9,2000.00,2
1,4,2,3,1,2,3.1,22,0,3,14,3500.00,0
1,4,3,3,2,1,2.52,20,8,3,10,2000.00,0
1,4,4,1,2,1,3.42,25,4,3,12,2000.00,3
2,2,3,4,2,2,3.1,15,0,3,13,800.00,1
2,1,1,4,2,2,3,35,0,3,10,200.00,1
2,3,3,1,2,1,3.66,32,0,3,10,2500.00,1
2,1,4,3,2,1,2.74,19,0,3,11,1800.00,1
2,1,4,3,2,1,3.15,35,0,2,12,1500.00,0
1,1,4,4,2,1,2.8,29,0,3,15,1200.00,0
1,3,3,4,2,1,3.1,20,7,2,9,3000.00,2
2,2,2,4,2,2,2.87,23,0,3,7,1300.00,1
1,3,2,4,2,1,3.25,30,0,3,10,2000.00,1
1,1,1,4,2,1,3.35,35,3,3,14,1000.00,1
2,4,4,4,2,2,3.9,15,0,3,28,100.00,2
1,4,4,4,2,1,3,24,0,3,16,1000.00,0
1,1,1,4,2,1,2.7,3,0,3,21,3000.00,0
2,3,3,4,2,1,3.46,13,0,3,8,1200.00,0
1,2,3,3,2,1,3.12,13,4,3,10,3000.00,0
2,1,3,3,2,1,3.4,17,0,3,10,2500.00,2
2,1,1,3,2,1,2.4,21,0,3,5,1000.00,0
2,1,1,4,1,2,2.6,15,0,3,9,1000.00,0
1,2,3,1,2,1,2.91,24,0,2,10,1500.00,1
2,1,4,3,2,2,3.72,30,2,2,14,1500.00,0
2,1,4,4,2,2,2.5,20,7,3,26,500.00,0
1,2,2,4,2,1,3.35,10,0,3,7,1000.00,1
1,1,2,4,2,2,2.98,12,2,1,9,1000.00,2
2,3,3,3,1,2,3.89,20,3,3,6,1500.00,1
2,1,3,4,2,1,3.47,7,6,3,9,1800.00,2
Problem 1: Read "Survey.csv" into R, and the description file is available on ilearn. f) Randomly select 50 records from column C7, C8, 29, C11, C12, C13. Find CONFIDENCE INTERVALs using CIT (3 columns)and CIZ (3columnx, need to decide sigma on your own). (Each confidence interval needs to use different confidence level, and state the confidence statement after each output) g) HYPOTHESIS TESTING: Write your own hypothesis testing questions clearly and provide decisions and conclusions for each question. COLUMNS OF YOUR CHOICE (Including Two of each using the following functions: THPT, ZHPT (decide the value of sigma on your own), PHPT, and TWOMHPT, and choose your own significance level)