Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Statistics and Probability Expert

Statistics General Linear Model Midterm Exam

Q1. There are a series of papers by de Souza et al. on the generalized linear models in astronomy. These articles can be found either from the links provided below, or from the Blackboard where three pdf files were uploaded. In this question, we focus on the second paper. You may read other papers if you are interested in.

  • R.S. de Souza, E. Cameron, M. Killedar, J. Hilbe, R. Vilalta, U. Maio, V. Biffi, B. Ciardi, J.D. Riggs (2015). The overlooked potential of generalized linear models in astronomy, I: binomial regression, Astronomy and Computing, 12, 21-32.
  • J. Elliott, R.S. de Souza, A. Krone-Martins, E. Cameron, E.E.O. Ishida, J. Hilbe (2015). The overlooked potential of generalized linear models in astronomy, II: gamma regression and photometric redshifts. Astronomy and Computing, 10, 61-72.
  • R. S. de Souza, J. M. Hilbe, B. Buelens, J. D. Riggs, E. Cameron, E. E. O. Ishida, A. L. Chies-Santos, M. Killedar (2015). The overlooked potential of generalized linear models in astronomy, III: Bayesian negative binomial regression and globular cluster populations. Monthly Notices of the Royal Astronomical Society, 453, 1928-1940.

(a) Read the second paper by Elliott et al. on gamma regression and photometric redshifts. Write a brief summary of section 2 overview of regression methods, page 62-64.

(b) Appendix A (page 68-69) provides instructions to perform the photometric redshift estimation using the R package. Run these R codes line by line, and explain the purpose and output of each command line. Elliott et al. also provide python codes in Appendix B. If you prefer python, you can run and explain the python codes. Note, you only need to choose either R or python.

Q2. Consider the data from All Time World Rankings. We use man's 100 meter dash records and woman's 100 meter dash records.

First, summarize these records by using a table with columns Time Record (second), Age (year), and Gender (Female or Male).

For the time record in each age and gender group, you should use the fastest times without wind assistance. Based on Rule 260.14(c) of IAAF Competition Rules 2016-2017, if a tail wind exceeds 2 meters per second the result cannot be registered as a record on any level. So you should use the fastest times among the wind speed less than or equal to +2 m/s.

For age, use the lower bound of each age group. For instance, the age for age group M35-39 is 35, the age for age group W90-94 is 90.

(a) Summarize the record of each age and gender group and form an R-readable table. For example, the first several rows of the table may be

Gender

Age

Time

M

35

9.97

M

40

10.29

. . . . . .

W

35

10.74

W

40

10.99

. . . . . .

(b) Consider time as the response variable (y) and age as the explanatory variable (x). For female students, use woman's record; for male students, use man's record. Fit the models

y = β10 + β11x

and

y = β20 + β21x + β22x2.

Include your R codes and report your estimates. Does the extra quadratic term appear necessary?

(c) Denote the estimates in part (a) of the intercept of model y = β10 + β20x as b0F in woman's record model, and as b0M in man's record model.

Include gender as an additional explanatory variable (v), and v = 1 corresponds to woman's record, and v = 0 corresponds to man's record. Consider the model

y = β30 + β31x + β32v.

Include your R codes and report your estimates. How does gender appear to affect the records?

(d) For female students, compare βˆ30 + βˆ32 and b0F. For male students, compare βˆ30 and b0M. Explain the difference.

(e) For female students, use woman's record; for male students, use man's record. Using the data fit a Gamma generalized linear model. Interpret your findings and compare with part (b). Include your R codes, and write down the link function you choose, and the equation of your fitted model.

(f) Show that the density of inverse Gaussian distribution lies in the exponential family, and write the distribution in the canonical form of a generalized linear model. Then repeat part (e) using an inverse Gaussian generalized linear model.

Q3. Two items A and B are weighed on a balance, first separately and then together, to yield observations y1, y2, and y3. Say, suppose the true weights of A and B are αA and αB, we have

y1 = αA + ε1

y2 = αB + ε2

y3 = αA + αB + ε3

(a) If εi ∼ N(0, σ2ε), i = 1, 2, 3, find the reasonable estimates of αA and αB. Show your work.

(b) If εi ∼ N(0, σ2ε) for i = 1, 2, and ε3 ∼ N(0, k2σ2ε), where constant k > 1, find the reasonable estimates of αA and αB. Show your work.

(c) Let y1 = 41, y2 = 53, y3 = 97, k = 1.2. Choose a suitable function in R, and find the estimates of αA and αB in (a) and (b). Include your R codes, and highlight the key R function you use. Compare the estimates of αA and αB in (a) and (b) and explain the differences.

Attachment:- Assignment File.rar

Statistics and Probability, Statistics

  • Category:- Statistics and Probability
  • Reference No.:- M92557483

Have any Question?


Related Questions in Statistics and Probability

A lot contains 15 items and 6 are defective if two items

A lot contains 15 items and 6 are defective. If two items are drawn at random from the lot, without replacement, what is the probability there is exactly one non-defective? (Hint: You have to use both Multiplication and ...

The sample distribution on individual iq scores raw scores

The sample distribution on individual IQ scores (raw scores) has a sample mean of 100 and a standard deviation of 16. What proportion of the sample mean will fall at or above a mean of 102.56? Round the answers to no mor ...

The director of research and development is testing a new

The director of research and development is testing a new drug. She wants to know if there is evidence at the 0.02 level that the drug stays in the system for more than 339 minutes. After performing a hypothesis test, sh ...

Lipto biomedic has credit sales of 740000 yearly with

Lipto Biomedic has credit sales of $740,000 yearly with credit terms of net 60 days, with an average collection period of 75 days. Lipto does not offer a discount for early payment.  (Use 365 days in a year.) a-1. What i ...

1 define and discuss how to develop the free cash flow

1. Define and discuss how to develop the Free Cash Flow forecast? 2. Define and discuss how to develop the Terminal Value? 3. Define and discuss how to develop the Discount Rate?

Calculate the cash and accounting break even point selling

Calculate the cash and accounting break even point. selling price $745, Variable cost $445 extra expense of $170,000 per on rent, $160,000 per year on utility plus additional of initial outlay of $120,000 in furniture (4 ...

What steps do i take to calculate the personnel office at a

What steps do I take to calculate :the personnel office at a large electronics firm regularly schedules job interviews and maintains records of the interviews. From the past records, they have found that the length of a ...

Transaction costs you would like to purchase one class a

Transaction costs You would like to purchase on?e Class A share of Berkshire Hath-away through your Scottrade brokerage account. Scottrade charges a $7 commission for online trades. You log into your account, check the r ...

A study of cancer was conducted among 10000 men in the

A study of cancer was conducted among 10,000 men in the United States who were 40-75 years of age. Every two years questionnaires are sent to these individuals, and newly diagnosed cases of various cancers were reported. ...

From a random sample of 58 businesses it is found that the

From a random sample of 58 businesses, it is found that the mean time the owner spends on administrative issues each week is 20.53 with a standard deviation of 3.23. What is the 95% confidence interval for the amount of ...

  • 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