Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit


Informative Title Name

STA304 - Assignment 3


Introduction

<Here you should have a few paragraphs of text introducing the problem, getting the reader interested/ready for the rest of the report.>

<Introduce terminology.>

<Highlight hypotheses.>

<Optional: You can also include a description of each section of this report as a last paragraph.>


Data

<Type here a paragraph introducing the data, its context and as much info about the data collection process that you know.>

<Type here a summary of the cleaning process (only add in stuff beyond my original gss_cleaning.R code). You only need to describe additional cleaning that you and your group did.> ]

<Here is a resource for grabbing the CES2019 data: https://awstringer1.github.io/sta238-book/section-short-tutorial-on-pulling-data-for-assignment-1.html#section-canadian-election-study>

<Remember, you may want to use multiple datasets here, if you do end up using multiple data sets, or merging the data, be sure to describe this in the cleaning process and be sure to discuss important aspects of all the data that you used.>

<Include a description of the important variables.>

<Include a description of the numerical summaries. Remember you can use r to use inline R code.>

<Include a clear description of the plot(s). I would recommend one paragraph for each plot.>


Methods

<Include some text introducing the methodology, maybe restating the problem/goal of this analysis.>


Model Specifics

<I will (incorrectly) be using a linear regression model to model the proportion of voters who will vote for Donald Trump. This is a naive model. I will only be using age, which is recorded as a numeric variable, to model the probability of voting for Donald Trump. The simple linear regression model I am using is:>

<Where y represents the . . . . represents. . . .>


Post-Stratification

<In order to estimate the proportion of voters. . . ..>

<To put math/LaTeX inline just use one set of dollar signs. Example: >

All analysis for this report was programmed using R version 4.0.2.


Results

<Here you present your results. You may want to put them into a well formatted table. Be sure that there is some text describing the results.>

<Note: Alternatively you can use the knitr::kable function to create a well formatted table from your code. See here: https://rmarkdown.rstudio.com/lesson-7.html.>

<Remember you can use r to use inline R code.>

<Include an explanation/interpretation of the visualizations. Make sure to comment on the appropriateness of the assumptions/results.>


Conclusions

<Here you should give a summary of the Hypotheses, Methods and Results>

<Highlight Key Results.>

<Talk about big picture.>

<Comment on any Weaknesses.>

<End with a concluding paragraph to wrap up the report.>


Bibliography

1. Grolemund, G. (2014, July 16) Introduction to R Markdown. RStudio. https://rmarkdown.rstudio. com/articles_intro.html. (Last Accessed: January 15, 2021)

2. Dekking, F. M., et al. (2005) A Modern Introduction to Probability and Statistics: Understanding why and how. Springer Science & Business Media.

3. Allaire, J.J., et. el. References: Introduction to R Markdown. RStudio. https://rmarkdown.rstudio. com/docs/. (Last Accessed: January 15, 2021)