We combine ideas from:

to explore weights for the following portfolio.

Vanguard Stock Sectors and Treasury Bonds

Name
VOXVanguard Communication Services ETF
VCRVanguard Consumer Discretionary ETF
VDCVanguard Consumer Staples ETF
VDEVanguard Energy ETF
VFHVanguard Financials ETF
VHTVanguard Health Care ETF
VISVanguard Industrials ETF
VGTVanguard Information Technology ETF
VAWVanguard Materials ETF
VNQVanguard Real Estate ETF
VPUVanguard Utilities ETF
BILSPDR Bloomberg 1-3 Month T-Bill ETF
IEFiShares 7-10 Year Treasury Bond ETF
IEIiShares 3-7 Year Treasury Bond ETF
SHYiShares 1-3 Year Treasury Bond ETF
TIPiShares TIPS Bond ETF
TLTiShares 20+ Year Treasury Bond ETF

Weights are generated via the following steps:

  1. Calibration data is identical to that in the first reference above.
  2. Choose a trade direction (long only here), generate 25000 sets of random weights (normalized).
  3. For each set of weights, simulate trades for 210 days, rebalancing each quarter, to generate a time series.
  4. Transform each time series into arrays of dual moving averages and implement the same robust scaler used in 1 (this was done in the first reference above for each asset in the portfolio).

Here we generate two sets of weights.

First, we match the transformed time series with calibration data using 50 nearest neighbors. Then we choose the best and worst 63 day projected: expectancy, 50th percentile percent return, long win percent.

Best and Worst 63 Day Projections

VOXVCRVDCVDEVFHVHTVISVGTVAWVNQVPUBILIEFIEISHYTIPTLT10th Pctl20th Pctl30th Pctl40th Pctl50th Pctl60th Pctl70th Pctl80th Pctl90th PctlExpectancyUp %Down %Median UpMedian Down
0.12860.12320.06690.00350.01230.05870.12980.08020.00790.04020.01890.10240.01610.04820.14430.00630.0127-1.0876-0.36880.37641.81993.3636.40318.28978.976513.12525.617474.026.07.841-0.7113
0.13010.01190.00790.0460.01690.06820.07080.11780.10210.07320.04850.01730.05310.06620.00430.1170.0485-8.2174-4.3383-3.5372-2.6412-1.5049-0.6941-0.04621.23034.232-1.937630.070.01.617-3.461
0.14270.10610.12180.0030.00190.12570.14480.13510.00640.02280.01560.00810.05010.03250.0060.03470.0427-3.2925-0.55391.27873.00535.2036.1817.38169.368412.82394.505276.024.06.6167-2.1814
0.03510.00550.01690.15350.09990.00120.11020.04090.11350.14990.01810.02940.11850.00190.0630.0190.0234-6.4614-4.3498-3.5813-2.9341-2.1418-1.55640.86522.22124.8432-1.078534.066.03.2674-3.3172
0.12920.12560.04040.03480.0320.08550.01850.11530.06420.01380.08120.04730.10580.08680.00670.01220.0007-0.74020.17981.65882.80164.25835.33937.32948.813415.39444.194682.018.05.335-1.0005
0.00330.02420.04260.00450.00170.06350.04650.04270.07680.07710.02810.04980.11230.11430.06510.13010.1173-3.9979-2.4309-1.9444-1.2286-0.7678-0.5412-0.18530.13962.2201-0.545526.074.02.081-1.4683

Second, we want to examine a broad range of weights. We do this by applying K-Means with 50 clusters to the 25000 sets of weights. The weight closest to its centroid is extracted and we present projections in the table below.

K-Means Weights and Projections

