Questions
You are given data from a company that recently laid off a large number of workers....

You are given data from a company that recently laid off a large number of workers. The data includes the following variables:

Age of the employee

Number of years of education

Marital status (1=married/0=single)

Number of years that the employee worked for the company

Was a manager (1=yes/0=no)

Was in sales (1=yes/0=no)

Was primary earner in the family (1=yes/0=no)

95% confidence interval for proportion of employees who were in sales before they were laid off.

What do the confidence intervals tell you about the typical employee who got laid off?

Age Educ Married Primary earner length of employment Manager Sales
30 14 1 1 1 0 0
27 14 1 0 6 0 0
32 10 0 1 11 0 0
44 11 1 0 2 0 0
21 14 1 1 2 0 0
26 13 1 0 7 1 0
26 15 1 0 6 0 0
33 13 0 1 6 0 0
27 12 1 1 8 0 0
33 12 0 1 2 0 0
20 11 1 0 1 0 0
35 7 1 1 6 0 0
36 17 0 1 9 1 0
26 12 1 1 8 0 0
36 15 0 1 8 0 0
38 16 1 1 11 0 1
34 13 0 1 13 0 0
27 19 1 0 8 0 0
44 13 1 0 22 0 0
45 15 1 1 6 0 0
28 17 0 1 3 0 1
25 10 1 1 1 0 0
31 15 1 0 12 0 0
23 15 1 0 2 0 0
24 13 1 1 7 0 0
62 13 0 1 8 0 0
31 16 1 0 11 0 0
48 18 0 1 30 0 0
35 18 1 1 5 0 0
33 14 0 1 6 0 1
46 15 0 1 6 0 0
35 8 0 1 6 0 0
32 9 1 1 13 0 0
40 17 1 0 8 1 0
23 12 1 1 1 0 0
36 16 0 1 8 0 1
33 12 1 0 10 0 1
32 16 0 1 11 0 0
62 15 1 0 16 0 1
29 14 1 1 12 0 0
45 12 1 0 17 0 0
38 15 0 1 6 0 1
40 8 1 1 16 0 1
42 13 1 0 2 1 0
45 16 1 1 22 0 0
39 11 1 1 4 0 0
27 15 1 0 10 0 1
42 14 1 1 6 1 0
31 10 1 1 8 0 0
33 13 1 1 8 0 0

In: Math

Are low-fat diets or low-carb diets more effective for weight loss? A simple random sample of...

Are low-fat diets or low-carb diets more effective for weight loss? A simple random sample of 85 adults went on a low-carbohydrate diet for 6 months. At the end of that time, the average weight loss was 4.8 kilograms with a standard deviation 6.04 kilograms. A second simple random sample of 77 adults went on a low-fat diet. Their average weightloss was 4 kilograms with a standard deviation of 5.08 kilograms. Can you conclude that the true mean weightloss differs between the two diets? Use a 10% significance to decide. Group 1: Low-Carb Group 2: Low-Fat Round to the fourth Select the correct alternative sign: μ 1 μ 2 Test Statistic: p-value: Decision Rule: Did Significance Happen? There enough evidence to conclude

In: Math

A genetic experiment involving peas yielded one sample of offspring consisting of 443 green peas and...

A genetic experiment involving peas yielded one sample of offspring consisting of 443 green peas and 120 yellow peas. Use a 0.05 significance level to test the claim that under the same​circumstances, 26​% of offspring peas will be yellow. Identify the null​ hypothesis, alternative​ hypothesis, test​ statistic, P-value, conclusion about the null​ hypothesis, and final conclusion that addresses the original claim. Use the​ P-value method and the normal distribution as an approximation to the binomial distribution. What are the null and alternative​ hypotheses?

In: Math

1. State the research hypothesis (non-directional) and the null hypothesis. Make sure you include both DV...

1. State the research hypothesis (non-directional) and the null hypothesis. Make sure you include both DV and IV in the hypotheses from #1 above

2.According to the post-hoc results table, which pairs of the cottages do show the statistically significant difference in “Number of traumas experienced” (e.g. “Cottage A vs. B”)?

SPSS Dataset

SPSS Data for HW (500 cases).sav (available in Canvas)

Variable Names in the dataset

cottage: Cottage assignment (Cottage A, B, & C)

trauma: Number of traumas experienced

Descriptives

