MATCH FILES /FILE = "F:\External Drive for PSPP Data\External Drive for PSPP Data\SelectedFields_20241112.sav" /FILE = "F:\GNU_PSPP\FloridaTotalsFiles\VoterIDParty_20241022.sav" /BY VoterID SAVE /OUTFILE = "F:\External Drive for PSPP Data\FloridaTotalsFiles\SelectedFieldsWithLastMonParty_20241112.sav" GET /FILE = "F:\External Drive for PSPP Data\FloridaTotalsFiles\SelectedFieldsWithLastMonParty_20241112.sav" DO IF ((Party20241112 = "DEM") OR (Party20241112 = "REP") OR (Party20241112 = "ASP") OR (Party20241112 = "BPP") OR (Party20241112 = "CPP") OR (Party20241112 = "CSV") OR (Party20241112 = "CPF") OR (Party20241112 = "ECO") OR (Party20241112 = "FFP") OR (Party20241112 = "NAT") OR (Party20241112 = "GRE") OR (Party20241112 = "IND") OR (Party20241112 = "JEF") OR (Party20241112 = "LPF") OR (Party20241112 = "PSL") OR (Party20241112 = "RFM") OR (Party20241112 = "NPA")). COMPUTE SelectedFields_20241112 = 1. ELSE COMPUTE SelectedFields_20241112 = 0. END IF. DO IF ((Party20241022 = "DEM") OR (Party20241022 = "REP") OR (Party20241022 = "ASP") OR (Party20241022 = "BPP") OR (Party20241022 = "CPP") OR (Party20241022 = "CSV") OR (Party20241022 = "CPF") OR (Party20241022 = "ECO") OR (Party20241022 = "FFP") OR (Party20241022 = "NAT") OR (Party20241022 = "GRE") OR (Party20241022 = "IND") OR (Party20241022 = "JEF") OR (Party20241022 = "LPF") OR (Party20241022 = "PSL") OR (Party20241022 = "RFM") OR (Party20241022 = "NPA")). COMPUTE VoterIDParty_20241022 = 1. ELSE COMPUTE VoterIDParty_20241022 = 0. END IF. DO IF (SelectedFields_20241112 = 1) AND (VoterIDParty_20241022 = 0). COMPUTE Oct2024EftReg = 1. ELSE COMPUTE Oct2024EftReg = 0. END IF. DO IF (SelectedFields_20241112 = 0) AND (VoterIDParty_20241022 = 1). COMPUTE Oct2024EftDeReg = 1. ELSE COMPUTE Oct2024EftDeReg = 0. END IF. DO IF (Party20241112 = "LPF") AND (Party20241022 = " "). COMPUTE Oct2024LPFEftReg = 1. ELSE COMPUTE Oct2024LPFEftReg = 0. END IF. DO IF (Party20241112 = " ") AND (Party20241022 = "LPF"). COMPUTE Oct2024LPFEftDeReg = 1. ELSE COMPUTE Oct2024LPFEftDeReg = 0. END IF. DO IF SelectedFields_20241112 = 1. DO IF Gender = "M". COMPUTE Oct2024MGender = 1. END IF. DO IF Gender = "F". COMPUTE Oct2024FGender = 1. END IF. DO IF Gender = "U". COMPUTE Oct2024UGender = 1. END IF. DO IF (Gender ~= "M" ) AND (Gender ~= "F" ) AND (Gender ~= "U"). COMPUTE Oct2024BGender = 1. END IF. DO IF Oct2024EftReg = 1. COMPUTE Oct2024EftRegMGender = Oct2024MGender. COMPUTE Oct2024EftRegFGender = Oct2024FGender. COMPUTE Oct2024EftRegUGender = Oct2024UGender. COMPUTE Oct2024EftRegBGender = Oct2024BGender. END IF. DO IF Oct2024LPFEftReg = 1. COMPUTE Oct2024LPFEftRegMGender = Oct2024MGender. COMPUTE Oct2024LPFEftRegMGender = Oct2024FGender. COMPUTE Oct2024LPFEftRegMGender = Oct2024UGender. COMPUTE Oct2024LPFEftRegMGender = Oct2024BGender. END IF. DO IF (Oct2024EftReg = 1) AND (BirthDate > DATE.MDY(01,01,1850)). COMPUTE Oct2024EftRegAge = DATEDIFF(DATE.MDY(10,16,2024),BirthDate,'days')/(365.25). END IF. DO IF (Oct2024LPFEftReg = 1) AND (BirthDate > DATE.MDY(01,01,1850)). COMPUTE Oct2024LPFEftRegAge = DATEDIFF(DATE.MDY(10,16,2024),BirthDate,'days')/(365.25). END IF. DO IF ((Party20241022 ~= "DEM") AND (Party20241022 ~= "REP") AND (Party20241022 ~= "LPF") AND (Party20241022 ~= "NPA" )). COMPUTE Party20241112 = "OTH". END IF. DO IF Party20241112 = "REP". COMPUTE REP = 1. END IF. DO IF Party20241112 = "DEM". COMPUTE DEM = 1. END IF. DO IF Party20241112 = "NPA". COMPUTE NPA = 1. END IF. DO IF Party20241112 = "LPF". COMPUTE LPF = 1. END IF. DO IF Party20241112 = "OTH". COMPUTE OTH = 1. END IF. DO IF (Party20241022= "REP") & (Party20241112 = "LPF"). COMPUTE REPtoLPF = 1. END IF. DO IF (Party20241022= "DEM") & (Party20241112 = "LPF"). COMPUTE DEMtoLPF = 1. END IF. DO IF (Party20241022= "NPA") & (Party20241112 = "LPF"). COMPUTE NPAtoLPF = 1. END IF. DO IF (Party20241022= "OTH") & (Party20241112 = "LPF"). COMPUTE OTHtoLPF = 1. END IF. DO IF (Party20241022= "LPF") & (PartY20241112 = "REP"). COMPUTE LPFtoREP = 1. END IF. DO IF (Party20241022= "LPF") & (PartY20241112 = "DEM"). COMPUTE LPFtoDEM = 1. END IF. DO IF (Party20241022= "LPF") & (PartY20241112 = "NPA"). COMPUTE LPFtoNPA = 1. END IF. DO IF (Party20241022= "LPF") & (PartY20241112 = "OTH"). COMPUTE LPFtoOTH = 1. END IF. DO IF (VoterStatus = "ACT"). COMPUTE Active = 1. END IF. DO IF (VoterStatus = "INA"). COMPUTE Inactive = 1. END IF. DO IF (VoterStatus ~= "ACT" ) AND (VoterStatus ~= "INA" ). COMPUTE BlankStatus = 1. END IF. DO IF (Active = 1) AND (Party20241112 = "LPF"). COMPUTE ActiveLPF = 1. END IF. DO IF (Inactive = 1) AND (Party20241112 = "LPF"). COMPUTE ActiveLPF = 1. END IF. DO IF (BlankStatus = 1) AND (Party20241112 = "LPF"). COMPUTE BlankStatusLPF = 1. END IF. SAVE /OUTFILE = F:\External Drive for PSPP Data\FloridaTotalsFiles\SelectedFieldsWithMergedMonthAndAnalisisData20241112.sav. SET FORMAT COMMA16.4 DESCRIPTIVES STATISTICS SUM MEAN /VARIABLES = SelectedFields_20241112 VoterIDParty_20241022 REP DEM NPA LPF OTH Oct2024EftReg Oct2024EftDeReg Oct2024LPFEftReg Oct2024LPFEftDeReg REPtoLPF DEMtoLPF NPAtoLPF OTHtoLPF LPFtoREP LPFtoDEM LPFtoNPA LPFtoOTH Active Inactive BlankStatus ActiveLPF InactiveLPF BlankStatusLPF Oct2024EftRegAge Oct2024LPFEftRegAge Oct2024MGender Oct2024FGender Oct2024UGender Oct2024BGender Oct2024EftRegMGender Oct2024EftRegFGender Oct2024EftRegUGender Oct2024EftRegBGender Oct2024LPFEftRegMGender Oct2024LPFEftRegFGender Oct2024LPFEftRegUGender Oct2024LPFEftRegBGender.