Current location - Education and Training Encyclopedia - Graduation thesis - If the independent variables are age and gender, and the dependent variables are two, how to process the data by correlation analysis and regression analysis?
If the independent variables are age and gender, and the dependent variables are two, how to process the data by correlation analysis and regression analysis?
Data processing should be done well before analysis, generally dealing with missing values (method Baidu "How to deal with missing values").

If you do correlation analysis, you can directly use SPSS, click Analysis-Correlation-Bivariate, add independent variables and dependent variables, and then choose Pearson correlation Pearson correlation analysis and bilateral.

If you do regression analysis, click Analysis-Regression-Linear (if you can't do this, you can do it with curves), fill in the independent variables and dependent variables (if you want to discuss their correlation, you can try it with control variables), then select the method step by step, and click Statistics: select model fitting, descriptive and * * * linear diagnosis; Ignore drawing (generally unnecessary); Click Save and select two non-standardized and DfBeta and DfFit;; Select the option, in which "include constants in the equation" can try to point and not point, once each, click OK and see the result.