Number of traumas experienced

N

Mean

Std. Deviation

Std. Error

95% Confidence Interval for Mean

Minimum

Maximum

Lower Bound

Upper Bound

Cottage A

170

1.88

.902

.069

1.75

2.02

1

4

Cottage B

170

1.59

.494

.038

1.51

1.66

1

2

Cottage C

160

4.75

2.736

.216

4.32

5.18

2

10

Total

500

2.70

2.177

.097

2.51

2.89

1

10

Test of Homogeneity of Variances

Number of traumas experienced

Levene Statistic

df1

df2

Sig.

318.765

2

497

.000

Robust Tests of Equality of Means

Number of traumas experienced

Statistica

df1

df2

Sig.

Welch

106.654

2

268.787

.000

a. Asymptotically F distributed.

Multiple Comparisons

Dependent Variable:   Number of traumas experienced

(I) Cottage

(J) Cottage

Mean Difference (I-J)

Std. Error

Sig.

95% Confidence Interval

Lower Bound

Upper Bound

Bonferroni

Cottage A

Cottage B

.294

.180

.309

-.14

.73

Cottage C

-2.868*

.183

.000

-3.31

-2.43

Cottage B

Cottage A

-.294

.180

.309

-.73

.14

Cottage C

-3.162*

.183

.000

-3.60

-2.72

Cottage C

Cottage A

2.868*

.183

.000

2.43

3.31

Cottage B

3.162*

.183

.000

2.72

3.60

Games-Howell

Cottage A

Cottage B

.294*

.079

.001

.11

.48

Cottage C

-2.868*

.227

.000

-3.40

-2.33

Cottage B

Cottage A

-.294*

.079

.001

-.48

-.11

Cottage C

-3.162*

.220

.000

-3.68

-2.64

Cottage C

Cottage A

2.868*

.227

.000

2.33

3.40

Cottage B

3.162*

.220

.000

2.64

3.68

*. The mean difference is significant at the 0.05 level.

In: Math

do you think that Pill and Mark had good reasons fo choosing the research topic initially...

do you think that Pill and Mark had good reasons fo choosing the research topic initially ?

In: Math

Let X be a random variable such that P(X = 1) = 0.4 and P(X =...

Let X be a random variable such that P(X = 1) = 0.4 and P(X = 0) = 0.6.  Compute Var(X).

In: Math

Prove that for a Markov chain on a finite state space, no states are null recurrent.

Prove that for a Markov chain on a finite state space, no states are null recurrent.

In: Math

Your poll of 620 randomly selected residents of a Chicago suburb indicates that 32% of them...

Your poll of 620 randomly selected residents of a Chicago suburb indicates that 32% of them would support the introduction of a halfway house for drug addicts in their community. Match the following elements needed to construct a 95% confidence interval.

1)Lower limit--------------->A).037

2)Margin of error----------> B)1.96

3)Critical value-----------> C).019

4)Standard error for proportions----------> D).283

In: Math

1 point) If xx is a binomial random variable, compute P(x)P(x) for each of the following...

1 point) If xx is a binomial random variable, compute P(x)P(x) for each of the following cases:

(a)  P(x≤1),n=5,p=0.3P(x≤1),n=5,p=0.3


P(x)=P(x)=

(b)  P(x>3),n=4,p=0.1P(x>3),n=4,p=0.1


P(x)=P(x)=

(c)  P(x<3),n=7,p=0.7P(x<3),n=7,p=0.7


P(x)=P(x)=

In: Math

James was eating a bag of candies that came in eight different colors. He noticed that...

James was eating a bag of candies that came in eight different colors. He noticed that there appeared to be far fewer green candies than any of the other colors and wondered if the true proportion of green candies was lower than the 12.5% that would be expected if all of the candies came in even amounts. For the sake of statistics, he decided that he would need to buy more candy to test his hypothesis. James randomly selected several bags and candies and recorded the color of each piece of candy. He found that out of the first 400 candies that he chose, 39 of them were green.

James conducts a one-proportion hypothesis test at the 5% significance level, to test whether the true proportion of green candies was lower than 12.5%.

(a) H0:p=0.125; Ha:p<0.125, which is a left-tailed test.

(b) Use a TI-83, TI-83 plus, or TI-84 calculator to test whether the true proportion of green candies is less than 12.5%. Identify the test statistic, z, and p-value from the calculator output, rounding to three decimal places.

