我有我的模特摘要。
CoupleIncome BrideAge Payor WeddingCost Attendance
1 130000 22 0 60700 300
2 157000 23 0 52000 350
3 98000 27 1 47000 150
4 72000 29 0 42000 200
5 86000 25 0 34000 250
摘要
Call:
lm(formula = WeddingCost ~ CoupleIncome + BrideAge + Payor +
Attendance, data = df)
Residuals:
Min 1Q Median 3Q Max
-9366.7 -5475.8 -248.9 2124.6 17675.1
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -3.048e+03 1.157e+04 -0.263 0.794871
CoupleIncome 3.238e-01 7.875e-02 4.112 0.000542 ***
BrideAge -2.333e+02 3.805e+02 -0.613 0.546717
Payor 3.713e+03 3.360e+03 1.105 0.282229
Attendance 5.413e+01 2.859e+01 1.893 0.072873 .
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Residual standard error: 7195 on 20 degrees of freedom
Multiple R-squared: 0.7539, Adjusted R-squared: 0.7046
F-statistic: 15.31 on 4 and 20 DF, p-value: 6.968e-06
问题:如果一对夫妇计划为175位客人举办婚礼,那么这对夫妇的收入是100,000美元,新娘的年龄是33岁,付款人是新娘的家庭,价值等级是3,他们应该预算多少?]
MLR的在线公式显示如下内容。yi =β0+(β1* xi1)+(β2* xi2)+(β3* xi3)+(β4* xi4)+ ϵ
我用模型摘要中的值代替,但是我在问题中没有提及Attendance
。它提到了value rating of 3
。
WeddingCost = -3.048e + 03 +(3.238e-01 * 100000
)+(-2.333e + 02 * 33)+(3.713e + 03 * 0)+ (5.413e + 01 * 无值)+ ϵ编辑:好的,所以我找到了一些在线期刊和出版物,似乎价值定级与(X)的回归系数相同,回归常数为截距。但这仍然无法帮助我确定问题中给出的3的等级。
我有我的模特摘要。 CoupleIncome BrideAge Payor WeddingCost出勤1 130000 22 0 60700 300 2 157000 23 0 52000 350 3 ...
好吧,以前从未观察到价值独立变量(在您的数据中,如果变量已满),因此基本上您无法评估价值对婚礼费用的影响,因此您基本上会忽略它(来源:经济学博士,计量经济学教授)