Humidity influences evaporation, as a result, the solvent balance of water-reducible paints during sprayout is affected by humidity. A study is conducted to examine the relationship between % humidity (X) and solvent evaporation by % weight (Y ). Summary statistics for the data are:
x = 1314.90 y = 235.70 xy = 11,824.44 x2 = 76,308.53 y2 = 2286.07 n = 25
Using these summary statistics:
Find the least-squares estimates βˆ0 and βˆ1.
Compute the 95% confidence intervals for β0 and β1.
Perform a α = 0.05 hypothesis test to determine if solvent evaporation is af- fected by humidity.
Compute the R2 for the least-squares line and comment on the results.
Data are located in the file spraydata.csv . Use MATLAB to plot the data and the fitted least-squares. Use fitlm() in MATLAB to perform the tasks and provide a printout of your results, comment on the differences between the results obtained using the summary statistics and those obtained via MATLAB.
Limit the assessment to TWO A4 sized pages, using 12pt font, and margins no smaller than 1 inch. The document should be formatted as a PDF file.
Relative Humidity,Solvent Evaporation
Referring to the Week 11 Workshop and the spraydata.csv file, in MATLAB perform the linear regression as follows:
Import the data from spraydata.csv
Create the X matrix and y vector.
Solve for the least squares estimate β.
Compare your results to those obtained in the Week 11 Workshop using the summary statistics and those obtained using fitlm() in MATLAB.
Be sure to include your functioning MATLAB code and the resultant output. Con- sider the system of first-order ODE’s:
y1′ =5y2−y1+y3, y2′ =3y1−y2+t2, y3′ =y3−ty2.
Write out explicitly the matrix-vector representation of this system
y(t+h) ≈ Fy(t)+g. Clearly define the elements of y′, y, F , and g.
Write an algorithm describing how this would be implemented to solve for y(t) given h and y(0).
Implement this algorithm in MATLAB to solve for y(1) given h = 0.1 and y(0) = (0, 0, 0)′.
Plot the results for y1, y2, and y3 versus time.
Limit the assessment to TWO A4 sized pages, using 12pt font, and margins
Is this question part of your Assignment?
We can help
Our aim is to help you get A+ grades on your Coursework.
We handle assignments in a multiplicity of subject areas including Admission Essays, General Essays, Case Studies, Coursework, Dissertations, Editing, Research Papers, and Research proposalsHeader Button Label: Get Started NowGet Started Header Button Label: View writing samplesView writing samples