Research Question

How does price sensitivity relate to movie theater attendance, and how does this relationship change when home-viewing preferences and monthly entertainment spending are included?

From a marketing perspective, understanding these factors can help movie theaters develop pricing strategies, promotional offers, and experiences that appeal to consumers.

Import the Survey Data

raw_data <- read.csv(
  "Qualtrics_Movie_Survey_Data (3).csv",
  stringsAsFactors = FALSE,
  check.names = FALSE,
  na.strings = c("", "NA")
)

dim(raw_data)
## [1] 35 35

Data Cleaning

The original Qualtrics dataset contains two additional metadata rows. These rows were removed, along with incomplete responses, test responses, and responses without monthly entertainment spending.

survey <- raw_data[-c(1, 2), ]

cat("Original response records:", nrow(survey))
## Original response records: 33

Convert Variables to Numeric

numeric_columns <- c(
  "Status", "Finished", "Q2", "Q3", "Q4",
  "Q6_1", "Q7_1", paste0("Q9_", 1:5)
)

survey[numeric_columns] <- lapply(
  survey[numeric_columns],
  function(x) as.numeric(trimws(x))
)

Remove Incomplete and Test Responses

survey <- subset(
  survey,
  Status == 0 & Finished == 1 & !is.na(Q3)
)

cat("Remaining respondents:", nrow(survey))
## Remaining respondents: 21

Recode and Rename Variables

count_methods <- function(x) {
  if (is.na(x) || !nzchar(trimws(x))) {
    return(NA_integer_)
  }
  length(strsplit(x, ",", fixed = TRUE)[[1]])
}

clean <- data.frame(
  ID = seq_len(nrow(survey)),
  Age_group = survey$Q2,
  Ent_spend = survey$Q3,
  Theater_freq = survey$Q4,
  Buy_methods_n = vapply(
    survey$Q5, count_methods, integer(1)
  ),
  Home_better = survey$Q6_1,
  Price_influence = survey$Q7_1,
  Pts_low_price = survey$Q9_1,
  Pts_premium = survey$Q9_2,
  Pts_concessions = survey$Q9_3,
  Pts_showtimes = survey$Q9_4,
  Pts_proximity = survey$Q9_5
)

The variables were renamed to make the dataset easier to understand. The ticket purchasing question was recoded into the number of purchasing methods selected by each respondent.

Handle Missing Values

home_mean <- round(
  mean(clean$Home_better, na.rm = TRUE), 1
)

price_mean <- round(
  mean(clean$Price_influence, na.rm = TRUE), 2
)

clean$Home_better[is.na(clean$Home_better)] <- home_mean

clean$Price_influence[is.na(clean$Price_influence)] <- price_mean

cat("Home-viewing preference mean:", home_mean)
## Home-viewing preference mean: 3.4
cat("\nPrice sensitivity mean:", price_mean)
## 
## Price sensitivity mean: 3.33

Missing values in the home-viewing preference and price sensitivity variables were replaced with their respective column means.

Export Cleaned Dataset

write.csv(
  clean,
  "Movie_Survey_Clean.csv",
  row.names = FALSE
)

cat("Final number of respondents:", nrow(clean))
## Final number of respondents: 21

Data Quality Checks

missing_values <- data.frame(
  Variable = names(clean),
  Missing = colSums(is.na(clean))
)

knitr::kable(
  missing_values,
  caption = "Missing Values in Cleaned Dataset"
)
Missing Values in Cleaned Dataset
Variable Missing
ID ID 0
Age_group Age_group 0
Ent_spend Ent_spend 0
Theater_freq Theater_freq 0
Buy_methods_n Buy_methods_n 0
Home_better Home_better 0
Price_influence Price_influence 0
Pts_low_price Pts_low_price 0
Pts_premium Pts_premium 0
Pts_concessions Pts_concessions 0
Pts_showtimes Pts_showtimes 0
Pts_proximity Pts_proximity 0

Preview Cleaned Data

