This is my full code. And this produces the Squared Multiple Correlations. proc contents data=ess1; run; Proc Freq Data = ESS1; Tables AGEA GNDR MARITAL HLPPPL TVTOT RLGDGR HAPPY; Run; Data ESS1; Set ESS1; HLPPPLRev = 8 - HLPPPL; Label HLPPPLRev = 'Hoe vaak mensen helpen'; Run; Proc Freq Data = ESS1; Tables HLPPPL HLPPPLRev; Run; Data ESS1; Set ESS1; GNDRdum = (GNDR = 1); IF GNDR <0 then GNDRdum = .; D1marital = (MARITAL = 2); If MARITAL <0 then D1marital = .; D2marital = (MARITAL = 3); If MARITAL <0 then D2marital = .; D3marital = (MARITAL = 4); If MARITAL <0 then D3marital = .; D4marital = (MARITAL = 5); If MARITAL <0 then D4marital = .; Label GNDRdum = 'Dummy Geslacht - Man' D1marital = 'Dummy BurgStaat – Uiteen' D2marital = 'Dummy BurgStaat - Gescheiden' D3marital = 'Dummy BurgStaat - Weduwe/weduwnaar' D4marital = 'Dummy BurgStaat - Nooit gehuwd'; Run; Proc Freq Data = ESS1; Tables GNDR GNDRdum; Run; Proc Freq Data = ESS1; Tables MARITAL D1marital D2marital D3marital D4marital; Run; Proc Calis Data = ESS1 kurtosis covariance modification toteff; Lineqs HAPPY = PV1V2 HLPPPLRev + PV1V3 TVTOT + PV1V4 RLGDGR + PV1V5 BLNCMIG + PV1V6 AGEA + PV1V7 GNDRDum + E1, HLPPPLRev = PV2V4 RLGDGR + E2, TVTOT = PV3V2 HLPPPLRev + PV3V6 AGEA + PV3V7 GNDRdum + E3, RLGDGR = PV4V7 GNDRdum + PV4V8 D1marital + PV4V9 D2marital + PV4V10 D3marital + PV4V11 D4marital + E4; STD BLNCMIG = VarV5, AGEA = VarV6, GNDRdum = VarV7, D1marital = VarV8, D2marital = VarV9, D3marital = VarV10, D4marital = VarV11, E1 = VarE1, E2 = VarE2, E3 = VarE3, E4 = VarE4; Cov BLNCMIG AGEA = CV5V6, BLNCMIG GNDRdum = CV5V7, BLNCMIG D1marital = CV5V8, BLNCMIG D2marital = CV5V9, BLNCMIG D3marital = CV5V10, BLNCMIG D4marital = CV5V11, AGEA GNDRdum = CV6V7, AGEA D1marital = CV6V8, AGEA D2marital = CV6V9, AGEA D3marital = CV6V10, AGEA D4marital = CV6V11, GNDRdum D1marital = CV7V8, GNDRdum D2marital = CV7V9, GNDRdum D3marital = CV7V10, GNDRdum D4marital = CV7V11, D1marital D2marital = CV8V9, D1marital D3marital = CV8V10, D1marital D4marital = CV8V11, D2marital D3marital = CV9V10, D2marital D4marital = CV9V11, D3marital D4marital = CV10V11; Var AGEA GNDRdum D1marital D2marital D3marital D4marital BLNCMIG HLPPPLRev TVTOT RLGDGR HAPPY; Run;
... View more