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 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 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 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
In: Math
. 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 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 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 for each.
In: Math
Assignment 1:
It is known that achievement test scores of all high school seniors in a state (in the US) have mean 60 and variance 64. On a large high school, located in a low socio economic area, a small group of senior students set out to investigate the performance of their own school. They collected a random sample of ??=100 achievement test scores from fellow students. Analyzing the results, it was found that the sample mean achievement test score was 58.
A) Is there evidence to suggest that this high school is performing poorly? Look at the hint below and provide an explanation.
(Hint: find the probability that the sample mean achievement test score is at most 58, assuming that the true mean score is 60. In the computation, use ? = 8)
In: Math
A researcher investigates the factors that are associated with the salaries of professors who teach courses at a major university. The researcher gathers data about the subject area and the salary per course for a random sample of professors. Data are found in the file Academic Salaries by Subject Area.
a) State the null and alternate hypothesis we would run to determine if the average salaries of the professors is the same across all subjcet areas.
b) Run the appropriate test in Excel and show output. What conclusions can you make?
c) Obtain boxplots for these data, each individual data NPP, and a NPP for all residuals.
d) Are the assumptions of an ANOVA reasonably satisfied? Explain & Discussion in reference to the plots.
e) If there is a difference in salaries run a Tukey’s test to show how the salaries for the different subject areas compare to each other. Describe what the results of the Tukey’s test tell you.
Salary per course | |||
Humanities | Social Sciences | Engineering | Managament |
1700 | 2500 | 2700 | 2500 |
1900 | 2300 | 2800 | 2600 |
1800 | 2600 | 2900 | 2300 |
2100 | 2400 | 3000 | 2800 |
2500 | 2700 | 2800 | 3300 |
2700 | 2400 | 2700 | 3400 |
2900 | 2600 | 3700 | 3300 |
2500 | 2400 | 3600 | 3500 |
2600 | 2500 | 3700 | 3600 |
2800 | 3500 | 3800 | |
2700 | 3300 | 3900 | |
2900 | 3600 | ||
3400 |
In: Math
Imagine a professor wants to examine if there is a relationship between gender and performance on a writing test. Thirty girls and thirty boys participated in his experiment. They were given a standard writing test and their grades were given as “outstanding”, “good”, “passing”, and “failing”. If the professor decided to use a Chi-square test to examine the relationship, how many degrees of freedom are there in this Chi-square test?
When using the Chi-square test, the probability of Type
I error is____ its significance level.
a. Not related to
b. Bigger than
c. Equal to
b. Smaller than
If the probability value of a Chi square of 3.2 with a
degree of freedom of 3 is 0.368, then we should___.
a. Fail to reject the null hypothesis
b. We cannot decide unless we get the information on t-value
c. Reject the null hypothesis
d. We cannot decide unless we get the information on factors and
levels
In: Math
Describe the advantages and disadvantages of including interaction effects and polynomial terms in a multiple regression model.
In: Math
Quick Start Company makes 12-volt car batteries. From historical
data, the company knows that the life of such a battery is a
normally distributed random variable with a mean life of 44 months
and a standard deviation of 1010 months.
(a) What percentage of Quick Start 12-volt batteries will last
between 32 months and 53 months?
(b) If Quick Start does not want to make refunds for more than 10%
of its batteries under a full-guarantee policy, how long should the
company guarantee the 12-volt batteries?
months
(c) Seventy-five 12-volt batteries are randomly selected n=75. What
is the probability that the mean lifetime of the batteries in this
sample will be between 42 and 43 months?
(Input answer to four decimal places)
In: Math
Find the cumulative distribution function of X and draw its graph?
A salesman has scheduled two appointments to sell encyclopedias. His first appointment will lead to a sale with probability 0.3, and his second appointment will lead independently to a sale with probability 0.6. Any sale made is equally likely to be either for the deluxe model, which costs $1000, or the standard model, which costs $500. X is the total dollar value of all sales. Hint: you could find the probability mass function of X and use that.
In: Math