Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

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

What is the annual coupon rate of a 7-year corporate bond

What is the annual coupon rate of a 7-year corporate bond given that its current price is $930, par = 1,000, semi-annual coupon, YTM=10%?

You have two investments that either make money or lose

You have two investments that either make money or lose money. Each one has a 60 percent chance of making money, and a forty percent chance of losing money. There is a 30 percent chance that both investments make money. ...

A system has two independent components both components

A system has two independent components. Both components must function for the system to function. The first component has 7 components that each work with probability 0.95. If at least 5 elements are working then the fi ...

Now assume that i am talking about a normally distributed

Now assume that I am talking about a normally distributed set of data: An IQ test. This IQ test has a mean of 100 and a standard deviation of 15. Find the following probabilities What is the probability that someone scor ...

How does a histogram help us know the probability of

How does a histogram help us know the probability of getting a certain value for a variable? In other words how does the histogram relate to probability?

A national report indicates that the mean and standard

A national report indicates that the mean and standard deviation of the ACT scores of incoming freshman at American public universities are 24.6 and 6.2, respectively. A sample of 30 incoming freshmen at a small, suburba ...

Suppose a firm uses sales teams to market their products

Suppose a firm uses sales teams to market their products. For example, a construction equipment manufacturer may assign three sales agents to a team so each team member can specialize in particular product functions (e.g ...

David barnes and his fianceacutee valerie shah are visiting

David Barnes and his fiancée Valerie Shah are visiting Hawaii. There are 38 guests registered for orientation. It is announced that 20 randomly selected registered guests will receive a free lesson of the Tahitian dance. ...

A confidence interval estimate is desired for the gain in a

A confidence interval estimate is desired for the gain in a circuit on a semiconductor device. Assume that gain is normally distributed with standard deviation σ = 30. (a) How large must n be if the length of the 95% CI ...

1 according to the national health and nutrition

1. According to the National Health and Nutrition Examination Survey, published by the National Center for Health Statistics, the serum (noncellular portion of blood) total cholesterol level of US females 20 years old or ...

  • 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