3.2 Parameter Estimation, Linear Regression, Correlation, and Queuing Models
Key Takeaways
The least-squares slope is b = [nΣxy − ΣxΣy] / [nΣx² − (Σx)²], and the fitted line always passes through (x̄, ȳ).
The coefficient of determination R² is the fraction of the variation in y explained by the regression line.
A correlation coefficient near ±1 shows a strong linear relationship, but correlation alone does not prove causation.
In an M/M/1 queue with arrival rate λ and service rate μ, utilization is ρ = λ/μ and must be below 1 for a stable queue.
Little's law L = λW links the average number in a system to the arrival rate and the average time in the system.
3.2 Parameter Estimation, Linear Regression, Correlation, and Queuing Models
The AMSTHC TOS area "Engineering Data Analysis" has five competencies:
- Describe data and data sets.
- Identify important discrete and continuous distributions.
- Estimate parameters.
- Interpret a linear regression equation.
- Apply stochastic processes and queuing models.
Section 3.1 covers descriptive statistics, the main distributions and confidence intervals. This section completes the area.
Estimating Parameters
A parameter describes a population, such as the true mean strength of a concrete supply. A statistic computed from a sample estimates it.
| Parameter | Point estimator | Property |
|---|---|---|
| Mean | Sample mean | Unbiased |
| Variance | Unbiased because of the divisor | |
| Proportion | Unbiased | |
| Poisson rate | Observed count ÷ observation time | Maximum-likelihood estimate |
An interval estimate adds a margin of error, . The sample size needed to estimate a mean within at confidence is:
Example. Estimate mean daily traffic within vehicles at 95% confidence when . Then , so count 97 days. Always round up.
Simple Linear Regression
To fit by least squares, minimize :
Because , the line always passes through the point .
Correlation coefficient:
Coefficient of determination: for simple linear regression. It is the fraction of the variation in explained by . The standard error of estimate is .
Worked example: strength versus curing age
Five concrete cylinder pairs give:
| (age, days) | 3 | 7 | 14 | 21 | 28 |
|---|---|---|---|---|---|
| (strength, MPa) | 12 | 18 | 23 | 26 | 28 |
Sums: , , , , , with , and .
The line explains about 92% of the variation in strength. As a check, the predicted strength at days is .
Tip
A computed correlation outside always means one of the sums is wrong. Recompute and first; they are the sums most often mis-keyed.
Warning
Strength gain with age is really curved: it levels off. A straight line fits well over 3 to 28 days but should not be extrapolated to 90 days. Regression describes association within the data range; it does not prove cause or justify extrapolation.
Stochastic Processes and Arrivals
A stochastic process is a sequence of random events in time. Two models dominate engineering applications:
- Poisson arrivals. Vehicles reaching a toll plaza, or trucks reaching a batch plant, arrive independently at an average rate . The number arriving in time is Poisson: .
- Exponential headways. The time between Poisson arrivals is exponential: . This is the probability that a gap is long enough for a pedestrian or a merging driver.
Example. At vehicles/h veh/s, the probability of a gap of at least is .
A Markov chain models systems that move between states with fixed transition probabilities. For example, a pavement section's condition rating moves from good to fair to poor from year to year. Multiplying a state vector by the transition matrix gives the next year's distribution.
Queuing Models (M/M/1)
An M/M/1 queue has Poisson arrivals at rate , exponential service at rate , and one server. With utilization :
| Measure | Formula |
|---|---|
| Probability system is empty | |
| Probability of in system | |
| Average number in system | |
| Average number in queue | |
| Average time in system | |
| Average waiting time in queue |
Little's law, and , holds for almost any queue in steady state.
Worked example: a toll booth
Cars arrive at /h, and one booth serves /h.
- .
- cars.
- cars.
- .
- .
Check with Little's law: .
If arrivals rise to /h, then and minutes. Delay grows explosively as , which is why facilities are designed well below capacity.
Trucks arrive at a single loading point at 10 per hour (Poisson) and each loading takes an exponentially distributed time averaging 5 minutes. What is the average time a truck spends waiting in the queue before loading begins?
25 minutes
10 minutes
5 minutes
30 minutes
A regression of settlement on fill height gives a correlation coefficient r = 0.90. What fraction of the variation in settlement is explained by fill height?
10%
95%
81%
90%
How many days of traffic counts are needed to estimate mean daily volume within ±150 vehicles at 95% confidence if the standard deviation is about 900 vehicles?
36
12
139
138
Sections you finish are checked off in the contents.