knitr::kable(
  head(clean),
  caption = "Preview of Cleaned Survey Data"
)
Preview of Cleaned Survey Data
ID Age_group Ent_spend Theater_freq Buy_methods_n Home_better Price_influence Pts_low_price Pts_premium Pts_concessions Pts_showtimes Pts_proximity
1 1 90 4 1 5 1.00 30 10 20 20 20
2 1 80 2 1 3 5.00 40 5 5 20 30
3 1 50 2 2 4 1.00 20 10 20 30 20
4 1 400 3 1 4 3.33 20 30 20 20 10
5 1 300 2 1 2 5.00 40 10 30 20 0
6 1 120 1 1 1 3.33 50 10 30 10 0

Descriptive Statistics

summary(clean)
##        ID       Age_group       Ent_spend       Theater_freq   Buy_methods_n  
##  Min.   : 1   Min.   :1.000   Min.   :   0.0   Min.   :1.000   Min.   :1.000  
##  1st Qu.: 6   1st Qu.:1.000   1st Qu.:  80.0   1st Qu.:2.000   1st Qu.:1.000  
##  Median :11   Median :1.000   Median : 200.0   Median :3.000   Median :1.000  
##  Mean   :11   Mean   :1.381   Mean   : 255.2   Mean   :2.667   Mean   :1.238  
##  3rd Qu.:16   3rd Qu.:1.000   3rd Qu.: 400.0   3rd Qu.:3.000   3rd Qu.:1.000  
##  Max.   :21   Max.   :5.000   Max.   :1000.0   Max.   :4.000   Max.   :4.000  
##   Home_better  Price_influence Pts_low_price    Pts_premium    Pts_concessions
##  Min.   :1.0   Min.   :1.000   Min.   : 0.00   Min.   : 0.00   Min.   : 0.00  
##  1st Qu.:3.0   1st Qu.:3.000   1st Qu.:20.00   1st Qu.:10.00   1st Qu.:10.00  
##  Median :3.4   Median :3.000   Median :20.00   Median :20.00   Median :20.00  
##  Mean   :3.4   Mean   :3.333   Mean   :33.33   Mean   :16.43   Mean   :17.62  
##  3rd Qu.:4.0   3rd Qu.:4.000   3rd Qu.:50.00   3rd Qu.:20.00   3rd Qu.:20.00  
##  Max.   :5.0   Max.   :5.000   Max.   :80.00   Max.   :50.00   Max.   :60.00  
##  Pts_showtimes   Pts_proximity  
##  Min.   : 0.00   Min.   : 0.00  
##  1st Qu.:10.00   1st Qu.:10.00  
##  Median :20.00   Median :10.00  
##  Mean   :16.43   Mean   :16.19  
##  3rd Qu.:20.00   3rd Qu.:20.00  
##  Max.   :30.00   Max.   :60.00

Point Allocation Check

point_columns <- c(
  "Pts_low_price",
  "Pts_premium",
  "Pts_concessions",
  "Pts_showtimes",
  "Pts_proximity"
)

point_totals <- rowSums(clean[point_columns])

knitr::kable(
  as.data.frame(table(point_totals)),
  col.names = c("Total Points", "Respondents"),
  caption = "Point Allocation Check"
)
Point Allocation Check
Total Points Respondents
100 21

Theater Attendance Distribution

attendance <- as.data.frame(
  table(clean$Theater_freq)
)

knitr::kable(
  attendance,
  col.names = c("Attendance Code", "Respondents")
)
Attendance Code Respondents
1 2
2 6
3 10
4 3
barplot(
  table(clean$Theater_freq),
  col = "mediumpurple",
  main = "Movie Theater Attendance Distribution",
  xlab = "Attendance Frequency Code",
  ylab = "Number of Respondents"
)

The most common theater attendance response was code 3, selected by 10 respondents. The original survey response labels are needed to determine the exact attendance frequency represented by each code.

Simple Linear Regression

The simple regression examines the relationship between price sensitivity and movie theater attendance.

  • Independent variable (X): Price_influence
  • Dependent variable (Y): Theater_freq
