Module # 3 data.frame

Assignment # 3
 This data set is based on the presidential election during 2016, where it outlined the name of the candidate, the source of the poll (ABC vs, CBS). Discuss your result in your blog. Important note, I made up this data, so this data does not reflect what really happened in the election.

> Name <- c("Jeb", “Donald”, "Ted”, “Marco” “Carly”, “Hillary”, “Berine”)

> ABC political poll results <- c(4, 62 51, 21, 2, 14, 15)

> CBS political poll results <- c(12, 75, 43, 19, 1, 21, 19) 


    This simulated dataset compares fictional polling results for seven presidential candidates from two sources: ABC and CBS. Overall, both polls identify Donald as the leading candidate, however, there are meaningful differences for several candidates. For example, Ted receives substantially higher support in the ABC poll than in the CBS poll, while Hillary and Bernie show stronger results in the CBS poll than in ABC.

    These differences are telling of how polling organizations can produce varying results even when measuring the same population. Factors such as sampling methods and question wording. Though this dataset is fictional, it effectively demonstrates how comparing multiple data sources can reveal variation and potential uncertainty in polling data.

Comments

Popular posts from this blog

Module # 4 Programming structure assignment

Assignment #10: Building Your Own R Package

Module # 8 Input/Output, string manipulation and plyr package