In: Statistics and Probability
Hi,
I need to have a cross sectional data in order to do regression analysis. and the data should be as follows. and i cant find the data online.
note: the data can be for any product
Observation I |
|
Price |
Income/person X2 |
Price of Substitutes X3 |
Price of Complements
|
1 |
265.2 |
12.0 |
6 |
17 |
0 |
2 |
279.6 |
20.2 |
7 |
18 |
0 |
3 |
311.2 |
27.0 |
7 |
17 |
1 |
4 |
328.0 |
30.0 |
8 |
18 |
1 |
5 |
352.0 |
30.0 |
8 |
15 |
1 |
6 |
281.2 |
21.4 |
8 |
20 |
1 |
7 |
288.4 |
21.6 |
7 |
8 |
0 |
8 |
292.8 |
25.2 |
7 |
15 |
1 |
9 |
356.0 |
37.2 |
9 |
31 |
1 |
10 |
263.2 |
14.4 |
7 |
8 |
0 |
11 |
272.4 |
15.0 |
7 |
17 |
0 |
12 |
291.2 |
22.4 |
6 |
9 |
0 |
13 |
299.6 |
23.9 |
7 |
20 |
1 |
14 |
307.6 |
26.6 |
6 |
23 |
1 |
At Least 30 |
320.4 |
30.7 |
7 |
23 |
1 |
using excel>addin>phstat>Regression
we have
Regression Analysis | ||||||
Regression Statistics | ||||||
Multiple R | 0.944947372 | |||||
R Square | 0.892925536 | |||||
Adjusted R Square | 0.850095751 | |||||
Standard Error | 11.13462078 | |||||
Observations | 15 | |||||
ANOVA | ||||||
df | SS | MS | F | Significance F | ||
Regression | 4 | 10339.03953 | 2584.759883 | 20.84823738 | 7.69113E-05 | |
Residual | 10 | 1239.7978 | 123.97978 | |||
Total | 14 | 11578.83733 | ||||
Coefficients | Standard Error | t Stat | P-value | Lower 95% | Upper 95% | |
Intercept | 185.2648642 | 27.48349362 | 6.740950288 | 5.09894E-05 | 124.0278243 | 246.5019041 |
X1 | 3.92143217 | 0.755261838 | 5.192149229 | 0.000405877 | 2.238603925 | 5.604260414 |
X2 | 3.585118059 | 4.470708295 | 0.801912767 | 0.441243018 | -6.376240789 | 13.54647691 |
X3 | -0.118144737 | 0.640698242 | -0.184399971 | 0.857385546 | -1.545709383 | 1.309419909 |
X4 | -2.83169472 | 9.716503777 | -0.291431443 | 0.776676987 | -24.48141429 | 18.81802485 |
the regression equation is
y = 185.27 +3.92 X1 3.59 X2 -0.12 X3 -2.83 X4