simple_model <- lm(
  Theater_freq ~ Price_influence,
  data = clean
)

summary(simple_model)
## 
## Call:
## lm(formula = Theater_freq ~ Price_influence, data = clean)
## 
## Residuals:
##     Min      1Q  Median      3Q     Max 
## -1.6665 -0.6665  0.3335  0.3577  1.5039 
## 
## Coefficients:
##                 Estimate Std. Error t value Pr(>|t|)    
## (Intercept)      2.42295    0.54878   4.415 0.000297 ***
## Price_influence  0.07312    0.15441   0.474 0.641190    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 0.8735 on 19 degrees of freedom
## Multiple R-squared:  0.01167,    Adjusted R-squared:  -0.04035 
## F-statistic: 0.2243 on 1 and 19 DF,  p-value: 0.6412

Simple Regression Equation

The estimated regression equation is:

Y = 2.423 + 0.0731X

Interpretation

The price sensitivity coefficient is approximately 0.0731. A one-unit increase in price sensitivity is associated with a 0.0731-unit increase in the predicted theater attendance code.

The p-value is approximately 0.641, which is greater than 0.05. Therefore, price sensitivity is not statistically significant in the simple regression model.

The R-squared value is approximately 0.0117, meaning price sensitivity explains only 1.17% of the variation in theater attendance codes.

Scatterplot and Regression Line

plot(
  clean$Price_influence,
  clean$Theater_freq,
  pch = 19,
  col = "mediumpurple",
  main = "Price Sensitivity and Theater Attendance",
  xlab = "Price Sensitivity Rating",
  ylab = "Theater Attendance Code"
)

abline(
  simple_model,
  col = "darkorange",
  lwd = 3
)

grid()

The scatterplot displays a weak positive relationship between price sensitivity and theater attendance codes. The observations are dispersed around the regression line, suggesting that price sensitivity alone provides limited explanatory value.

Multiple Linear Regression

The multiple regression includes two additional predictors: home-viewing preferences and monthly entertainment spending.

multiple_model <- lm(
  Theater_freq ~ Price_influence +
    Home_better + Ent_spend,
  data = clean
)

summary(multiple_model)
## 
## Call:
## lm(formula = Theater_freq ~ Price_influence + Home_better + Ent_spend, 
##     data = clean)
## 
## Residuals:
##      Min       1Q   Median       3Q      Max 
## -1.15203 -0.35277 -0.00038  0.38552  1.36103 
## 
## Coefficients:
##                   Estimate Std. Error t value Pr(>|t|)  
## (Intercept)      1.2145710  0.7706428   1.576   0.1334  
## Price_influence  0.1266141  0.1405410   0.901   0.3802  
## Home_better      0.3534771  0.1527937   2.313   0.0335 *
## Ent_spend       -0.0006728  0.0007181  -0.937   0.3620  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 0.7839 on 17 degrees of freedom
## Multiple R-squared:  0.2877, Adjusted R-squared:  0.162 
## F-statistic: 2.289 on 3 and 17 DF,  p-value: 0.1151

Multiple Regression Equation

Y = 1.2146 + 0.1266(Price_influence) + 0.3535(Home_better) - 0.000673(Ent_spend)

Regression Coefficient Table

knitr::kable(
  coef(summary(multiple_model)),
  digits = 4,
  caption = "Multiple Regression Coefficients"
)
Multiple Regression Coefficients
Estimate Std. Error t value Pr(>|t|)
(Intercept) 1.2146 0.7706 1.5760 0.1334
Price_influence 0.1266 0.1405 0.9009 0.3802
Home_better 0.3535 0.1528 2.3134 0.0335
Ent_spend -0.0007 0.0007 -0.9368 0.3620

Interpretation of Predictors

Price Sensitivity

The coefficient increased from 0.0731 to 0.1266 after including the additional predictors. However, its p-value of 0.3802 indicates that it remains statistically insignificant.

Home-Viewing Preference

