Statistics homework help

Write your paper on one of the following topics:
1. Is the death penalty justified? Select a theory of punishment and then, on the basis of that theory of punishment, defend or opposed the death penalty. Be sure to respond to arguments against your position.
2. Consider the Oregon assisted suicide law, which permits assisted suicide. Present one reason to endorse such a law, and also present a reason for opposing it. Then, present your own position, rebutting the objection you raise to the position you adopt.
3. Ought there to be laws prohibiting abortion? Consider arguments on both sides of this issue.
4. In Europe, a woman was near death from a special kind of cancer. There was one drug that the doctors thought might save her. It was a from of radium that a druggist in the same town had recently discovered. The drug was expensive to make, but the druggist was charging ten times what the drug cost him to make. He paid $200 for the radium and charged $2,000 for small dose of the drug.
The sick woman’s husband, Heinz, went to everyone he knew to borrow the money, but he could only get together about $1,000 which is half of what it cost. He told the druggist that his wife was dying and asked him to sell it cheaper or let him pay later. But the druggist said: “No, I discovered the drug and I’m going to make money from it”. So Heinz got desperate and broke into the man’s store to steal the drug for his wife.
Should the husband have done that?, Give a reason why, and a reason why not. Then defend your position on the issued, responding to the argument you gave against the position you adopt.
Your paper should be double-spaced, use a 12-point font, it should have at least four sources, and should use an acceptable format, such as MLA.
Save your paper as a doc or rtf with your name and the assignment name in the file, using last Name_Assignment. So, if your name were Alicia Jackson, and this is Essay 1, you would title it Jackson_Essay 1.

Statistics homework help

STA 622, Assignment 7, Fall 2020
For each of the following problems, please start them on a separate page.  Each page should start with your answer to the question, followed by the relevant R code, followed by the relevant R output.  For #1, this can be done one variable at a time, but please do them in the order listed in the following table.
You should interpret your output, meaning you should not supply output and expect me to interpret it for you.

Variable Description
biomass Aerial biomass production of the marsh grass Spartina Alterniflora
H2S Free sulfide
PH Soil pH
P Phosphorus
type DVEG, SHRT or TALL (make SHRT the reference group)

 
You do not need to perform any remedies for issues that you identify.  Just note the presence of the issue.  You can assume this data set is a random sample from the target population.
 

  1. Do an initial univariate data analysis (one variable at a time), to get familiar with all variables. This means summaries of all variables, especially the response variable.
  • For quantitative variables, create basic numerical summaries and a graphical summary. Comment on any interesting features such as non-normal shapes, outliers, or missing values (by noting different sample sizes across variables).
  • For categorical variables, determine how many individuals fall in each category (frequency table), and note any missing values. Note any categories with small counts.
  1. Perform basic bivariate (Y with one X at a time) explorations.
  • Make a scatter-matrix of your quantitative explanatory variables with the response variable, verifying that all relationships with the response variable are linear (or at least not obviously non-linear), and looking for outliers.
  • You should make side-by-side boxplots for the categorical explanatory variables with the response variable, and note any interesting features, such as outliers, shapes of distributions, or difference in centers or variability.

 

  1. Check for collinearity for the quantitative explanatory variables.
  2. Fit a MLR regression model for all of the explanatory variables listed in the table above, which should include the use of dummy variables for the categorical explanatory variable, and be sure to use SHRT as the reference category for type. Your answer should be the equation of the regression model.
  3. Check for all pairwise interactions simultaneously by performing a partial F test. Regardless of the outcome, do not include any interactions for the rest of this assignment.
  4. Check conditions (needed to perform statistical inference) for the model in #4.
  5. Interpret all slopes that are in the model in #4 in context. Feel free to use the generic term “unit” when referring to the units for each of the quantitative variables.
  6. Interpret for your final model.  What does this tell you about how much faith you should have in any predictions?
  7. Compute and interpret a prediction interval for an individual with H2S of -600, pH of 5.0, P of 16.7, and type is TALL.

 

Stochastics

