Problem 1: Hypothesis Testing with Multiple Samples Suppose a researcher wants to test whether there is a significant difference in the average productivity of employees across three different departments in a company. The productivity scores are measured over a week and given in the table below. Department A Department B Department C 85 80 90 88 85 92 82 84 95 90 86 89 87 89 91 State the null and alternative hypotheses for testing the difference in means across the departments. Perform an ANOVA test to evaluate if there is a significant difference in average productivity across the three departments. Use a significance level of 0.05. Calculate the F-statistic and conclude whether the null hypothesis is rejected. Problem 3: Logistic Regression Analysis A hospital collects data on patient survival outcomes based on age and cholesterol levels. The goal is to model the probability of survival (1 = survived, 0 = did not survive) using logistic regression. The data is summarized in the table below: Age (years) Cholesterol (mg/dL) Survival Outcome (1 = survived, 0 = not survived) 45 210 1 54 250 0 60 300 0 37 180 1 50 220 1 63 270 0 Fit a logistic regression model where the probability of survival depends on age and cholesterol level. Interpret the coefficients for age and cholesterol in the logistic model. Calculate the predicted probability of survival for a 50-year-old patient with a cholesterol level of 240 mg/dL. Problem 4: Bayesian Inference with Prior Distributions Suppose the number of defects in a batch of products follows a Poisson distribution with parameter λ\lambdaλ. The prior distribution for λ\lambdaλ is Gamma distributed with shape parameter α=2\alpha = 2α=2 and rate parameter β=3\beta = 3β=3. You observe 8 defects in a randomly selected batch of products. Write down the likelihood function based on the Poisson distribution and the prior distribution of λ\lambdaλ. Derive the posterior distribution of λ Find the posterior mean and variance of λ\lambdaλ.

Advanced Engineering Mathematics
10th Edition
ISBN:9780470458365
Author:Erwin Kreyszig
Publisher:Erwin Kreyszig
Chapter2: Second-order Linear Odes
Section: Chapter Questions
Problem 1RQ
icon
Related questions
Question
100%

Problem 1: Hypothesis Testing with Multiple Samples

Suppose a researcher wants to test whether there is a significant difference in the average productivity of employees across three different departments in a company. The productivity scores are measured over a week and given in the table below.

Department A Department B Department C
85 80 90
88 85 92
82 84 95
90 86 89
87 89 91
  1. State the null and alternative hypotheses for testing the difference in means across the departments.

  2. Perform an ANOVA test to evaluate if there is a significant difference in average productivity across the three departments. Use a significance level of 0.05.

  3. Calculate the F-statistic and conclude whether the null hypothesis is rejected.

Problem 3: Logistic Regression Analysis

A hospital collects data on patient survival outcomes based on age and cholesterol levels. The goal is to model the probability of survival (1 = survived, 0 = did not survive) using logistic regression. The data is summarized in the table below:

Age (years) Cholesterol (mg/dL) Survival Outcome (1 = survived, 0 = not survived)
45 210 1
54 250 0
60 300 0
37 180 1
50 220 1
63 270 0
  1. Fit a logistic regression model where the probability of survival depends on age and cholesterol level.

  2. Interpret the coefficients for age and cholesterol in the logistic model.

  3. Calculate the predicted probability of survival for a 50-year-old patient with a cholesterol level of 240 mg/dL.

Problem 4: Bayesian Inference with Prior Distributions

Suppose the number of defects in a batch of products follows a Poisson distribution with parameter λ\lambdaλ. The prior distribution for λ\lambdaλ is Gamma distributed with shape parameter α=2\alpha = 2α=2 and rate parameter β=3\beta = 3β=3. You observe 8 defects in a randomly selected batch of products.

  1. Write down the likelihood function based on the Poisson distribution and the prior distribution of λ\lambdaλ.

  2. Derive the posterior distribution of λ

  3. Find the posterior mean and variance of λ\lambdaλ.

Expert Solution
steps

Step by step

Solved in 2 steps with 14 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Advanced Engineering Mathematics
Advanced Engineering Mathematics
Advanced Math
ISBN:
9780470458365
Author:
Erwin Kreyszig
Publisher:
Wiley, John & Sons, Incorporated
Numerical Methods for Engineers
Numerical Methods for Engineers
Advanced Math
ISBN:
9780073397924
Author:
Steven C. Chapra Dr., Raymond P. Canale
Publisher:
McGraw-Hill Education
Introductory Mathematics for Engineering Applicat…
Introductory Mathematics for Engineering Applicat…
Advanced Math
ISBN:
9781118141809
Author:
Nathan Klingbeil
Publisher:
WILEY
Mathematics For Machine Technology
Mathematics For Machine Technology
Advanced Math
ISBN:
9781337798310
Author:
Peterson, John.
Publisher:
Cengage Learning,
Basic Technical Mathematics
Basic Technical Mathematics
Advanced Math
ISBN:
9780134437705
Author:
Washington
Publisher:
PEARSON
Topology
Topology
Advanced Math
ISBN:
9780134689517
Author:
Munkres, James R.
Publisher:
Pearson,