Exercise 4-Inference

Exercise 4—Inference

Points: 10

  1. Using the California and Texas HW4 syntax files, complete the linked table or HW4-24 Table. Enter the appropriate coefficients using 3 decimal places.
  2. Based on the crosstabulation produced by the data entry syntax (lines 73-90) included in the California syntax file, how well would you say the September 2021 PPIC survey responses reflect the 2021 California recall election results?
    Column 1 entries are derived from the valid percentages using q5 from the PPIC survey:
    Column 2 results were obtained at:
    https://www.washingtonpost.com/elections/election-results/california/governor-recall/
    (before proceeding close but not save the small untitled data file created by this syntax).
  3. With the syntax used above as a model and referring to page 13 of The Economist YouGov data set Link, write and run the data entry syntax for Immigration by PartyID. Submit your syntax and report the appropriate measure of association and its associated p-value.

    For your own interest, you may also do the same with other items, such as those pertaining to the Hamas-Israel war on pp68-72. For additional items touching on immigration, consult the New York Times Siena data Link.