Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please see below and attached file. Do not ask for money you say the model would be that the relationship in value between gold and

image text in transcribed

Please see below and attached file. Do not ask for money

you say the model would be that the relationship in value between gold and the US dolallar changed when President Trump took office.Here is where it gets wierd.

I have gotten daily data on the price of gold in US dollars (GoldPriceUS$) and an "index" of the value of the US currency. (Exchange RateIndex)I have created a variable called Trump which is 1 for days after the election and 0 before it.

You are saying that Trump impacted the markets, and he likely did.How to show it?

Need to create 1 othervariables in EXCEL one is called GoldTrump a When the variable Trump equals 1 GOld Trump equals (GoldPRiceUS$)"regular values" when Trump = 0 those values equal zero.

You want to do the model

ExchangeRateIndex = a + b1*GOldPriceUS$ + b2*GoldTrump + Trump

Notice that when Trump equals 0, the model has "no trump" when Trump = 1 the relationshiop changes.

So you estimate the model and before trump the model means

ExchangeRateIndex = a + b1*GOldPriceUS$

THe Trump Effect would be captured by"

ExchangeRateIndex = (a+Trump) + (b1+b2)*GOldPriceUS$

Your estimates will show that neither "Trump" or "b2" are different from zero meaning that Trump does not impact the relationship between gold price and exchange value of the dolalr. You can see the data in the spreadsheet "GoldTrump"

Please consider how you would replicate the above "stuff" maybe change it if you want.One idea would be to "shorten the trump effect, i.e. make the varialbe equal to 1 from like november to december, rather than from november to march.

