Least_square_regression_example - City 1 Atlanta 2 Boston 3...

This preview shows page 1 - 3 out of 3 pages.

CityCO (ppm)1 Atlanta4.10.0230.110.0192 Boston3.40.0290.080.033 Chicago8.30.0320.080.0754 Dallas3.50.0140.10.0475 Denver2.10.0160.080.0096 Detroit4.40.0240.080.0437 Houston4.20.0210.120.0318 Kansas city1.80.0170.090.0399 Los Angeles9.50.0440.110.0110 New York9.30.0380.090.04611 Philadelphia5.10.0280.10.02712 Pittsburg 2.40.0250.090.08613 San Francisco1.70.020.050.00714 Los Angeles2.40.0210.070.01115 Washington4.90.0230.090.034.473333O3 (ppm)PM10 (mg/m^3)SO2 (ppm)1234567891000.0050.010.0150.020.0250.030.0350.040.0450.05Concentration of pollutants in 15 U.S. cities COO3
CityCO (ppm)(xi-xbar)(yi-ybar)SSXYSSXSSYAtlanta4.10.023-0.373333-0.0020.0007470.1393784.0E-06Boston3.40.029-1.0733330.004-0.004293 1.1520441.6E-05Chicago8.30.0323.8266670.0070.02678714.643384.9E-05Dallas3.50.014-0.973333-0.0110.0107070.9473781.2E-04Denver2.10.016-2.373333-0.0090.021365.6327118.1E-05Detroit4.40.024-0.073333-0.0017.33E-005 0.0053781.0E-06Houston4.20.021-0.273333-0.0040.001093 0.0747111.6E-05r0.868793Kansas city1.80.017-2.673333-0.0080.0213877.1467116.4E-05Los Angeles9.50.0445.0266670.0190.09550725.267383.6E-04New York9.30.0384.8266670.0130.06274723.296711.7E-04Philadelphia5.10.0280.6266670.0030.001880.3927119.0E-06Pittsburg 2.40.025-2.073333004.2987110.0E+00San Francisco1.70.02-2.773333-0.0050.0138677.6913782.5E-05Los Angeles2.40.021-2.073333-0.0040.0082934.2987111.6E-05Washington4.90.0230.426667-0.002-0.000853 0.1820444.0E-06Average4.4733330.025S0.259395.169330.000936O3 (ppm)
Beta 00Beta 10Obs. No.Hydrocarbon LevelPurityFitted value of purity Obs. No.Hydrocarbon LevelPurity

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture