Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.

Commit

Permalink
Merge pull request #37 from xiaoyuanf/master
Browse files Browse the repository at this point in the history
added model to the final report
  • Loading branch information
xiaoyuanf authored Mar 17, 2020
2 parents 4914e7e + 76e65ad commit ba5561b
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 9 deletions.
9 changes: 6 additions & 3 deletions docs/finalreport.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,16 @@ The purpose of the line chart was to show the change of `PM2.5` concentration ac
lm <- readRDS(file=here::here("docs", "model.rds"))
tidy(lm)
```
```{r}
plot(lm)
```

Judging by the plots, we can tell that this model has huge residuals and cannot predict pm2.5 well.


## Results (placeholder, will be adjusted later)

## Results

In a nutshell, we find that `PM2.5` concentration is more likely to change with time instead of meteorological conditons, which is rather surprising as previous studies have shown correlation between `PM2.5` and weather variables. Our first finding is that the correlations between dew point (DEWP), temperature (TEMP) or pressure (PRES) and `PM2.5`concentration are rather weak (Figure 1), so the meteorological conditions can hardly predict the `PM2.5` concentration.
In a nutshell, we find that `PM2.5` concentration is more likely to change with time instead of meteorological conditions, which is rather surprising as previous studies have shown correlation between `PM2.5` and weather variables. Our first finding is that the correlations between dew point (DEWP), temperature (TEMP) or pressure (PRES) and `PM2.5`concentration are rather weak (Figure 1), so the meteorological conditions can hardly predict the `PM2.5` concentration.

In addition to the meteorological conditions studied above, wind is also one of the important factors that can influence the formation of `PM2.5`. According to Figure 2, `PM2.5` concentration seems to have a similar range for all wind directions; and the pollution is less serious when the wind comes from northwest and southeast.

Expand Down
11 changes: 7 additions & 4 deletions docs/finalreport.html

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions docs/finalreport.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,18 @@ tidy(lm)
## 7 cbwdSE 0.435 1.10 0.397 6.92e- 1
```

```r
plot(lm)
```

![](finalreport_files/figure-html/unnamed-chunk-4-1.png)<!-- -->![](finalreport_files/figure-html/unnamed-chunk-4-2.png)<!-- -->![](finalreport_files/figure-html/unnamed-chunk-4-3.png)<!-- -->![](finalreport_files/figure-html/unnamed-chunk-4-4.png)<!-- -->

Judging by the plots, we can tell that this model has huge residuals and cannot predict pm2.5 well.


## Results
## Results (placeholder, will be adjusted later)

In a nutshell, we find that `PM2.5` concentration is more likely to change with time instead of meteorological conditons, which is rather surprising as previous studies have shown correlation between `PM2.5` and weather variables. Our first finding is that the correlations between dew point (DEWP), temperature (TEMP) or pressure (PRES) and `PM2.5`concentration are rather weak (Figure 1), so the meteorological conditions can hardly predict the `PM2.5` concentration.
In a nutshell, we find that `PM2.5` concentration is more likely to change with time instead of meteorological conditions, which is rather surprising as previous studies have shown correlation between `PM2.5` and weather variables. Our first finding is that the correlations between dew point (DEWP), temperature (TEMP) or pressure (PRES) and `PM2.5`concentration are rather weak (Figure 1), so the meteorological conditions can hardly predict the `PM2.5` concentration.

In addition to the meteorological conditions studied above, wind is also one of the important factors that can influence the formation of `PM2.5`. According to Figure 2, `PM2.5` concentration seems to have a similar range for all wind directions; and the pollution is less serious when the wind comes from northwest and southeast.

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ba5561b

Please sign in to comment.