Skip to content

Commit

Permalink
2510 fixes #25
Browse files Browse the repository at this point in the history
  • Loading branch information
mvanrongen committed Oct 25, 2024
1 parent c13d2f4 commit efdd5f4
Show file tree
Hide file tree
Showing 14 changed files with 7 additions and 5 deletions.

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion materials/cs3_practical_linear-regression.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ We will use the data from the file `data/CS3-statedata.csv` data set for this ex
Perform a linear regression on the variables `life_exp` and `murder` and do the following:

1. Find the value of the slope and intercept coefficients.
2. Determine if the slope is significantly different from zero (i.e. is there a relationship between the two variables)
2. Determine if the slope is significantly different from zero. In other words, is there a relationship between the two variables? (hint: think about which variable is your response and predictor)
3. Produce a scatter plot of the data with the line of best fit superimposed on top.
4. Produce diagnostic plots and discuss with your (virtual) neighbour if you should have carried out a simple linear regression in each case

Expand Down Expand Up @@ -557,6 +557,8 @@ And after all of that we find that the murder rate is a statistically significan

Now let's investigate the relationship between the proportion of High School Graduates a state has (`hs_grad`) and the mean number of days below freezing (`frost`) within each state.

Again, think about which variable is your response and predictor.

::: {.callout-answer collapse="true"}
## Answer

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.

Large diffs are not rendered by default.

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.
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 efdd5f4

Please sign in to comment.