Temperature (K) Pressure (bar) 298 0.031417 299 0.033342 300 0.035368 301 0.037501 302 0.039745 303 0.042105 304 0.044586 305 0.047193 306 0.049932 307 0.052807 308 0.055825 309 0.058991 310 0.062311 311 0.065792 312 0.06944 313 0.073261 314 0.077262 315 0.081451 316 0.085834 317 0.090418 318 0.095212 319 0.10022 320 0.10546 321 0.11093 322 0.11664 323 0.1226 324 0.12882 325 0.13531 326 0.14208 327 0.14914 328 0.15649 329 0.16415 330 0.17213 331 0.18044 332 0.18909 333 0.19808 334 0.20744 335 0.21718 336 0.2273 337 0.23781 338 0.24874 339 0.26009 340 0.27188 341 0.28411 342 0.29681 343 0.30999 344 0.32366 345 0.33783 346 0.35253 347 0.36776 348 0.38354 349 0.39989 350 0.41682 351 0.43435 352 0.45249 353 0.47127

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question
You are given the vapor pressure data (P) for water as a function of temperature (T) in water_P.csv file.
We would like to fit a model of the form
В
In P = A -
T
using linear regression technique. Find the constants A and B. Also draw a histogram of the errors between
the model predictions and actual values and comment on the nature of these errors. Share the Google Colab
that you use for the problem.
Transcribed Image Text:You are given the vapor pressure data (P) for water as a function of temperature (T) in water_P.csv file. We would like to fit a model of the form В In P = A - T using linear regression technique. Find the constants A and B. Also draw a histogram of the errors between the model predictions and actual values and comment on the nature of these errors. Share the Google Colab that you use for the problem.
Temperature (K) Pressure (bar)
298
0.031417
299
0.033342
300
0.035368
301
0.037501
302
0.039745
303
0.042105
304
0.044586
305
0.047193
306
0.049932
307
0.052807
308
0.055825
309
0.058991
310
0.062311
311
0.065792
312
0.06944
313
0.073261
314
0.077262
315
0.081451
316
0.085834
317
0.090418
318
0.095212
319
0.10022
320
0.10546
321
0.11093
322
0.11664
323
0.1226
324
0.12882
325
0.13531
326
0.14208
327
0.14914
328
0.15649
329
0.16415
330
0.17213
331
0.18044
332
0.18909
333
0.19808
334
0.20744
335
0.21718
336
0.2273
337
0.23781
338
0.24874
339
0.26009
340
0.27188
341
0.28411
342
0.29681
343
0.30999
344
0.32366
345
0.33783
346
0.35253
347
0.36776
348
0.38354
349
0.39989
350
0.41682
351
0.43435
352
0.45249
353
0.47127
Transcribed Image Text:Temperature (K) Pressure (bar) 298 0.031417 299 0.033342 300 0.035368 301 0.037501 302 0.039745 303 0.042105 304 0.044586 305 0.047193 306 0.049932 307 0.052807 308 0.055825 309 0.058991 310 0.062311 311 0.065792 312 0.06944 313 0.073261 314 0.077262 315 0.081451 316 0.085834 317 0.090418 318 0.095212 319 0.10022 320 0.10546 321 0.11093 322 0.11664 323 0.1226 324 0.12882 325 0.13531 326 0.14208 327 0.14914 328 0.15649 329 0.16415 330 0.17213 331 0.18044 332 0.18909 333 0.19808 334 0.20744 335 0.21718 336 0.2273 337 0.23781 338 0.24874 339 0.26009 340 0.27188 341 0.28411 342 0.29681 343 0.30999 344 0.32366 345 0.33783 346 0.35253 347 0.36776 348 0.38354 349 0.39989 350 0.41682 351 0.43435 352 0.45249 353 0.47127
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman