Docsity

Project Examples on Regression Analysis - Study Guide | STA 108, Study Guides, Projects, Research of Statistics

Toggle sidebar
bg1
Project Example
Problem: In a manufacturing study, the production times for
111 recent production runs were obtained. The table below
lists for each run the production time in Hours (Y) and the
production lot size (X). Do data analysis and summarize
your findings.
STEP 1: Plot the data, do the regression and the
diagnostics. Explain what you can find from the plots.
(Check linearity, normality, whether errors have a constant
variance, independent, outliers, missing important predictor
variables.)
1. Scatter plot: to see whether nonlinearity is present. Fit a
regression model to see whether the line fits data well. In
the following two plots, we find, (a) nonlinearity may exist,
(b) there may be some outliers.
pf3
pf4
pf5
pf8
pf9
pfa
pfd

Partial preview of the text

Download Project Examples on Regression Analysis - Study Guide | STA 108 and more Study Guides, Projects, Research Statistics in PDF only on Docsity!

Project Example

Problem: In a manufacturing study, the production times for 111 recent production runs were obtained. The table below lists for each run the production time in Hours (Y) and the production lot size (X). Do data analysis and summarize your findings. STEP 1: Plot the data, do the regression and the diagnostics. Explain what you can find from the plots. (Check linearity, normality, whether errors have a constant variance, independent, outliers, missing important predictor variables.)

  1. Scatter plot: to see whether nonlinearity is present. Fit a regression model to see whether the line fits data well. In the following two plots, we find, (a) nonlinearity may exist, (b) there may be some outliers.

0 5 10 15 20 25 30 0 5 10 15 20 scatter plot X Y

In this example, we can see Figure (a), there may be some outliers; Figure (b) & (d), they show a departure from the linear regression model that indicates the need for a curvilinear regression function. From figure (d), expect the three “Outliers”, the rest of residuals fall within a band. The plot in Figure (e) is nearly linear, which suggests agreement with normality.

0 2 4 boxplot of residuals

(c) (d)

For Y only, try transformation, calculate R-square. λ -1.5 -1 -0.5 0 0.5 1 1. R-squre

Choose the transformation which has maximum R-square: Thus we do transformation on Y and λ=1. STEP 3: For the transformed data, repeat STEP 1. Explain what you can find from the plots.

STEP 4: Summarize the findings, and conclusion. (e.g. regression function, ANOVA table, 95% confidence interval for β 1 , explain the relationship between Y and X; explain R- square)