Problem 1 [10 points]
Random variables, fTj : j  1g are independent with a common exponential density function,
g(t) =   exp(  t) for t > 0;
with  = 5 per hour. Introduce the sums,
k
X
Wk =
Tj and W0 = 0:
j=1
Consider a process, N = fN(t) : t  0g de ned as follows:
[N(t) = n] () [Wn  t < Wn+1]
1. Derive E [W1 jW3  1 < W4]
2. Evaluate expectation E [W1 jW4 = 2]
Show answers in minutes, please!
Solution
2
Problem 2 [10 points]
Random variables, fTj : j  1g are independent with a common exponential density function, g(t) =
  exp(  t) for t > 0; with  = 5 per hour. Introduce the sums,
k
X
Wk =
Tj and W0 = 0:
j=1
Consider a process, N = fN(t) : t  0g de ned as follows: [N(t) = n] () [Wn  t < Wn+1]
1. Derive expectation of W5; given that W2 = 1 (in hours).
2. Evaluate expectation of the ratio, (W5=W2)
Show answers in minutes when appropriate, please!
Solution
3
Problem 4 [10 points]
Consider a small service with arrivals described as a Poisson process, N = fN(t) : t  0g such that the
rst arrival time, W1 = S1; has E [S1jN(0) = 0] = 6 minutes, or (0.1) of an hour.
1. Find conditional expected value for a number of customers arrived by the end of rst hour, given
that by t = 3 hours there were ten customers.
2. Evaluate expected number of customer by t = 3 hours, given that by the end of rst hour there were
four customers.
Solution
5
Problem 5 [10 points]
Consider a queuing system, M=M=1 with one server and parameters such that customer arrivals are
described by a Poisson process with  = 3 per hour, and service times are independent exponentially
distributed with 
1
= 5 minutes.
1. Derive the average queue length, E [X(t)]; assuming that the process X = fX(t) : t  0g follows the
stationary distribution.
2. Evaluate expected busy time.
Solution
6
Problem 10 [10 points]
Consider a Poisson process, N = fN(t) : t  0g with rate  = 2 arrivals per hour. Introduce arrival times,
W0 = 0 and Wk = min [t  0 : N(t) = k] for k  1:
Assume that inspection occurs at t = 5:5 hours.
1. Evaluate conditional expectation of the forth arrival, given that the W10  5:5 < W11
2. Find conditional expectation of the W4, given that the tenth arrival occurred exactly at W10 = 5:5:
Solution
11

Statistics homework help

1. A researcher is testing the claim that adults consume an average of at least 1.85 cups of coffee per day. A sample of 35 adults shows a sample mean of 1.75 cups per day with a sample standard deviation of 0.4 cups per day. Test the claim at a 5% level of significance. What is your conclusion?
2. A government Bureau claims that more than 50% of U.S. tax returns were filed electronically last year. A random sample of 150 tax returns for last year contained 80 that were filed electronically. Test the Bureau’s claim at a 5% level of significance. What is your conclusion? Report the p-value for this test.
3. A major automobile company claims that its New electric-powered car has an average range of more than 100 miles. A random sample of 40 new electric cars was selected to test the claim. Assume that the population standard deviation is 12 miles. A 5% level of significance will be used for the test.
A) What would be the consequences of making a Type II error in this problem?
B) Compute the Probability of making a Type II error if the true population mean is 105 miles.
C) What is the maximum probability of making a Type I error in this problem?
Please Note: A hypothesis test answer must contain: a Null and an Alternate Hypothesis, a computed value of the test statistic, a critical value of the test statistic, a Decision, and a Conclusion.

Statistics homework help

Please read the “Final_Project-Diet and Cholesterol_AS2.dox” file
ID #:2083927
The description states that your report may “be no longer than four pages in total…”. For simplicity (and legibility), please use either Times New Roman, Calibri or Arial font with a  minimum font size of 11 and have a minimum 1.5 spacing. You will submit either a .doc or .pdf file.
In addition to the written report file, we are also requiring a separate “.do” file outlining all statistical procedures you may have used with appropriate comments. Please do not copy and paste your code into your word file.