In: Math

The dataset HairEyesColor in R contains classifications of students by gender, color, and eye color. a)...

The dataset HairEyesColor in R contains classifications of students by gender, color, and eye color.

a) How many students are included in the data set?
b) Display the information using mosaicplot (HairEyeColor, col=c(1,2))
c) Is hair color independent of eye color for men?
d) Is hair color independent of eye color for women?

Use R and show R code

In: Math

. Which   of   the   following   is   NOT   CORRECT   about   a   randomized   complete   block   experiment?   (a) &nbs

. Which   of   the   following   is   NOT   CORRECT   about   a   randomized   complete   block   experiment?  

(a)   Every   block   is   randomized   separately   from   every   other   block.  

(b)   Every   treatment   must   appear   at   least   once   in   every   block.  

(c)   Blocking   is   used   to   remove   the   effects   of   another   factor   (not   of   interest)   from   the   comparison   of  

levels   of   the   primary   factor.  

(d)   The   ANOVA   table   will   have   another   line   in   it   for   the   contribution   to   the   variability   from   blocks.  

(e)   Blocks   should   contain   experimental   units   that   are   as   different   as   possible   from   each   other.  

In: Math

The table below shows performance data for 100 flights between cities A - G for some...

The table below shows performance data for 100 flights between cities A - G for some airline, including: date, flight #, origin, destination, # passengers flown (load), and tardiness (late, in hours).

write a VBA code (N=10000) to simulate the following:

1. (I7): number of flights which were late for at least 0.75 hrs.

2. (I10) average load of flights originated from C with load exceeding 250.

3. (I13): smallest tardiness of flights from B to E between 9/1/18 and 9/3/18.

4. (I16): total load of flights flown from A to C, D, and E on 9/4/18.

5. (I19): the flight # of the flight with the maximal load among all flights from A to G with tardiness less than 0.6 hrs.

Date Flight # From To Load Late
09/01/18 7136 C A 258 0.33
09/01/18 2770 G E 179 0.50
09/01/18 2368 A B 203 0.82
09/01/18 6690 G F 189 0.96
09/01/18 7553 A E 219 0.31
09/01/18 8323 G A 246 0.80
09/01/18 7381 D C 205 0.95
09/01/18 9008 B C 281 0.52
09/01/18 8664 A G 214 0.48
09/01/18 2826 G E 171 0.62
09/01/18 6641 C E 245 0.62
09/01/18 5402 A F 194 0.06
09/01/18 3184 A G 234 0.58
09/01/18 6806 B A 257 0.46
09/01/18 9117 D C 295 0.15
09/01/18 1259 E G 283 0.54
09/01/18 5543 B E 305 0.92
09/02/18 8008 A D 319 0.39
09/02/18 8556 A B 214 0.67
09/02/18 7559 D F 285 0.08
09/02/18 8068 C B 245 0.67
09/02/18 4717 E C 286 0.71
09/02/18 6325 F B 190 0.77
09/02/18 7037 A F 259 0.73
09/02/18 5623 D C 268 0.10
09/02/18 5431 F C 302 0.90
09/02/18 3347 C G 220 0.46
09/02/18 6860 F E 224 0.96
09/02/18 1640 C D 221 0.57
09/02/18 4486 D G 206 0.06
09/02/18 9696 A G 314 0.12
09/02/18 8081 G E 270 0.46
09/02/18 9974 G E 219 0.44
09/02/18 9724 B C 245 0.20
09/02/18 3443 B E 174 0.66
09/02/18 7582 B E 218 0.27
09/03/18 2634 G E 246 0.17
09/03/18 2617 B D 172 0.08
09/03/18 7589 E D 231 0.74
09/03/18 7545 D B 226 0.72
09/03/18 8667 E B 256 0.34
09/03/18 6576 B F 199 0.07
09/03/18 8485 C E 242 0.19
09/03/18 4958 D F 281 0.17
09/03/18 8681 F G 263 0.19
09/03/18 6224 C F 281 0.97
09/03/18 6110 B D 178 0.52
09/03/18 5971 D A 188 0.11
09/03/18 5822 B A 184 0.54
09/03/18 2075 D A 242 0.62
09/03/18 9603 A E 255 0.84
09/03/18 4909 D G 252 0.51
09/03/18 4495 A G 308 0.05
09/03/18 2861 D A 316 0.20
09/03/18 8728 A F 177 0.74
09/03/18 1327 B G 216 0.76
09/04/18 9191 A D 235 0.30
09/04/18 9239 E C 235 0.72
09/04/18 5160 E F 294 0.23
09/04/18 6930 E D 227 0.52
09/04/18 9500 F E 228 0.47
09/04/18 9861 D B 248 0.92
09/04/18 5956 D A 183 0.36
09/04/18 9071 A D 267 0.53
09/04/18 7290 E G 197 0.69
09/04/18 9086 A C 310 0.08
09/04/18 5870 D B 285 0.99
09/04/18 9595 B A 231 0.56
09/04/18 9609 D C 308 0.54
09/04/18 3446 C B 288 0.27
09/04/18 9011 G B 228 0.80
09/04/18 8651 G D 225 0.87
09/04/18 2771 F G 177 0.39
09/04/18 1360 B A 231 0.33
09/04/18 7293 G F 214 0.11
09/04/18 1412 G C 256 0.62
09/04/18 2659 A B 233 0.59
09/04/18 2847 E F 182 0.47
09/04/18 4691 D E 211 0.23
09/04/18 3392 E A 232 0.48
09/04/18 3245 C A 213 0.97
09/04/18 2691 E A 248 0.07
09/04/18 9582 G B 227 0.89
09/04/18 1591 G B 280 0.25
09/05/18 5674 B G 313 0.81
09/05/18 8560 E G 288 0.09
09/05/18 1428 D F 264 0.64
09/05/18 4483 C E 221 0.73
09/05/18 3652 G A 201 0.46
09/05/18 3474 A C 206 0.92
09/05/18 8309 F C 227 0.74
09/05/18 8774 B A 209 0.65
09/05/18 2887 A D 267 0.02
09/05/18 3499 D E 183 0.33
09/05/18 8134 C A 264 1.00
09/05/18 8516 E D 315 0.83
09/05/18 7388 C B 251 0.92
09/05/18 9037 E C 319 0.45
09/05/18 1120 E C 274 0.40
09/05/18 5919 B F 254 0.65

