LINEST on specific non-adjacent columns

smeador

New Member
Joined
Nov 30, 2014
Messages
12
Hey guys,

So I am running a daily fantasy regression analysis and I need some help. I have found that certain criteria is better suited for predicting some player's performances than others. So I want to run a solver that will pick which criteria to use to maximize the R squared value.

I listed an example of what it might look like below. I will run binary cells along to top of each column, and I wish to include the columns that come up with a 1 on the top and ignore the columns that come up with a 0 on top. There will be parameters in place to avoid unreal R squared values, but that is not my current concern.

I cannot think of a formula, or a method to use LINEST with the left most column (Actual) as the Y variables and then use each column with a 1 over the top of it as the X variables. Again, columns that show up with a zero above them should not be used in the LINEST.

Thanks a lot,
Shawn

011101
ActualBaseVAverageCompVEaseMPGRest
44.141.7337641.3564335.95-0.3536.71
23.841.1651840.9419938.670.2536.21
27.441.1651842.5052834.95-0.3887236.21
3540.596642.5021833.44-0.0835.71
47.840.596641.6981333.70.635.70
46.340.596641.8878135.71-0.2635.71
36.941.1651844.8057737.040.636.20
37.841.7337639.54337.02222-0.1018136.74
38.841.3926144.9360837.10.06605836.43
40.840.7442939.3274637.2-0.637.351
49.734.5739.1041337.550.7730.40
33.840.0537.2545538.48-0.1935.41
3943.6239.5839.93-0.1736.41

<colgroup><col width="67" span="7" style="width:50pt"> </colgroup><tbody>
</tbody>
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

Forum statistics

Threads
1,215,694
Messages
6,126,250
Members
449,305
Latest member
Dalyb2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top