* Encoding: windows-1250. DATASET ACTIVATE DataSet1. * Generalized Linear Models. GENLIN mat99 BY cj99 (ORDER=ASCENDING) /MODEL cj99 INTERCEPT=YES DISTRIBUTION=NORMAL LINK=IDENTITY /CRITERIA SCALE=MLE COVB=MODEL PCONVERGE=1E-006(ABSOLUTE) SINGULAR=1E-012 ANALYSISTYPE=3(WALD) CILEVEL=95 CITYPE=WALD LIKELIHOOD=FULL /EMMEANS TABLES=cj99 SCALE=ORIGINAL COMPARE=cj99 CONTRAST=HELMERT PADJUST=LSD /MISSING CLASSMISSING=EXCLUDE /PRINT CPS DESCRIPTIVES MODELINFO FIT SUMMARY SOLUTION LMATRIX. ***************************************************************************************************- *Centrování. *********************************************************************************************************. COMPUTE selfeC=selfe-3.058621. COMPUTE effiC=effi-2.743662. EXECUTE. REGRESSION /DEPENDENT deprese /METHOD=ENTER selfe effi. REGRESSION /DEPENDENT deprese /METHOD=ENTER selfeC effiC. **************************************************************. *Kategorické. *************************************************************. RECODE POHLAVI (1=1) (2=0) INTO MUZ. EXECUTE. FREQ MUZ. T-TEST GROUPS=pohlavi(1 2) /VARIABLES=deprese. REGRESSION /DEPENDENT deprese /METHOD=ENTER muz. *Dvojnásobek. RECODE POHLAVI (1=2) (2=0) INTO MUZ2. EXECUTE. REGRESSION /DEPENDENT deprese /METHOD=ENTER muz2. *Polytomie. freq vzdel_ma. recode vzdel_ma (1=1) (2=0) (3=0) (4=0) into vm_zak. recode vzdel_ma (1=0) (2=1) (3=0) (4=0) into vm_vyu. recode vzdel_ma (1=0) (2=0) (3=1) (4=0) into vm_str. execute. *Vysokoškolské je zakódováno jako 0 ve všech dummy proměnných zároveň. freq vm_zak vm_vyu vm_str. REGRESSION /DEPENDENT deprese /METHOD=ENTER vm_zak vm_vyu vm_str. **********************************************. *Moderace. ******************************************. RECODE POHLAVI (1=1) (2=0) INTO MUZ. EXECUTE. COMPUTE VOxMUZ=warm_o*MUZ. EXECUTE. REGRESSION /DEPENDENT selfe /METHOD=ENTER warm_o MUZ VOxMUZ. *************************************************--. *Mediace. *****************************************************-. REGRESSION /DEPENDENT deprese /METHOD=ENTER selfe. REGRESSION /DEPENDENT neshody /METHOD=ENTER selfe. REGRESSION /DEPENDENT deprese /METHOD=ENTER selfe neshody. REGRESSION /DESCRIPTIVES MEAN STDDEV CORR SIG N /MISSING LISTWISE /STATISTICS COEFF OUTS CI(95) R ANOVA /CRITERIA=PIN(.05) POUT(.10) /NOORIGIN /DEPENDENT deprese /METHOD=ENTER MUZ /SCATTERPLOT=(*ZRESID ,*ZPRED) /RESIDUALS HISTOGRAM(ZRESID) NORMPROB(ZRESID).