image text in transcribed Data from Fred Dollar Price Gold Index, index goes up dollar goes up. observation_date Exchange RateIndex Trump GoldTrump GoldPriceUS$ 2017-03-31 124.3544 1 1241.7 1241.700 2017-03-30 124.0713 1 1250.9 1250.900 2017-03-29 124.2556 1 1252.9 1252.900 2017-03-28 123.9659 1 1253.65 1253.650 2017-03-27 123.7709 1 1256.9 1256.900 2017-03-24 124.1875 1 1244 1244.000 2017-03-23 124.3669 1 1247.9 1247.900 2017-03-22 124.3672 1 1246.1 1246.100 2017-03-21 124.3952 1 1232.05 1232.050 2017-03-20 124.6236 1 1233 1233.000 2017-03-17 124.8794 1 1228.75 1228.750 2017-03-16 125.1158 1 1225.6 1225.600 2017-03-15 126.0056 1 1202.25 1202.250 2017-03-14 126.2268 1 1203.55 1203.550 2017-03-13 126.0544 1 1207.8 1207.800 2017-03-09 126.6562 1 1204.6 1204.600 2017-03-08 126.5172 1 1213.3 1213.300 2017-03-07 126.0469 1 1223.7 1223.700 2017-03-06 126.0546 1 1231.15 1231.150 2017-03-03 126.2717 1 1228.75 1228.750 2017-03-02 126.4661 1 1243.3 1243.300 2017-03-01 126.0440 1 1246.05 1246.050 2017-02-28 125.5992 1 1251.9 1251.900 2017-02-27 125.2778 1 1256.25 1256.250 2017-02-24 125.4154 1 1255.35 1255.350 2017-02-23 125.2481 1 1237.35 1237.350 2017-02-22 125.8346 1 1237.5 1237.500 2017-02-21 126.2335 1 1228.7 1228.700 2017-02-20 126.0389 1 1235.35 1235.350 2017-02-17 126.0425 1 1241.4 1241.400 2017-02-16 125.6195 1 1236.75 1236.750 2017-02-15 125.8388 1 1225.15 1225.150 2017-02-14 126.0155 1 1229.65 1229.650 2017-02-13 126.0170 1 1229.4 1229.400 2017-02-10 125.8230 1 1225.75 1225.750 2017-02-09 125.9791 1 1241.75 1241.750 2017-02-08 125.8150 1 1235.6 1235.600 2017-02-07 126.0999 1 1231 1231.000 2017-02-06 125.6922 1 1221.85 1221.850 2017-02-03 2017-02-02 2017-02-01 2017-01-31 2017-01-30 2017-01-27 2017-01-26 2017-01-25 2017-01-24 2017-01-23 2017-01-20 2017-01-19 2017-01-18 2017-01-17 2017-01-16 2017-01-13 2017-01-12 2017-01-11 2017-01-10 2017-01-09 2017-01-06 2017-01-05 2017-01-04 2017-01-03 2016-12-30 2016-12-29 2016-12-28 2016-12-23 2016-12-22 2016-12-21 2016-12-20 2016-12-19 2016-12-16 2016-12-15 2016-12-14 2016-12-13 2016-12-12 2016-12-09 2016-12-08 2016-12-07 2016-12-06 2016-12-05 2016-12-02 2016-12-01 2016-11-30 2016-11-29 2016-11-28 2016-11-25 2016-11-23 2016-11-22 125.2827 125.6026 126.1359 125.9632 126.4712 126.8371 127.0451 126.6980 126.7655 126.9517 128.0386 128.0600 127.4110 126.9705 127.7692 127.7486 127.5389 128.8561 128.3540 128.2527 128.1802 127.7769 128.7344 128.9627 128.2131 128.5027 129.0778 128.6197 128.6795 128.4245 128.4901 128.2576 128.2517 128.6568 126.5634 126.6047 126.7305 127.1143 126.8144 126.4583 126.7412 126.9266 127.1410 127.4882 127.5646 127.4658 127.5444 127.8604 127.8914 127.2312 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1213.05 1224.05 1210 1198.8 1189.85 1184.2 1191.55 1203.5 1213.3 1213.75 1199.1 1203.35 1212.5 1217.5 1202.75 1196.35 1206.65 1187.55 1183.2 1176.1 1178 1173.05 1165.9 1148.65 1159.1 1146.8 1139.75 1131 1130.55 1134.4 1132.75 1137.6 1134.85 1132.45 1160.95 1157.35 1154.4 1168.9 1174.75 1171.25 1171.15 1164.9 1171.65 1168.75 1187.4 1187.3 1189.1 1187.5 1213.25 1217.55 1213.050 1224.050 1210.000 1198.800 1189.850 1184.200 1191.550 1203.500 1213.300 1213.750 1199.100 1203.350 1212.500 1217.500 1202.750 1196.350 1206.650 1187.550 1183.200 1176.100 1178.000 1173.050 1165.900 1148.650 1159.100 1146.800 1139.750 1131.000 1130.550 1134.400 1132.750 1137.600 1134.850 1132.450 1160.950 1157.350 1154.400 1168.900 1174.750 1171.250 1171.150 1164.900 1171.650 1168.750 1187.400 1187.300 1189.100 1187.500 1213.250 1217.550 2016-11-21 2016-11-18 2016-11-17 2016-11-16 2016-11-15 2016-11-14 2016-11-10 2016-11-09 2016-11-08 2016-11-07 2016-11-04 2016-11-03 2016-11-02 2016-11-01 2016-10-31 2016-10-28 2016-10-27 2016-10-26 2016-10-25 2016-10-24 2016-10-21 2016-10-20 2016-10-19 2016-10-18 2016-10-17 2016-10-14 2016-10-13 2016-10-12 2016-10-11 2016-10-07 2016-10-06 2016-10-05 2016-10-04 2016-10-03 2016-09-30 2016-09-29 2016-09-28 2016-09-27 2016-09-26 2016-09-23 2016-09-22 2016-09-21 2016-09-20 2016-09-19 2016-09-16 2016-09-15 2016-09-14 2016-09-13 2016-09-12 2016-09-09 127.2803 127.3803 126.6666 126.5903 126.5164 126.9848 125.6112 124.2711 122.8327 123.0760 123.1203 123.2915 123.4359 123.4820 123.5141 123.5783 123.6923 123.2764 123.1234 123.3140 123.3637 122.8400 122.4804 122.5884 123.0115 123.1560 123.0637 123.1617 122.8552 122.6397 122.3816 122.1887 122.0467 121.8957 121.6921 121.6960 122.0358 121.9609 122.1438 122.1416 121.6889 122.4165 122.6369 122.3581 122.6698 121.9751 121.9688 122.0296 121.6560 121.4739 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1214.95 1206.1 1232 1225.7 1228.9 1222.6 1280.9 1304.55 1284 1286.8 1301.7 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1214.950 1206.100 1232.000 1225.700 1228.900 1222.600 1280.900 1304.550 1284.000 1286.800 1301.700 1293.000 1295.850 1284.400 1274.200 1265.900 1269.300 1273.900 1269.300 1267.000 1263.950 1269.200 1269.750 1261.650 1252.700 1256.150 1258.000 1255.700 1256.400 1255.000 1265.500 1274.000 1309.150 1318.650 1327.900 1320.850 1324.800 1335.850 1336.300 1335.900 1332.450 1319.600 1315.400 1315.050 1314.250 1320.100 1323.200 1328.500 1327.500 1335.650 2016-09-08 2016-09-07 2016-09-06 2016-09-02 2016-09-01 2016-08-31 2016-08-30 2016-08-26 2016-08-25 2016-08-24 2016-08-23 2016-08-22 2016-08-19 2016-08-18 2016-08-17 2016-08-16 2016-08-15 2016-08-12 2016-08-11 2016-08-10 2016-08-09 2016-08-08 2016-08-05 2016-08-04 2016-08-03 2016-08-02 2016-08-01 2016-07-29 2016-07-28 2016-07-27 2016-07-26 2016-07-25 2016-07-22 2016-07-21 2016-07-20 2016-07-19 2016-07-18 2016-07-15 2016-07-14 2016-07-13 2016-07-12 2016-07-11 2016-07-08 2016-07-07 2016-07-06 2016-07-05 2016-06-30 2016-06-29 2016-06-28 2016-06-27 120.7061 120.4057 120.4402 121.5145 121.6787 121.8847 121.7676 120.6506 120.6161 120.7641 120.3652 120.4329 120.2269 119.6884 120.3217 119.7535 120.2457 120.5257 120.5200 120.6629 121.0973 121.5492 121.7767 121.3385 121.3934 121.1434 121.4159 121.3225 122.2173 122.6998 122.5485 122.6810 122.4650 122.1127 122.1652 122.1362 121.7578 121.7714 121.2548 121.5288 121.6161 122.0101 121.8706 122.0684 122.0519 121.9258 121.6240 121.3413 122.2579 122.6726 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1348.000 1348.750 1330.050 1311.500 1305.700 1314.450 1318.850 1324.900 1324.500 1337.300 1338.500 1334.300 1346.850 1347.100 1342.750 1349.100 1339.200 1336.700 1344.550 1351.850 1332.900 1330.000 1362.600 1351.150 1364.400 1358.150 1348.850 1332.500 1341.300 1320.800 1321.250 1315.000 1323.200 1322.000 1325.600 1332.200 1326.150 1330.500 1325.700 1340.250 1352.850 1358.250 1356.100 1367.100 1370.000 1344.750 1317.000 1317.750 1312.000 1324.600 2016-06-24 2016-06-23 2016-06-22 2016-06-21 2016-06-20 2016-06-17 2016-06-16 2016-06-15 2016-06-14 2016-06-13 2016-06-10 2016-06-09 2016-06-08 2016-06-07 2016-06-06 2016-06-03 2016-06-02 2016-06-01 2016-05-31 2016-05-27 2016-05-26 2016-05-25 2016-05-24 2016-05-23 2016-05-20 2016-05-19 2016-05-18 2016-05-17 2016-05-16 2016-05-13 2016-05-12 2016-05-11 2016-05-10 2016-05-09 2016-05-06 2016-05-05 2016-05-04 2016-05-03 2016-04-29 2016-04-28 2016-04-27 2016-04-26 2016-04-25 2016-04-22 2016-04-21 2016-04-20 2016-04-19 2016-04-18 2016-04-15 2016-04-14 121.6726 119.8338 120.3435 120.5983 120.4602 121.1252 121.8135 121.3468 121.6012 121.0971 120.6748 120.1674 119.7398 120.4166 120.8005 121.0335 122.0993 122.1022 122.0814 121.7016 121.5083 121.8107 121.9091 121.8813 121.7846 121.8444 121.1010 120.6069 120.6443 120.7802 120.2008 119.7540 120.3401 120.4594 119.8508 119.7263 119.4664 118.8186 118.2420 118.6206 119.3103 119.2174 119.6487 119.6956 119.2661 118.7623 118.6406 119.3827 119.5789 119.5583 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1313.850 1265.750 1265.000 1280.800 1283.250 1284.500 1307.000 1282.000 1279.400 1284.100 1266.600 1258.350 1252.400 1241.100 1240.550 1211.000 1215.500 1216.250 1210.500 1221.250 1226.650 1220.750 1242.650 1250.400 1256.500 1253.750 1270.900 1270.100 1281.000 1275.150 1268.300 1271.800 1264.850 1277.750 1280.250 1275.750 1280.300 1296.500 1274.500 1256.600 1244.750 1234.500 1230.850 1245.400 1257.650 1247.750 1241.700 1237.700 1229.750 1240.300 2016-04-13 2016-04-12 2016-04-11 2016-04-08 2016-04-07 2016-04-06 2016-04-05 2016-04-04 2016-04-01 2016-03-31 2016-03-30 2016-03-29 2016-03-24 2016-03-23 2016-03-22 2016-03-21 2016-03-18 2016-03-17 2016-03-16 2016-03-15 2016-03-14 2016-03-11 2016-03-10 2016-03-09 2016-03-08 2016-03-07 2016-03-04 2016-03-03 2016-03-02 2016-03-01 2016-02-29 2016-02-26 2016-02-25 2016-02-24 2016-02-23 2016-02-22 2016-02-19 2016-02-18 2016-02-17 2016-02-16 2016-02-11 2016-02-10 2016-02-09 2016-02-08 2016-02-05 2016-02-04 2016-02-03 2016-02-02 2016-02-01 2016-01-29 119.5343 119.1878 119.3462 119.7988 120.2687 119.9539 120.3716 119.8350 119.7030 119.2912 119.6551 120.8743 121.3006 121.0072 120.2167 120.1925 119.8594 119.9002 122.3051 122.1013 121.6902 121.2693 121.8399 121.8477 122.2703 122.0398 122.0426 122.7182 123.2988 123.4263 123.7694 123.8895 123.4219 123.6557 123.6668 123.2990 123.4912 123.4086 123.3877 124.0131 123.8013 123.8906 123.7730 124.0496 123.9086 123.1948 124.2652 125.2043 124.9300 125.1342 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1245.750 1259.200 1247.250 1235.000 1237.500 1225.750 1231.500 1215.000 1232.100 1233.600 1238.200 1216.450 1216.450 1232.200 1251.800 1244.250 1254.500 1269.600 1233.100 1233.600 1256.550 1262.250 1247.250 1258.250 1274.100 1267.600 1271.500 1241.950 1229.350 1240.000 1234.150 1231.000 1235.400 1232.250 1218.750 1203.650 1221.500 1204.400 1202.400 1212.000 1223.250 1183.400 1188.900 1173.400 1158.500 1146.250 1130.000 1123.600 1122.000 1112.900 2016-01-28 2016-01-27 2016-01-26 2016-01-25 2016-01-22 2016-01-21 2016-01-20 2016-01-19 2016-01-15 2016-01-14 2016-01-13 2016-01-12 2016-01-11 2016-01-08 2016-01-07 2016-01-06 2016-01-05 2016-01-04 124.8181 125.1146 125.2761 125.6244 125.3718 125.6384 125.9840 125.4068 125.3626 125.0039 124.7564 124.9280 124.6357 124.6539 124.2812 124.1992 123.7740 123.6929 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1119.000 1116.500 1114.700 1103.700 1097.650 1096.800 1093.200 1087.000 1081.100 1090.750 1081.800 1094.850 1104.700 1097.450 1096.000 1083.850 1078.000 1072.700 SUMMARY OUTPUT Regression Statistics Multiple R 0.8887010556 R Square 0.7897895662 Adjusted R Square 0.7877082748 Standard Error 1.2402338075 Observations 307 ANOVA df Regression Residual Total Trump GoldTrump GoldPriceUS$ Intercept X Variable 1 X Variable 2 X Variable 3 3 303 306 SS 1751.0836106379 466.06850885 2217.1521194879 Coefficients 137.7096727429 25.529410676 -0.0178412583 -0.0125660691 Standard Error 1.5198118822 4.1242651034 0.0033917877 0.0012036824 MS 583.6945368793 1.5381798972 F Significance F 379.470917507 2.9853129621780E-102 t Stat P-value 90.6096829181 1.5806319522222E-221 6.1900508421 0.000000002 -5.2601341931 2.7264873333414E-007 -10.4396881151 5.3633214583548E-022 Lower 95% 134.718950297 17.4135824201 -0.0245156999 -0.0149347044 Upper 95% 140.7003951888 33.6452389319 -0.0111668168 -0.0101974338 Lower 95.0% 134.718950297 17.4135824201 -0.0245156999 -0.0149347044 Upper 95.0% 140.7003951888 33.6452389319 -0.0111668168 -0.0101974338

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Investment Analysis and Portfolio Management

Authors: Frank K. Reilly, Keith C. Brown, Sanford J. Leeds

11th Edition

1305262999, 1305262997, 035726164X, 978-1305262997

More Books

Students also viewed these Finance questions