f) Find 3 and the power of the test for the hypothesis Ho: P₁-P2-0 vs H₁: P₁-P2 = 100. at the significance level a -0.01.

A First Course in Probability (10th Edition)
10th Edition
ISBN:9780134753119
Author:Sheldon Ross
Publisher:Sheldon Ross
Chapter1: Combinatorial Analysis
Section: Chapter Questions
Problem 1.1P: a. How many different 7-place license plates are possible if the first 2 places are for letters and...
icon
Related questions
Question

just f please

Frequency
Frequency
0 3
15
0
חחח
חח
Glodo
0
0
500
500
muhalip.com
Use the significance level a = 0.05.
e)
Student
x1
Do the test of the hypothesis
Use the significance level a = 0.01.
f)
Non-student
L did
1000
1000
at the significance level a = 0.01.
x2
a)
mean, SD for each group x1 (Student) and x2 (Non-student).
b)
Let us denote #₁= mean for x1 (Student) and #2 = mean for x2 (Non-student). Calculate
95% confidence intervals for each # and #2. Give interpretations of the confidence intervals.
c)
Calculate 95% confidence intervals for the difference of means 1-2. Give an interpretation
of the confidence interval.
d) [10 marks] Do the test of the hypothesis
Ho: P₁ = P2 vs H₁ : P₁ P2-
1500
Ho: P1 P2 vs H₁: ₁ > 2.
Find 3 and the power of the test for the hypothesis
1500
Ho: P₁-P2=0 vs H₁ : ₁ - 2 = 100.
2000
Calculate sample size,
Transcribed Image Text:Frequency Frequency 0 3 15 0 חחח חח Glodo 0 0 500 500 muhalip.com Use the significance level a = 0.05. e) Student x1 Do the test of the hypothesis Use the significance level a = 0.01. f) Non-student L did 1000 1000 at the significance level a = 0.01. x2 a) mean, SD for each group x1 (Student) and x2 (Non-student). b) Let us denote #₁= mean for x1 (Student) and #2 = mean for x2 (Non-student). Calculate 95% confidence intervals for each # and #2. Give interpretations of the confidence intervals. c) Calculate 95% confidence intervals for the difference of means 1-2. Give an interpretation of the confidence interval. d) [10 marks] Do the test of the hypothesis Ho: P₁ = P2 vs H₁ : P₁ P2- 1500 Ho: P1 P2 vs H₁: ₁ > 2. Find 3 and the power of the test for the hypothesis 1500 Ho: P₁-P2=0 vs H₁ : ₁ - 2 = 100. 2000 Calculate sample size,
Credit Card Balance Data
A data frame with 400 observations on a number of variables.
• Income: Income in $1,000's
• Limit: Credit limit
. Rating: Credit rating
• Cards: Number of credit cards
• Age: Age in years
• Education: Education in years
• Own: A factor with levels No and Yes indicating whether the individual owns a home
• Student: A factor with levels No and Yes indicating whether the individual is a student
• Married: A factor with levels No and Yes indicating whether the individual is married
• Region: A factor with levels East, South, and West indicating the individual's geographical location
• Balance: Average credit card balance in 8.
library(tidyr)
library(ISLR2)
dat <- drop_na (Credit)
head(dat)
** Income Limit Rating Cards Age Education Own Student Married Region Balance
##1 14.891 3606
2 34
11 No
Yes South
3 82
15 Yea
Yes Weat
## 2 106.025 6645
##3 104.593 7075
11 No
## 4 148.924 9504
11 Yea
283
483
514
681
## 5 55.882 4897
357
## 6 80.180 8047 569
4 71
3 36
2 68
4 77
16 No
10 No
x1 <- dat $Balance [dat$Student=="Yes"]
x2 <- dat $Balance [dat$Student=="No"]
No
Yes
No
No
No
No
West
Weat
333
903
No
No
Yes South
No South 1151
580
964
331
Use the following R code separate Balance for Student and Non-student and create histogram of Balance
for Student and Non-student. We wish to compare mean Balance of Student and Non-student group.
Transcribed Image Text:Credit Card Balance Data A data frame with 400 observations on a number of variables. • Income: Income in $1,000's • Limit: Credit limit . Rating: Credit rating • Cards: Number of credit cards • Age: Age in years • Education: Education in years • Own: A factor with levels No and Yes indicating whether the individual owns a home • Student: A factor with levels No and Yes indicating whether the individual is a student • Married: A factor with levels No and Yes indicating whether the individual is married • Region: A factor with levels East, South, and West indicating the individual's geographical location • Balance: Average credit card balance in 8. library(tidyr) library(ISLR2) dat <- drop_na (Credit) head(dat) ** Income Limit Rating Cards Age Education Own Student Married Region Balance ##1 14.891 3606 2 34 11 No Yes South 3 82 15 Yea Yes Weat ## 2 106.025 6645 ##3 104.593 7075 11 No ## 4 148.924 9504 11 Yea 283 483 514 681 ## 5 55.882 4897 357 ## 6 80.180 8047 569 4 71 3 36 2 68 4 77 16 No 10 No x1 <- dat $Balance [dat$Student=="Yes"] x2 <- dat $Balance [dat$Student=="No"] No Yes No No No No West Weat 333 903 No No Yes South No South 1151 580 964 331 Use the following R code separate Balance for Student and Non-student and create histogram of Balance for Student and Non-student. We wish to compare mean Balance of Student and Non-student group.
Expert Solution
steps

Step by step

Solved in 3 steps with 7 images

Blurred answer
Recommended textbooks for you
A First Course in Probability (10th Edition)
A First Course in Probability (10th Edition)
Probability
ISBN:
9780134753119
Author:
Sheldon Ross
Publisher:
PEARSON
A First Course in Probability
A First Course in Probability
Probability
ISBN:
9780321794772
Author:
Sheldon Ross
Publisher:
PEARSON