The coefficient is approximately 0.3535, with a p-value of 0.0335. This is the only individually statistically significant predictor at the 5% significance level.

Entertainment Spending

The coefficient is approximately -0.000673, with a p-value of 0.3620. Monthly entertainment spending is not statistically significant in this model.

Although home-viewing preference is individually significant, the overall multiple regression model is not statistically significant at the 5% level.

Model Comparison

comparison <- data.frame(
  Model = c("Simple", "Multiple"),
  Respondents = c(
    nobs(simple_model),
    nobs(multiple_model)
  ),
  R_squared = c(
    summary(simple_model)$r.squared,
    summary(multiple_model)$r.squared
  ),
  Adjusted_R_squared = c(
    summary(simple_model)$adj.r.squared,
    summary(multiple_model)$adj.r.squared
  )
)

knitr::kable(
  comparison,
  digits = 4,
  caption = "Simple and Multiple Regression Comparison"
)
Simple and Multiple Regression Comparison
Model Respondents R_squared Adjusted_R_squared
Simple 21 0.0117 -0.0404
Multiple 21 0.2877 0.1620

R-Squared Comparison Graph

barplot(
  comparison$R_squared * 100,
  names.arg = comparison$Model,
  col = c("mediumpurple", "darkorange"),
  main = "Percentage of Variation Explained",
  ylab = "R-Squared (%)",
  ylim = c(0, 40)
)

The simple regression explains approximately 1.17% of the variation in theater attendance codes, while the multiple regression explains approximately 28.77%.

The adjusted R-squared also increased from approximately -0.0404 to 0.1620. This suggests that the additional predictors improve the model’s explanatory value, even after accounting for model complexity.

Correlation Analysis

correlation <- cor(
  clean$Price_influence,
  clean$Theater_freq
)

cat("Pearson correlation:", round(correlation, 4))
## Pearson correlation: 0.108

The Pearson correlation coefficient is approximately 0.1080, indicating a weak positive linear relationship between price sensitivity and theater attendance codes.

Additional Visualization

plot(
  clean$Home_better,
  clean$Theater_freq,
  pch = 19,
  col = "steelblue",
  main = "Home-Viewing Preference and Theater Attendance",
  xlab = "Home-Viewing Preference Rating",
  ylab = "Theater Attendance Code"
)

abline(
  lm(Theater_freq ~ Home_better, data = clean),
  col = "darkorange",
  lwd = 3
)

grid()

Home-viewing preference had the smallest p-value in the multiple regression model. This visualization provides additional insight into the relationship between consumer viewing preferences and theater attendance codes.

150-Word Reflection

The results of my analysis showed that home-viewing preference was the most statistically significant predictor of movie theater attendance codes, with a p-value of 0.0335. The simple regression explained only 1.17% of the variation, while the multiple regression explained 28.77%. Adding home-viewing preferences and entertainment spending improved the model’s explanatory ability. The price sensitivity coefficient increased from 0.0731 to 0.1266 but remained statistically insignificant. The scatterplot demonstrated a weak positive relationship between price sensitivity and attendance codes. From a marketing perspective, these findings suggest that movie theaters should investigate consumer viewing preferences rather than focusing exclusively on pricing strategies. However, the sample size of 21 respondents limits the reliability and generalizability of the results. If I conducted this research again, I would collect more responses from diverse age groups, confirm the original response labels, and measure the actual number of theater visits. I would also explore convenience, streaming services, and theater experiences.

Conclusion

This analysis demonstrates the importance of examining multiple factors when studying consumer behavior. Although price sensitivity alone explained very little variation in theater attendance codes, including additional predictors improved the model’s explanatory value.

These findings represent associations rather than cause-and-effect relationships. Theater attendance was measured using coded response categories, so the original response labels must be confirmed before interpreting higher codes as more or fewer theater visits.

References

AI Assistance Disclaimer

I used ChatGPT to assist with developing R Markdown code, organizing the regression analysis, creating visualizations, and interpreting statistical results. I will review the generated results and verify that the final analysis accurately represents the original survey data before submitting.