What is the p-value for the null hypothesis


Problem 1: With the calcium data in "calcium.txt," consider the Decrease variable as your response and Treatment as your treatment. In what follows, I have recoded Treatment to equal 0 for placebo and 1 for calcium treatment.

(a) For the regression model

Decreasei = β0 + β1Treatmenti + εi,

Write down the model matrix.

(b) Fit the above model, and report the coefficient estimates and standard errors.

(c) Based on the model, what is the p-value for the null hypothesis of no treatment effect?

(d) Now analyze the same data using a two-sample t-test, assuming equal variances. How do the results compare to those you obtained using the regression model?

(e) Assuming that the εi are normally distributed, what is the estimated distribution of Decrease when Treatment = 1?

Problem 2:  With the onset data in "onset data.csv," conduct the following analysis.

(a) Create side-by-side box plots comparing time to onset with (i) the tx variable and (ii) the prior variable. Comment.

(b) Create a scatterplot of onset vs. age. Color code the points by prior status. Also, fit and overlay separate lowess curves, one each for prior = 0 and prior = 1.

(c) Fit the regression model

yi = β0 + β1txi + β2priori + β3agei + β4(prior x age) + εi

Interpret all coefficients and report their estimates and standard errors.

(d) Use matrix manipulation using a design matrix to verify the estimates and standard errors from above.

(e) What is a 95% confidence interval for the mean difference in onset times between the treatment and control groups, holding prior status and age constant?

(f) What is a 95% confidence interval for the mean response of a treated individual, age 35, with no prior tumor incidence?

Problem 3: Suppose that y1, y2, . . . , yn are i.i.d. realizations from the N(0, σ2) distribution. Derive the maximum likelihood estimator of σ2.

Problem 4: Suppose the times to infection following exposure to a particular bacteria follow the gamma distribution with shape parameter α, scale parameter β, and pdf

f(x) = 1/(Γ(α)βα)xα-1e-x/β.

Use the nlm function in R to compute the maximum likelihood estimates for the data in "gamma.csv."

Our professional Null Hypothesis Assignment Help tutors always do a comprehensive research before composing any assignment paper, so that, students always get the most genuine assignment solution every time.

Tags: Null Hypothesis Assignment Help, Null Hypothesis Homework Help, Null Hypothesis Coursework, Regression Model Assignment Help, Regression Model Homework Help, Two-Sample T-Test Assignment Help, Two-Sample T-Test Homework Help, Confidence Interval Assignment Help, Confidence Interval Homework Help

Attachment:- Null hypothesis.rar

Request for Solution File

Ask an Expert for Answer!!
Basic Statistics: What is the p-value for the null hypothesis
Reference No:- TGS03025566

Expected delivery within 24 Hours