In: Math

The accuracy of a census report on a city in southern California was questioned by some...

The accuracy of a census report on a city in southern California was questioned by some government officials. A random sample of 1215 people living in the city was used to check the report, and the results are shown below.

Ethnic Origin

Census Percent

Sample Result

Black

10%

121

Asian

3%

47

Anglo

38%

486

Latino/Latina

41%

486

Native American

6%

62

All others

2%

13

Using a 1% level of significance, test the claim that the census distribution and the sample distribution agree.

(a) What is the level of significance?

State the null and alternate hypotheses.

H0: The distributions are different.

H1: The distributions are different.

H0: The distributions are the same.

H1: The distributions are different.    

H0: The distributions are the same.

H1: The distributions are the same.

H0: The distributions are different.

H1: The distributions are the same.

(b) Find the value of the chi-square statistic for the sample. (Round the expected frequencies to at least three decimal places. Round the test statistic to three decimal places.)

Are all the expected frequencies greater than 5?

Yes

No    

What sampling distribution will you use?

uniform

chi-square    

Student's t

normal

binomial

What are the degrees of freedom?

(c) Estimate the P-value of the sample test statistic.

P-value > 0.100

0.050 < P-value < 0.100    

0.025 < P-value < 0.050

0.010 < P-value < 0.025

0.005 < P-value < 0.010

P-value < 0.005

(d) Based on your answers in parts (a) to (c), will you reject or fail to reject the null hypothesis that the population fits the specified distribution of categories?

Since the P-value > α, we fail to reject the null hypothesis.

Since the P-value > α, we reject the null hypothesis.    

Since the P-value ≤ α, we reject the null hypothesis.

Since the P-value ≤ α, we fail to reject the null hypothesis.

(e) Interpret your conclusion in the context of the application.

At the 1% level of significance, the evidence is sufficient to conclude that census distribution and the ethnic origin distribution of city residents are different.

At the 1% level of significance, the evidence is insufficient to conclude that census distribution and the ethnic origin distribution of city residents are different.  

In: Math

Define the three types of hypothesis tests and explain why they are used. Give an example...

Define the three types of hypothesis tests and explain why they are used. Give an example for each.

In: Math