Ask Statistics and Probability Expert

Detailed Question:

The homework is for computational statistics course (Optimization, R coding, regression).

This is an advanced course. THE R CODES ARE IMPORTANT AND SHOULD BE INCLUDED IN THE ANSWER.

Instructions:

A scientist studied the effects of a very strong storm in trees in a forest in Minnesota as a function of the tree diameters and the severity of winds in the areas where the trees were located. The data for n = 659 trees are given at tree.txt file

The data set consists of the following variables:

D = Diameter of the tree.
S = Severity of the storm at the location of the tree in the scale of 0 to 1, with 1 being most severe.
y = 0 if the tree survived and 1 if the tree is blown down.

Here, y1, ... , yn is a set of n observations where yi ∼ Bernouli(Πi). We are to estimate Πi = P(yi = 1), the probability that a tree is blow out, as a function of D and S. In particular we parameterize this probability by the logit function

Πi(β) = exp(xiTβ)/1 + exp(xiTβ) for i = 1, ......n (1)

where xiT = (xi1, xi2, xi3), where xi1 = 1 is the intercept, xi2 = log(D), and xi3 = S, and β = (β1, β2, β3)T is a set of p parameters to be estimated.

(a) Write the likelihood function l(β) as a function of yi's and Πi(β).

(b) Obtain the first differential dΠi(dβ) and the second differential ddΠi(dβ, dβ).

(c) Obtain the first differential dl(dβ) and use it to derive formulas for ∂l(β)/∂β)i for B = 1, 2, 3.

(d) Write an R code to implement steepest ascent method with step-halving to obtain the maximum likelihood estimates for β.

(e) Obtain the second differential ddl(dβ, dβ).

(f) Obtain the expected value dd[dl(dβ, dβ)] and use it derive formulas for the elements of the Fisher information matrix.

(g) Write an R code to implement the Fisher-scoring algorithm to obtain the maximum likelihood estimates for β. [Do not use iteratively reweighted least squares to run Fisher scoring.]

(h) Use the glm function in R to obtain maximum likelihood estimates for β.

(i) Plot the three-dimensional graph of Π(β), using your maximum likelihood estimates and as a function of X1 = S and X2 = log(D), For your plot, X1 should range in the interval (0,1) and X2 should range in the range of observed values for log(D). Moreover, draw the constant value contours and give an interpretation of the values.

(j) What is the prediction of your model for the probability that a tree with diameter 10 would blow down as a function of the severity of wind, as it ranges from 0 to 1. Show the probability using a graph.

(h) What is the prediction of your model for the probability that a tree would be blown down with wind severity 0.4 and diameters ranging from 5 to 30.

Attachment:- tree.txt

Statistics and Probability, Statistics

  • Category:- Statistics and Probability
  • Reference No.:- M91698841
  • Price:- $90

Guranteed 48 Hours Delivery, In Price:- $90

Have any Question?


Related Questions in Statistics and Probability

Introduction to epidemiology assignment -assignment should

Introduction to Epidemiology Assignment - Assignment should be typed, with adequate space left between questions. Read the following paper, and answer the questions below: Sundquist K., Qvist J. Johansson SE., Sundquist ...

Question 1 many high school students take the ap tests in

Question 1. Many high school students take the AP tests in different subject areas. In 2007, of the 144,796 students who took the biology exam 84,199 of them were female. In that same year,of the 211,693 students who too ...

Basic statisticsactivity 1define the following terms1

BASIC STATISTICS Activity 1 Define the following terms: 1. Statistics 2. Descriptive Statistics 3. Inferential Statistics 4. Population 5. Sample 6. Quantitative Data 7. Discrete Variable 8. Continuous Variable 9. Qualit ...

Question 1below you are given the examination scores of 20

Question 1 Below you are given the examination scores of 20 students (data set also provided in accompanying MS Excel file). 52 99 92 86 84 63 72 76 95 88 92 58 65 79 80 90 75 74 56 99 a. Construct a frequency distributi ...

Question 1 assume you have noted the following prices for

Question: 1. Assume you have noted the following prices for paperback books and the number of pages that each book contains. Develop a least-squares estimated regression line. i. Compute the coefficient of determination ...

Question 1 a sample of 81 account balances of a credit

Question 1: A sample of 81 account balances of a credit company showed an average balance of $1,200 with a standard deviation of $126. 1. Formulate the hypotheses that can be used to determine whether the mean of all acc ...

5 of females smoke cigarettes what is the probability that

5% of females smoke cigarettes. What is the probability that the proportion of smokers in a sample of 865 females would be greater than 3%

Armstrong faber produces a standard number-two pencil

Armstrong Faber produces a standard number-two pencil called Ultra-Lite. The demand for Ultra-Lite has been fairly stable over the past ten years. On average, Armstrong Faber has sold 457,000 pencils each year. Furthermo ...

Sppose a and b are collectively exhaustive in addition pa

Suppose A and B are collectively exhaustive. In addition, P(A) = 0.2 and P(B) = 0.8. Suppose C and D are both mutually exclusive and collectively exhaustive. Further, P(C|A) = 0.7 and P(D|B) = 0.5. What are P(C) and P(D) ...

The time to complete 1 construction project for company a

The time to complete 1 construction project for company A is exponentially distributed with a mean of 1 year. Therefore: (a) What is the probability that a project will be finished in one and half years? (b) What is the ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As