Fatores
Academia da Engenharia de Avaliações
28 de julho de 2025
Call: lm(formula = log(PU) ~ log(A) + log(D), data = dados)
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 10.95401 0.34272 31.96 < 2e-16 ***
log(A) -0.36349 0.02901 -12.53 2.50e-10 ***
log(D) -0.40761 0.03164 -12.88 1.59e-10 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Residual standard deviation: 0.07774 on 18 degrees of freedom
Multiple R-squared: 0.9468
F-statistic: 160.2 on 2 and 18 DF, p-value: 3.413e-12
AIC BIC
-42.92 -38.75
Call: lm(formula = log(PU) ~ log(A) + D, data = dados)
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 8.54331250 0.18625876 45.87 < 2e-16 ***
log(A) -0.34773547 0.02029311 -17.14 1.36e-12 ***
D -0.00049622 0.00002621 -18.93 2.48e-13 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Residual standard deviation: 0.05436 on 18 degrees of freedom
Multiple R-squared: 0.974
F-statistic: 337 on 2 and 18 DF, p-value: 5.453e-15
AIC BIC
-57.95 -53.77
Call: lm(formula = log(PU) ~ log(A/11000) + I(D - 980), data = dados)
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 4.82110852 0.01259858 382.67 < 2e-16 ***
log(A/11000) -0.34773547 0.02029311 -17.14 1.36e-12 ***
I(D - 980) -0.00049622 0.00002621 -18.93 2.48e-13 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Residual standard deviation: 0.05436 on 18 degrees of freedom
Multiple R-squared: 0.974
F-statistic: 337 on 2 and 18 DF, p-value: 5.453e-15
AIC BIC
-57.95 -53.77
fit11 <- lm(log(PU) ~ log(Lot) + log(SqFeet) + log1p(Age) + Quality + Pool +
Style + Baths,
data = homePrices, subset = -c(11, 24, 86, 104, 202, 513))
S(fit11)
Call: lm(formula = log(PU) ~ log(Lot) + log(SqFeet) + log1p(Age) + Quality +
Pool + Style + Baths, data = homePrices, subset = -c(11, 24, 86, 104, 202,
513))
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 5.433029 0.373261 14.556 < 2e-16 ***
log(Lot) -0.873500 0.018130 -48.180 < 2e-16 ***
log(SqFeet) 0.816476 0.047664 17.130 < 2e-16 ***
log1p(Age) -0.121883 0.012511 -9.742 < 2e-16 ***
QualitySegunda -0.233921 0.027732 -8.435 3.48e-16 ***
QualityTerceira -0.288248 0.038072 -7.571 1.77e-13 ***
Pool 0.115856 0.028669 4.041 6.15e-05 ***
Style -0.016376 0.003633 -4.507 8.17e-06 ***
Baths 0.049265 0.011408 4.318 1.89e-05 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Residual standard deviation: 0.1568 on 506 degrees of freedom
Multiple R-squared: 0.9015
F-statistic: 579.1 on 8 and 506 DF, p-value: < 2.2e-16
AIC BIC
-436.04 -393.60
\[\begin{aligned} PU = \exp[5,43 - 0,87\ln(Lot) + 0,82\ln(SqFeet) - \\ 0,12\ln(1 + Age) - 0,23\cdot\text{Quality2ª} - 0,29\cdot\text{Quality3ª} + \\ 0,12\cdot\text{Pool}-0,016\cdot Style + 0,05\cdot Baths] \end{aligned} \]
\[ \begin{aligned} PU = \exp(5,43)\cdot\exp(-0,87\ln(Lot))\cdot\exp(0,82\ln(SqFeet)) \\ \exp(-0,12\ln(1 + Age))\cdot \exp(- 0,23\cdot\text{Quality2ª}) \cdot \\ \exp(- 0,29\cdot\text{Quality3ª}) \cdot \exp(0,12\cdot\text{Pool}) \\ \cdot\exp(-0,016\cdot Style) \cdot\exp(0,05\cdot Baths) \end{aligned} \]
Pode-se melhorar a apresentação da equação de estimação através da simplificação dos termos
Lembrando que \(\exp(k\cdot x) = \exp(x)^k\), então:
Outra opção é: \(\exp(k\cdot x) = \exp(k)^x\). Então:
\[ \begin{aligned} PU = 228,15\cdot Lot^{-0,87}\cdot\ SqFeet^{0,82}\cdot (1 + Age)^{-.12} \cdot 0,79^{\text{Quality2ª}} \cdot\\ 0,75^{\text{Quality3ª}} \cdot 1,13^{\text{Pool}} \cdot 0,985^{Style} \cdot 1,05^{Baths} \end{aligned} \]
Interpretação:
[1] 22003
[1] 1592
[1] 3
fitCenter <- lm(log(PU) ~ log(Lot/22000) + log(SqFeet/1600) + log1p(Age) + Quality +
Pool + I(Style-1) + I(Baths-3),
data = homePrices, subset = -c(11, 24, 86, 104, 202, 513))
S(fitCenter)
Call: lm(formula = log(PU) ~ log(Lot/22000) + log(SqFeet/1600) + log1p(Age) +
Quality + Pool + I(Style - 1) + I(Baths - 3), data = homePrices, subset =
-c(11, 24, 86, 104, 202, 513))
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 2.854267 0.043870 65.062 < 2e-16 ***
log(Lot/22000) -0.873500 0.018130 -48.180 < 2e-16 ***
log(SqFeet/1600) 0.816476 0.047664 17.130 < 2e-16 ***
log1p(Age) -0.121883 0.012511 -9.742 < 2e-16 ***
QualitySegunda -0.233921 0.027732 -8.435 3.48e-16 ***
QualityTerceira -0.288248 0.038072 -7.571 1.77e-13 ***
Pool 0.115856 0.028669 4.041 6.15e-05 ***
I(Style - 1) -0.016376 0.003633 -4.507 8.17e-06 ***
I(Baths - 3) 0.049265 0.011408 4.318 1.89e-05 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Residual standard deviation: 0.1568 on 506 degrees of freedom
Multiple R-squared: 0.9015
F-statistic: 579.1 on 8 and 506 DF, p-value: < 2.2e-16
AIC BIC
-436.04 -393.60
VALORÍSTICA