VOXVCRVDCVDEVFHVHTVISVGTVAWVNQVPUBILIEFIEISHYTIPTLT10th Pctl20th Pctl30th Pctl40th Pctl50th Pctl60th Pctl70th Pctl80th Pctl90th PctlExpectancyUp %Down %Median UpMedian DownCluster Number
0.03490.08080.04480.07710.03930.04830.07550.04360.06350.07330.03180.07040.09840.02150.06340.07910.0542-4.6346-2.9863-2.3276-1.1728-0.66210.01940.29130.89711.6682-1.033542.058.00.8121-2.36990
0.03420.0450.07270.04230.04040.07170.090.06390.0720.04760.09910.03490.06610.04040.03960.06040.0796-2.8931-1.546-1.0443-0.59920.40920.87611.62782.44995.18760.429456.044.01.9007-1.4431
0.09410.06620.1070.01750.05460.03440.0450.05670.07970.08670.09240.05420.02550.05420.03870.02660.0664-4.4649-2.558-1.693-0.38470.11751.51193.89954.47596.25461.083554.046.04.0843-2.43932
0.07070.06560.02240.07830.04920.08560.05220.06750.02660.08440.01720.0690.08060.03560.07860.03760.0788-4.4649-2.2082-1.1713-0.6602-0.24510.0820.57341.54815.3843-0.155746.054.01.4418-1.51653
0.07050.0710.02640.04350.0760.05730.06280.05310.06850.06240.06380.08040.07810.07380.05290.01330.0461-4.6854-3.1498-2.2208-1.1888-0.49520.11491.46613.25446.25460.14646.054.03.1356-2.40074
0.07850.06560.08890.06350.0280.0240.04890.05720.09740.0890.04240.0380.05340.08620.02660.07770.0347-4.2993-2.8131-2.0351-0.20320.51251.56913.32675.45888.92740.866758.042.03.4893-2.7555
0.0810.0680.0690.05460.05090.050.06940.06480.05670.06760.09020.06670.06190.03280.02220.01640.0778-5.0649-3.5374-2.2208-0.25330.20011.51193.32674.44987.04010.680856.044.03.6849-3.14256
0.05070.05510.09320.09360.07210.08070.07270.07870.0430.06580.01030.00090.03220.09350.06630.05830.033-5.1466-3.691-2.9554-1.6304-0.53810.67792.22783.78487.3372-0.200448.052.03.3732-3.49927
0.07130.05810.07250.01980.05290.07950.08320.07320.07980.03760.0170.04060.07640.05970.070.02990.0785-5.0649-2.8131-2.1858-0.72690.06741.11293.89954.37645.7051.035952.048.04.1957-2.38718
0.05770.0670.04230.04730.0780.02280.08170.06170.04030.00890.06310.08170.08130.06550.07050.06690.0632-3.5-2.3215-1.4471-0.7623-0.38810.02420.29131.08242.2555-0.455544.056.00.8858-1.50949
0.08540.06780.080.0520.08750.02780.08280.0450.06960.02510.0630.04260.0620.04660.0530.06040.0493-5.2531-4.1949-2.9736-1.7830.01780.89531.78663.78888.3424-0.136550.050.03.2571-3.530110
0.0150.02860.09430.0470.0630.0560.07280.09960.06150.05190.05360.0830.0890.03620.08770.02880.032-2.8931-1.5096-1.0898-0.6326-0.05180.220.80321.48852.0853-0.044450.050.01.2375-1.326411
0.06830.03230.04930.05960.08540.06690.06640.02580.10030.02180.06010.03140.05530.06450.06150.09230.059-3.8539-3.0278-1.3466-0.59920.23540.62791.49282.11555.9416-0.400756.044.01.5381-2.868212
0.07790.08070.04350.07360.05760.08570.00280.06030.04660.07530.07870.0850.01760.04410.0610.06320.0464-4.6854-2.3277-1.3099-0.61230.04350.31241.33392.73276.2546-0.174154.046.01.5371-2.182813
0.02650.0110.06770.02940.05410.0410.11250.03890.08150.08940.05360.05530.03720.09630.07380.05430.0776-4.0519-2.3301-1.9168-1.09260.23191.08752.80483.71045.32540.707954.046.03.2528-2.279614
0.06750.07590.07880.02990.08150.06620.03810.03980.05290.06210.06930.03620.0750.04340.0280.07740.0778-2.8931-2.0494-1.2248-0.63260.04350.32110.80321.60662.673-0.201554.046.00.9723-1.579415
0.05190.08830.04160.06910.06660.06790.02810.06060.07910.01980.07490.04290.06470.04970.0520.06110.0816-3.0888-2.3277-1.1713-0.6602-0.24510.11490.56271.29841.8624-0.36548.052.00.8922-1.525416
0.0260.02330.07960.07020.09440.04260.09450.07930.04170.05020.04080.02270.08390.06310.06130.0920.0344-4.6854-3.5495-2.51-1.2308-0.6621-0.17740.21870.90031.6682-1.136740.060.01.0325-2.582817
0.03190.1120.08020.09170.06250.06240.05460.09340.0360.03510.04650.02380.08850.05190.01470.04420.0707-5.1466-4.2077-2.8698-1.783-0.9244-0.06940.5352.18764.0298-0.754638.062.02.5091-2.75518
0.0880.01690.05130.05960.07270.07160.07020.06570.05670.07110.02730.03050.0720.07940.05440.04830.0643-4.6854-2.8063-1.2846-0.6602-0.09560.11490.57341.48854.3443-0.495948.052.01.0733-1.944519
0.02990.03870.08780.02210.050.07880.0710.01840.05720.05810.09120.07740.03590.07360.0590.07280.0781-4.6409-3.3493-1.8406-1.0791-0.44351.30492.13523.02254.6864-0.241146.054.02.7155-2.759720
0.08660.05260.06160.06430.02370.02730.03580.09480.0330.05190.02990.09390.02150.06350.08430.08440.0909-3.7963-3.0334-1.6334-1.2621-0.6436-0.06130.49721.62222.3912-0.321140.060.01.709-1.674521
0.03980.07440.07220.06320.07740.06110.07650.07460.05090.05040.07150.07340.02180.03020.0180.07650.068-5.1169-4.1949-3.0593-2.2335-1.10550.48521.57073.6017.2739-0.399646.054.03.2571-3.514522
0.10070.09890.03960.03230.05410.07080.06270.07870.02090.00940.04030.05680.04410.09170.04460.07960.0748-7.085-3.8227-2.2666-1.343-0.2517-0.03771.53034.12895.17190.288740.060.04.1957-2.315923
0.07390.05280.06510.06630.07870.02980.0590.03820.05580.07290.01430.05360.08050.07750.07730.03120.073-4.6346-3.1295-2.3368-1.1728-0.66210.01940.29130.89711.6682-1.051342.058.00.8121-2.400724
0.06270.06140.08020.02890.06880.0290.05140.05140.09290.04550.08320.03920.03010.08710.00130.0980.0888-3.0888-2.168-1.4234-0.66020.04350.32110.86011.78872.673-0.266654.046.01.2375-2.032325
0.07270.03720.03670.03310.02320.08250.03240.08560.05470.03040.09350.06430.05860.07380.08170.08780.0518-2.9108-1.8221-1.2618-0.12720.47640.88841.45012.80694.9920.144456.044.01.6702-1.797626
0.06040.03790.06780.07030.04630.04470.07680.07360.07760.04120.08160.08720.0440.04150.05880.03460.0556-4.6854-2.3277-1.3099-0.61230.01950.221.00142.11096.2546-0.107452.048.01.5299-1.881127
0.08360.08040.0780.08860.00510.07610.06560.07850.03210.06220.07670.06180.03930.04850.0710.04850.0039-8.951-4.4103-3.4931-2.2596-0.9244-0.27840.5352.18764.0298-1.080936.064.02.8831-3.310728
0.06430.05290.05560.05520.03810.03720.03730.02790.02830.10390.07690.09160.09080.03690.06930.09670.037-3.795-2.2845-1.7282-1.1464-0.01040.46821.70183.05684.99410.070250.050.02.3091-2.168729
0.04650.05070.04350.0630.05570.09830.06640.10270.04050.08010.00950.06460.01230.03740.05020.07560.1028-5.0649-3.1425-2.2208-0.74780.06220.70093.28384.31366.25460.77152.048.03.9122-2.631930
0.07620.09240.02640.04940.05250.03510.0880.02910.06380.08960.03920.04250.03990.07510.0740.08970.037-5.0531-3.5374-2.3484-1.19260.01780.70091.62673.56757.2739-0.122950.050.02.5091-2.75531
0.05860.01950.07460.03610.06110.08580.02750.07420.0830.05680.06640.06010.07110.01990.06610.08240.0568-3.551-2.0494-1.4234-0.65610.28250.80451.50082.31415.15070.140954.046.01.6673-1.650932
0.03150.05390.0430.04220.07960.06460.01750.08590.09070.07510.07490.02340.02850.07530.07620.08320.0547-3.0875-2.0878-1.2248-0.66020.01950.31240.80321.48852.2878-0.162652.048.01.1049-1.535833
0.05120.06550.02110.05560.07790.03790.0080.04440.08570.07440.02890.10330.02440.1030.09070.07180.0561-3.5009-2.1789-1.0879-0.59920.21790.58190.89161.6893.163-0.257954.046.01.2375-2.013334
0.04160.02820.08910.06920.05160.08840.07630.03080.05730.07820.02350.08880.01160.05680.0730.05250.0833-4.2315-2.6969-1.9648-1.0230.24970.63841.69993.05015.3621-0.135856.044.01.7791-2.57335
0.01380.06980.06430.08840.10220.00760.03270.08760.07880.09390.05690.08350.02470.04550.0590.02780.0637-4.4893-3.3598-2.3693-1.1926-0.23680.70091.57662.51345.4929-0.494848.052.02.015-2.811536
0.0650.08490.05160.0510.04610.01040.07390.0450.08280.04860.03750.06760.09270.06250.07280.05290.0547-4.4649-2.2082-1.0401-0.38470.04350.49231.17823.92125.71890.071652.048.01.586-1.569137
0.05460.0630.01490.08870.04680.04290.06660.06710.03830.07780.05810.10010.07720.04130.03910.03840.0849-4.462-2.4735-1.2945-0.7623-0.23680.11490.56271.02841.8624-0.601848.052.00.8528-1.944538
0.06180.04020.08090.03980.09610.04130.05370.05520.08630.02260.09270.06030.0820.05810.03710.03990.0519-3.8539-2.9863-1.5649-1.0582-0.60250.0820.56271.29842.1236-0.677946.054.01.2375-2.309539
0.07740.08460.09580.03310.05210.04240.09120.05670.04110.06520.0880.04080.07630.05260.04120.02750.0341-5.2401-3.6617-2.4601-1.3638-0.06930.6292.22784.24247.27390.146648.052.03.6849-3.119440
0.03340.07890.03980.06790.04930.03710.0570.03330.06960.08710.03910.05240.07080.08040.08970.05640.0578-3.5009-2.2445-1.3466-0.63260.11680.48620.93971.6892.6701-0.249252.048.01.3879-2.022841
0.06010.06310.07050.05380.05260.06960.03840.09170.07930.03640.04090.08190.07080.02340.05160.09220.0237-5.2401-4.2071-2.4601-1.36380.01781.11293.32675.08678.34240.214750.050.03.944-3.514542
0.03250.07760.08390.07890.07050.07670.07830.01450.02270.03210.09480.07320.07470.04850.04770.06250.0307-3.8741-2.9051-1.9648-0.78030.11680.58191.33392.04335.3621-0.352552.048.01.6104-2.478843
0.03680.02980.02220.08410.02150.0910.05540.06470.09530.08360.04470.09060.0340.07550.0350.09370.0421-3.7222-2.7873-1.3466-0.66020.0430.48621.24211.78874.5896-0.214552.048.01.5014-2.073444
0.03570.08440.05590.09030.04610.05390.06480.09670.05190.01170.09480.05870.01140.0890.04230.04420.0681-5.0649-3.5374-2.4601-1.36380.20011.51193.21415.08678.34240.267654.046.03.4893-3.514545
0.03670.05860.03750.06610.07270.07350.02480.09870.05040.04980.07630.05660.02660.06790.08390.0420.078-3.0888-2.376-1.2552-0.6602-0.24510.14840.67321.48852.0853-0.264548.052.01.1126-1.535846
0.03430.04680.10460.08150.02540.07580.00810.06470.08670.03550.0820.04850.05370.07020.01210.09970.0706-2.8329-2.2614-1.4241-0.62850.11850.63131.69992.7754.99410.103652.048.01.9735-1.922247
0.00570.04360.07680.10160.06140.02040.04290.06580.03020.09670.09510.02480.03660.0570.09330.09510.053-4.0519-2.2921-1.4466-0.13990.28961.48612.00933.90465.94160.391458.042.02.3091-2.256848
0.09540.04060.02230.06860.08010.06790.07080.06260.08970.02790.08460.07750.03570.02430.07250.02850.051-5.1466-4.1949-3.2414-2.2854-0.91780.29451.34773.30356.1429-0.69144.056.02.8831-3.499249

Additionally, we employ multidimensional scaling to convert K-Means weights to a two dimensional representation and plot them.
Multidimensional Scaling K-Means Weights – Open in a new tab, place cursor on circles to display data, use the tools on the right side to enable zooming in and out, etc.

Our goal in this analysis is to explore a large possible number of weights for a given portfolio. We note that views can be expressed by specifying calibration data, data representation, simulation days and rebalancing, projection days, etc. Thus the emphasis is on exploration rather than optimization.