Linear Regression Analysis: Key Formulas and Calculations

Given Model:

From Output:

Call:
lm(formula = visitors ~ prices + artists)

Residuals:
     Min       1Q   Median       3Q      Max 
-155.458  -52.355   -9.802   50.293  192.999 

Coefficients:
            Estimate Std. Error t value Pr(>|t|)    
(Intercept) 700.8493    30.4836  22.991  < 2e-16 ***
prices       -3.7173     0.3046 -12.205  < 2e-16 ***
artists       4.0851     0.6796   6.011 8.48e-08 ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Statements and Solutions

  1. Correlation between number of visitors and entrance fee:

    • Negative correlation: If .
  2. Impact of Entrance Fee Difference:

    • Calculate change in visitors when price difference is 30 EUR:
  3. Variability in Visitors Explained by the Model:

    • Given :
    • of the variability in visitors is explained by the model.
  4. Significance of the Coefficient for Artists:

    • Check p-value for :
    • The coefficient for artists is significantly different from 0 at the 5% significance level.
  5. Expected Number of Visitors with Given Prices and Artists:

    • Calculate expected visitors for 30 EUR fee and 22 artists:
    • Expected visitors: (less than 700).