Question: Pick from excel sheet and apply regular regression

1) Say I have an Excel sheet with first column with my dependent variable values Y

2) Remaining columns to the left say some maximum 30 columns are independent variable

One thing is to import the excel columns to maple matrix

Then matrix will have first column dependent variable

Another's independent variables

3) Now i need to pick 2 independent variables columns and ( the dependent variable columns say Y which is the first column)

4) apply the normal regular MLR regression on it  then check if R^2 is good the p vaule are below 0.05

5) I print the column names of those columns

The first row will be the header column which has the variable name.

Kind help someone please kind help your help will be great greatly acknowledged 

Please Wait...