Question
Please show your work, include all your results in the write-up and submit the R code:

Problem 1. (Dataset: Dielectric.csv)
Electromagnetic technologies offer effective nondestructive sensing techniques for determining characteristics of pavement. The propagation of electromagnetic waves through the material depends on its dielectric properties. The following data, kindly provided by the authors of the article “Dielectric Modeling of Asphalt Mixtures and Relationship with Density” (J. of Transp. Engr., 2011: 104–111), was used to relate y
= diaelectric constant to x = air void (%) for 18 samples having 5 % asphalt content.

a) Identify the outcome/response variable and the independent/predictor variable
b) Graphical Analysis:
Before you begin building the regression model, it is a good practice to analyze and understand the variables and to understand these variables graphically. Typically, for each of the independent variables (predictors), the following plots are drawn to visualize the following behavior:
• Scatter plot: Visualize the linear relationship between the predictor and response
• Box plot: To spot any outlier observations in the variable. Having outliers in your predictor can drastically affect the predictions as they can easily affect the direction/slope of the line of best fit.
• Density plot: To see the distribution of the predictor variable. Ideally, a close to normal distribution (a bell shaped curve), without being skewed to the left or right is preferred.

Construct a Scatter plot, a box plot, and a density plot and comment briefly on them.

c) Obtain a linear correlation measurement to initially investigate the linear relationship between these two variables. Are these variables linearly related to each other? Explain.

d) Build the linear regression model.

e) Comment on the test (i.e. HO: Regression is not useful vs HA: Regression is useful) to formalize your initial investigation of these variables. What is your decision for this test? Write a conclusion in everyday language for this test.

f) Comment on the test to ensure that the slope of our regression line is not zero (i.e. HO: bMin/G = 0 vs HA: bMin/G ≠ 0). What is your decision for this test? Write a conclusion using everyday language for this test.

g) Now that you have built the linear model, and established the relationship between the predictor and response write down the mathematical formula for the outcome as a function the independent variable.

h) What is the R-Square value for this analysis? In the context of this problem, carefully explain what this number is measuring.

i) In the context of this problem, carefully interpret the y-intercept and slope of your estimated regression line. Again, carefully explain what these numbers are measuring. (You need to do more than say they are the y-intercept and slope of the line.)

j) Discuss whether or not the assumptions for this procedure are being meet. Checking the assumptions:
> Model Appropriate: Make sure no existing trends remain in the residual plot.
> Constant Variance: Make sure there is no megaphone patterns in the residual plot
> Normality: Make a histogram of the residuals and make sure they follow a normal distribution
> Outliers: Any observations that fall outside ±2*RMSE are considered possible outliers. Who are the outlying players?

k) What value of dielectric would you predict when air void is 5.70, and what is the value of the corresponding residual? What is the 95% prediction interval?

l) What is the 95% Confidence interval for the slope estimate? Interpret it.

Problem 2.
Consider the Prestige dataset from the car package. Build a regression model to model the relationship between income and the predictors taking into account possible interaction terms. Make sure to summarize the data properly (numerically and graphically), check multi-collinearty, assess model assumptions and comment on and interpret the results of the final model.

Use all the following cross validation techniques discussed in class to validate your model and discuss your results: The Validation set Approach, Leave one out cross validation – LOOCV, K-fold cross-validation, Repeated K-fold cross-validation and discuss your results.

Problem 3.
Consider the dataset PimaIndiansDiabetes2 [in mlbench package]. Our goal is to predict the probability of being diabetes positive based on multiple clinical variables.

Use the following code to read the data and remove NAs

data("PimaIndiansDiabetes2", package = "mlbench") PimaIndiansDiabetes2 <- na.omit(PimaIndiansDiabetes2)

1. Summarize the data graphically and numerically.
2. Construct a pairwise correlation matrix
3. Build a model to predict the probability of being diabetes-positive based on the plasma glucose concentration:
a. Comment on this model results and interpret the coefficients
b. Write the logistic equation and make predictions for values of glucose of 30 and 90.
c. The logistic function gives an s-shaped probability curve, plot it and comment on the plot.
4. Build a multiple logistic regression model that includes all the predictors
a. Comment on this model results and interpret the coefficients
b. Write the logistic equation
c. Predict the class membership probabilities of observations based on predictor variables
d. Assign the observations to the class with highest probability score (i.e above 0.5)
e. Assess model accuracy.
Solution Preview

These solutions may offer step-by-step problem-solving explanations or good writing examples that include modern styles of formatting and construction of bibliographies out of text citations and references.
Students may use these solutions for personal skill-building and practice.
Unethical use is strictly forbidden.

# Problem 1.
dielectric <- read.csv("Dielectric.csv", header=TRUE)
summary(dielectric)
#      y               x      
# Min.   :4.260   Min.   :4.350
# 1st Qu.:4.355   1st Qu.:5.412
# Median :4.425   Median :5.845
# Mean   :4.413   Mean   :5.964
# 3rd Qu.:4.465   3rd Qu.:6.490
# Max.   :4.550   Max.   :7.880

# a)
# THe outcome/response variable is y = diaelectric constant
# and the independent/predictor variable is x = air void (%).

# b)
# Scatter plot
plot(y~x, data=dielectric)
# Box plot
boxplot(dielectric)
# Density plot
par(mfrow=c(1,2))
apply(dielectric, 2, hist, freq=FALSE)

# The scatter plot appears to show that both y and x have
# a strong linear relationship following the downward straight
# line.
# Two boxplots for y and x show that both are distributed evenly
# around the mean with no outliers.
# Density plots for y and x show that both appear to be close
# to the normal distribution.

# c)
cor(dielectric)
#            y          x
# y 1.0000000 -0.8830173
# x -0.8830173 1.0000000

# 0.88 (or -0.88) is a pretty high linear correlation number.
# Clearly they are linearly correlated from this result.
This is only a preview of the solution.
Please use the purchase button to see the entire solution.
By purchasing this solution you'll be able to access the following files:
Solution.R
Purchase Solution
$32.00
Google Pay
Amazon
Paypal
Mastercard
Visacard
Discover
Amex
View Available Mathematics Tutors 529 tutors matched
Ionut
(ionut)
Hi! MSc Applied Informatics & Computer Science Engineer. Practical experience in many CS & IT branches.Research work & homework
5/5 (5,654+ sessions)
2 hours avg response
Leo
(Leo)
Hi! I have been a professor in New York and taught in a math department and in an applied math department.
4.9/5 (5,652+ sessions)
2 hours avg response
Pranay
(math1983)
Ph.D. in mathematics and working as an Assistant Professor in University. I can provide help in mathematics, statistics and allied areas.
4.6/5 (5,512+ sessions)
1 hour avg response

Similar Homework Solutions

8.1.0PHP Version420msRequest Duration45MBMemory UsageGET college-homework-library/{category}/{subject}/{id}Route
    • Booting (226ms)time
    • Application (194ms)time
    • 1 x Booting (53.84%)
      226ms
      1 x Application (46.16%)
      194ms
      • Illuminate\Routing\Events\Routing (1.48ms)
      • Illuminate\Routing\Events\RouteMatched (564μs)
      • Illuminate\Foundation\Events\LocaleUpdated (4.48ms)
      • eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibrary (182μs)
      • eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibrary (173μs)
      • Illuminate\Database\Events\ConnectionEstablished (931μs)
      • Illuminate\Database\Events\StatementPrepared (30.83ms)
      • Illuminate\Database\Events\QueryExecuted (1.56ms)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (119μs)
      • eloquent.booting: App\Models\Subject (143μs)
      • eloquent.booted: App\Models\Subject (124μs)
      • Illuminate\Database\Events\StatementPrepared (1.72ms)
      • Illuminate\Database\Events\QueryExecuted (879μs)
      • eloquent.retrieved: App\Models\Subject (108μs)
      • eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibraryFile (155μs)
      • eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibraryFile (43μs)
      • Illuminate\Database\Events\StatementPrepared (743μs)
      • Illuminate\Database\Events\QueryExecuted (3.35ms)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (83μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (16μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (13μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (8μs)
      • eloquent.booting: App\Models\SubjectCat (424μs)
      • eloquent.booted: App\Models\SubjectCat (50μs)
      • Illuminate\Database\Events\StatementPrepared (692μs)
      • Illuminate\Database\Events\QueryExecuted (873μs)
      • eloquent.retrieved: App\Models\SubjectCat (102μs)
      • Illuminate\Cache\Events\CacheHit (10.74ms)
      • Illuminate\Cache\Events\CacheMissed (177μs)
      • Illuminate\Database\Events\StatementPrepared (776μs)
      • Illuminate\Database\Events\QueryExecuted (31.04ms)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (83μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (16μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (9μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (7μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (6μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (7μs)
      • Illuminate\Database\Events\StatementPrepared (1.65ms)
      • Illuminate\Database\Events\QueryExecuted (996μs)
      • eloquent.retrieved: App\Models\Subject (99μs)
      • Illuminate\Cache\Events\KeyWritten (1.01ms)
      • Illuminate\Database\Events\StatementPrepared (1.49ms)
      • Illuminate\Database\Events\QueryExecuted (1.27ms)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (58μs)
      • Illuminate\Database\Events\StatementPrepared (962μs)
      • Illuminate\Database\Events\QueryExecuted (941μs)
      • Illuminate\Database\Events\StatementPrepared (578μs)
      • Illuminate\Database\Events\QueryExecuted (997μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (48μs)
      • Illuminate\Cache\Events\CacheHit (428μs)
      • creating: homework.show (187μs)
      • composing: homework.show (78μs)
      • creating: components.breadcrumbs (205μs)
      • composing: components.breadcrumbs (83μs)
      • Illuminate\Database\Events\StatementPrepared (1.26ms)
      • Illuminate\Database\Events\QueryExecuted (3.64ms)
      • eloquent.retrieved: App\Models\SubjectCat (444μs)
      • Illuminate\Cache\Events\CacheMissed (7.22ms)
      • Illuminate\Database\Events\StatementPrepared (749μs)
      • Illuminate\Database\Events\QueryExecuted (802μs)
      • eloquent.retrieved: App\Models\SubjectCat (157μs)
      • Illuminate\Cache\Events\KeyWritten (343μs)
      • Illuminate\Cache\Events\CacheHit (214μs)
      • Illuminate\Cache\Events\CacheHit (208μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (136μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (115μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (99μs)
      • Illuminate\Cache\Events\CacheHit (115μs)
      • Illuminate\Cache\Events\CacheHit (98μs)
      • Illuminate\Cache\Events\CacheHit (125μs)
      • Illuminate\Cache\Events\CacheHit (235μs)
      • Illuminate\Cache\Events\CacheMissed (2.07ms)
      • Illuminate\Database\Events\StatementPrepared (698μs)
      • Illuminate\Database\Events\QueryExecuted (921μs)
      • eloquent.retrieved: App\Models\SubjectCat (84μs)
      • Illuminate\Cache\Events\KeyWritten (459μs)
      • Illuminate\Cache\Events\CacheHit (231μs)
      • Illuminate\Cache\Events\CacheHit (227μs)
      • Illuminate\Cache\Events\CacheHit (131μs)
      • Illuminate\Cache\Events\CacheHit (138μs)
      • Illuminate\Cache\Events\CacheHit (126μs)
      • Illuminate\Cache\Events\CacheHit (135μs)
      • Illuminate\Cache\Events\CacheHit (168μs)
      • Illuminate\Cache\Events\CacheMissed (233μs)
      • Illuminate\Database\Events\StatementPrepared (654μs)
      • Illuminate\Database\Events\QueryExecuted (805μs)
      • eloquent.retrieved: App\Models\SubjectCat (74μs)
      • Illuminate\Cache\Events\KeyWritten (294μs)
      • Illuminate\Cache\Events\CacheHit (176μs)
      • Illuminate\Cache\Events\CacheHit (154μs)
      • Illuminate\Cache\Events\CacheHit (257μs)
      • Illuminate\Cache\Events\CacheHit (144μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (146μs)
      • Illuminate\Cache\Events\CacheHit (160μs)
      • Illuminate\Cache\Events\CacheHit (195μs)
      • Illuminate\Cache\Events\CacheHit (119μs)
      • Illuminate\Cache\Events\CacheHit (131μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheHit (130μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (127μs)
      • Illuminate\Cache\Events\CacheHit (101μs)
      • Illuminate\Cache\Events\CacheHit (114μs)
      • Illuminate\Cache\Events\CacheHit (100μs)
      • Illuminate\Cache\Events\CacheHit (112μs)
      • Illuminate\Cache\Events\CacheHit (97μs)
      • Illuminate\Cache\Events\CacheHit (110μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (129μs)
      • Illuminate\Cache\Events\CacheHit (109μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (98μs)
      • Illuminate\Cache\Events\CacheHit (133μs)
      • Illuminate\Cache\Events\CacheHit (113μs)
      • Illuminate\Cache\Events\CacheHit (127μs)
      • Illuminate\Cache\Events\CacheHit (112μs)
      • Illuminate\Cache\Events\CacheHit (131μs)
      • Illuminate\Cache\Events\CacheHit (114μs)
      • Illuminate\Cache\Events\CacheMissed (210μs)
      • Illuminate\Database\Events\StatementPrepared (668μs)
      • Illuminate\Database\Events\QueryExecuted (882μs)
      • eloquent.retrieved: App\Models\SubjectCat (72μs)
      • Illuminate\Cache\Events\KeyWritten (297μs)
      • Illuminate\Cache\Events\CacheHit (199μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (111μs)
      • Illuminate\Cache\Events\CacheHit (145μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (99μs)
      • Illuminate\Cache\Events\CacheHit (171μs)
      • Illuminate\Cache\Events\CacheHit (125μs)
      • Illuminate\Cache\Events\CacheHit (126μs)
      • Illuminate\Cache\Events\CacheHit (108μs)
      • Illuminate\Cache\Events\CacheHit (125μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (126μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (344μs)
      • Illuminate\Cache\Events\CacheHit (140μs)
      • Illuminate\Cache\Events\CacheHit (131μs)
      • Illuminate\Cache\Events\CacheHit (109μs)
      • Illuminate\Cache\Events\CacheHit (183μs)
      • Illuminate\Cache\Events\CacheHit (115μs)
      • Illuminate\Cache\Events\CacheHit (125μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheHit (123μs)
      • Illuminate\Cache\Events\CacheHit (149μs)
      • Illuminate\Cache\Events\CacheHit (1.72ms)
      • Illuminate\Cache\Events\CacheHit (138μs)
      • Illuminate\Cache\Events\CacheHit (140μs)
      • Illuminate\Cache\Events\CacheHit (233μs)
      • Illuminate\Cache\Events\CacheHit (225μs)
      • Illuminate\Cache\Events\CacheHit (141μs)
      • Illuminate\Cache\Events\CacheHit (159μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (126μs)
      • Illuminate\Cache\Events\CacheHit (99μs)
      • Illuminate\Cache\Events\CacheHit (147μs)
      • Illuminate\Cache\Events\CacheHit (175μs)
      • Illuminate\Cache\Events\CacheMissed (223μs)
      • Illuminate\Database\Events\StatementPrepared (855μs)
      • Illuminate\Database\Events\QueryExecuted (823μs)
      • eloquent.retrieved: App\Models\SubjectCat (72μs)
      • Illuminate\Cache\Events\KeyWritten (285μs)
      • Illuminate\Cache\Events\CacheHit (170μs)
      • Illuminate\Cache\Events\CacheHit (141μs)
      • Illuminate\Cache\Events\CacheHit (109μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (125μs)
      • Illuminate\Cache\Events\CacheHit (290μs)
      • Illuminate\Cache\Events\CacheMissed (224μs)
      • Illuminate\Database\Events\StatementPrepared (590μs)
      • Illuminate\Database\Events\QueryExecuted (869μs)
      • eloquent.retrieved: App\Models\SubjectCat (78μs)
      • Illuminate\Cache\Events\KeyWritten (292μs)
      • Illuminate\Cache\Events\CacheHit (180μs)
      • Illuminate\Cache\Events\CacheHit (159μs)
      • Illuminate\Cache\Events\CacheHit (144μs)
      • Illuminate\Cache\Events\CacheHit (160μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (136μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (161μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheHit (148μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (672μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (150μs)
      • Illuminate\Cache\Events\CacheHit (126μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (111μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (100μs)
      • Illuminate\Cache\Events\CacheHit (111μs)
      • Illuminate\Cache\Events\CacheHit (100μs)
      • Illuminate\Cache\Events\CacheHit (126μs)
      • Illuminate\Cache\Events\CacheHit (104μs)
      • Illuminate\Cache\Events\CacheHit (113μs)
      • Illuminate\Cache\Events\CacheHit (98μs)
      • Illuminate\Cache\Events\CacheHit (115μs)
      • Illuminate\Cache\Events\CacheHit (100μs)
      • Illuminate\Cache\Events\CacheHit (137μs)
      • Illuminate\Cache\Events\CacheHit (133μs)
      • Illuminate\Cache\Events\CacheMissed (205μs)
      • Illuminate\Database\Events\StatementPrepared (637μs)
      • Illuminate\Database\Events\QueryExecuted (885μs)
      • eloquent.retrieved: App\Models\SubjectCat (73μs)
      • Illuminate\Cache\Events\KeyWritten (279μs)
      • Illuminate\Cache\Events\CacheHit (248μs)
      • Illuminate\Cache\Events\CacheHit (169μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (99μs)
      • Illuminate\Cache\Events\CacheHit (114μs)
      • Illuminate\Cache\Events\CacheHit (141μs)
      • Illuminate\Cache\Events\CacheHit (143μs)
      • Illuminate\Cache\Events\CacheHit (113μs)
      • Illuminate\Cache\Events\CacheHit (129μs)
      • Illuminate\Cache\Events\CacheHit (103μs)
      • Illuminate\Cache\Events\CacheHit (113μs)
      • Illuminate\Cache\Events\CacheHit (97μs)
      • Illuminate\Cache\Events\CacheHit (114μs)
      • Illuminate\Cache\Events\CacheHit (99μs)
      • Illuminate\Cache\Events\CacheHit (113μs)
      • Illuminate\Cache\Events\CacheHit (98μs)
      • Illuminate\Cache\Events\CacheHit (147μs)
      • Illuminate\Cache\Events\CacheHit (112μs)
      • Illuminate\Cache\Events\CacheHit (124μs)
      • Illuminate\Cache\Events\CacheHit (101μs)
      • Illuminate\Cache\Events\CacheHit (379μs)
      • Illuminate\Cache\Events\CacheHit (134μs)
      • Illuminate\Cache\Events\CacheHit (123μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (152μs)
      • Illuminate\Cache\Events\CacheHit (126μs)
      • Illuminate\Cache\Events\CacheHit (100μs)
      • Illuminate\Cache\Events\CacheHit (153μs)
      • Illuminate\Cache\Events\CacheHit (114μs)
      • Illuminate\Cache\Events\CacheHit (159μs)
      • Illuminate\Cache\Events\CacheHit (113μs)
      • Illuminate\Cache\Events\CacheHit (123μs)
      • Illuminate\Cache\Events\CacheHit (101μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (110μs)
      • Illuminate\Cache\Events\CacheHit (115μs)
      • Illuminate\Cache\Events\CacheHit (99μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (99μs)
      • Illuminate\Cache\Events\CacheHit (115μs)
      • Illuminate\Cache\Events\CacheHit (99μs)
      • Illuminate\Cache\Events\CacheHit (114μs)
      • Illuminate\Cache\Events\CacheHit (97μs)
      • Illuminate\Cache\Events\CacheHit (114μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (102μs)
      • Illuminate\Cache\Events\CacheHit (136μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (136μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (127μs)
      • Illuminate\Cache\Events\CacheHit (121μs)
      • Illuminate\Cache\Events\CacheHit (123μs)
      • Illuminate\Cache\Events\CacheHit (99μs)
      • Illuminate\Cache\Events\CacheHit (132μs)
      • Illuminate\Cache\Events\CacheHit (103μs)
      • Illuminate\Cache\Events\CacheHit (135μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (131μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheMissed (213μs)
      • Illuminate\Database\Events\StatementPrepared (780μs)
      • Illuminate\Database\Events\QueryExecuted (880μs)
      • eloquent.retrieved: App\Models\SubjectCat (78μs)
      • Illuminate\Cache\Events\KeyWritten (311μs)
      • Illuminate\Cache\Events\CacheHit (211μs)
      • Illuminate\Cache\Events\CacheHit (184μs)
      • Illuminate\Cache\Events\CacheHit (127μs)
      • Illuminate\Cache\Events\CacheHit (161μs)
      • Illuminate\Cache\Events\CacheHit (134μs)
      • Illuminate\Cache\Events\CacheHit (146μs)
      • Illuminate\Cache\Events\CacheHit (103μs)
      • Illuminate\Cache\Events\CacheHit (150μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (166μs)
      • Illuminate\Cache\Events\CacheHit (112μs)
      • Illuminate\Cache\Events\CacheHit (114μs)
      • Illuminate\Cache\Events\CacheHit (98μs)
      • Illuminate\Cache\Events\CacheHit (128μs)
      • Illuminate\Cache\Events\CacheHit (100μs)
      • Illuminate\Cache\Events\CacheHit (185μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheHit (641μs)
      • Illuminate\Cache\Events\CacheHit (115μs)
      • Illuminate\Cache\Events\CacheHit (122μs)
      • Illuminate\Cache\Events\CacheHit (108μs)
      • Illuminate\Cache\Events\CacheHit (115μs)
      • Illuminate\Cache\Events\CacheHit (101μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (100μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (101μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (102μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (124μs)
      • Illuminate\Cache\Events\CacheHit (112μs)
      • Illuminate\Cache\Events\CacheHit (128μs)
      • Illuminate\Cache\Events\CacheHit (111μs)
      • Illuminate\Cache\Events\CacheHit (158μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (139μs)
      • Illuminate\Cache\Events\CacheHit (210μs)
      • Illuminate\Cache\Events\CacheHit (155μs)
      • Illuminate\Cache\Events\CacheHit (111μs)
      • Illuminate\Cache\Events\CacheHit (129μs)
      • Illuminate\Cache\Events\CacheHit (110μs)
      • Illuminate\Cache\Events\CacheHit (166μs)
      • Illuminate\Cache\Events\CacheHit (121μs)
      • Illuminate\Cache\Events\CacheHit (125μs)
      • Illuminate\Cache\Events\CacheHit (130μs)
      • Illuminate\Cache\Events\CacheHit (130μs)
      • Illuminate\Cache\Events\CacheHit (110μs)
      • Illuminate\Cache\Events\CacheHit (132μs)
      • Illuminate\Cache\Events\CacheHit (114μs)
      • Illuminate\Cache\Events\CacheHit (123μs)
      • Illuminate\Cache\Events\CacheHit (100μs)
      • Illuminate\Cache\Events\CacheHit (113μs)
      • Illuminate\Cache\Events\CacheHit (101μs)
      • Illuminate\Cache\Events\CacheHit (139μs)
      • Illuminate\Cache\Events\CacheHit (109μs)
      • Illuminate\Cache\Events\CacheHit (133μs)
      • Illuminate\Cache\Events\CacheHit (110μs)
      • Illuminate\Cache\Events\CacheHit (127μs)
      • Illuminate\Cache\Events\CacheHit (108μs)
      • Illuminate\Cache\Events\CacheHit (132μs)
      • Illuminate\Cache\Events\CacheHit (121μs)
      • Illuminate\Cache\Events\CacheHit (134μs)
      • Illuminate\Cache\Events\CacheHit (114μs)
      • Illuminate\Cache\Events\CacheHit (136μs)
      • Illuminate\Cache\Events\CacheHit (115μs)
      • Illuminate\Cache\Events\CacheHit (132μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (177μs)
      • Illuminate\Cache\Events\CacheHit (180μs)
      • Illuminate\Cache\Events\CacheHit (133μs)
      • Illuminate\Cache\Events\CacheHit (104μs)
      • Illuminate\Cache\Events\CacheHit (125μs)
      • Illuminate\Cache\Events\CacheHit (111μs)
      • Illuminate\Cache\Events\CacheHit (161μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (124μs)
      • Illuminate\Cache\Events\CacheHit (98μs)
      • Illuminate\Cache\Events\CacheHit (132μs)
      • Illuminate\Cache\Events\CacheHit (97μs)
      • Illuminate\Cache\Events\CacheHit (111μs)
      • Illuminate\Cache\Events\CacheHit (96μs)
      • Illuminate\Cache\Events\CacheHit (121μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (127μs)
      • Illuminate\Cache\Events\CacheHit (104μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (101μs)
      • Illuminate\Cache\Events\CacheMissed (202μs)
      • Illuminate\Database\Events\StatementPrepared (792μs)
      • Illuminate\Database\Events\QueryExecuted (1.13ms)
      • eloquent.retrieved: App\Models\SubjectCat (81μs)
      • Illuminate\Cache\Events\KeyWritten (337μs)
      • Illuminate\Cache\Events\CacheHit (191μs)
      • Illuminate\Cache\Events\CacheHit (189μs)
      • Illuminate\Cache\Events\CacheHit (115μs)
      • Illuminate\Cache\Events\CacheHit (125μs)
      • Illuminate\Cache\Events\CacheHit (104μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (150μs)
      • Illuminate\Cache\Events\CacheHit (141μs)
      • Illuminate\Cache\Events\CacheHit (103μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (101μs)
      • Illuminate\Cache\Events\CacheHit (133μs)
      • Illuminate\Cache\Events\CacheHit (127μs)
      • Illuminate\Cache\Events\CacheHit (126μs)
      • Illuminate\Cache\Events\CacheHit (100μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (130μs)
      • creating: site.layouts.app (365μs)
      • composing: site.layouts.app (18μs)
      • creating: components.canonical (394μs)
      • composing: components.canonical (80μs)
      • creating: components.open-graph (159μs)
      • composing: components.open-graph (73μs)
      • creating: site.headers.header (245μs)
      • composing: site.headers.header (51μs)
      • Illuminate\Cache\Events\CacheHit (1.46ms)
      • creating: components.footer (69μs)
      • composing: components.footer (69μs)
      • Illuminate\Cache\Events\CacheHit (651μs)
      • Illuminate\Cache\Events\CacheMissed (296μs)
      • Illuminate\Database\Events\StatementPrepared (1.59ms)
      • Illuminate\Database\Events\QueryExecuted (1.02ms)
      • eloquent.retrieved: App\Models\SubjectCat (70μs)
      • Illuminate\Cache\Events\KeyWritten (323μs)
      • Illuminate\Cache\Events\CacheHit (297μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (140μs)
      • Illuminate\Cache\Events\CacheHit (133μs)
      • Illuminate\Cache\Events\CacheHit (132μs)
      • Illuminate\Cache\Events\CacheHit (204μs)
      • Illuminate\Cache\Events\CacheHit (312μs)
      • Illuminate\Cache\Events\CacheHit (166μs)
      • Illuminate\Cache\Events\CacheHit (154μs)
      • Illuminate\Cache\Events\CacheHit (137μs)
      • Illuminate\Cache\Events\CacheHit (142μs)
      • Illuminate\Cache\Events\CacheHit (165μs)
      • creating: components.forms.contact-us (259μs)
      • composing: components.forms.contact-us (158μs)
      • creating: components.forms.get-started (154μs)
      • composing: components.forms.get-started (49μs)
      • creating: components.forms.free-tool-download (154μs)
      • composing: components.forms.free-tool-download (68μs)
      • creating: components.forms.claim-free-worksheet (108μs)
      • composing: components.forms.claim-free-worksheet (43μs)
      • creating: components.forms.tutor-subscription-waitlist (80μs)
      • composing: components.forms.tutor-subscription-waitlist (40μs)
      • creating: components.forms.tutor-subscription-join (79μs)
      • composing: components.forms.tutor-subscription-join (39μs)
      • creating: components.forms.tutor-support (78μs)
      • composing: components.forms.tutor-support (38μs)
      • 311 x Illuminate\Cache\Events\CacheHit (13.45%)
        56.49ms
        20 x Illuminate\Database\Events\QueryExecuted (13%)
        54.56ms
        20 x Illuminate\Database\Events\StatementPrepared (11.6%)
        48.71ms
        11 x Illuminate\Cache\Events\CacheMissed (2.68%)
        11.27ms
        1 x Illuminate\Foundation\Events\LocaleUpdated (1.07%)
        4.48ms
        11 x Illuminate\Cache\Events\KeyWritten (1.01%)
        4.23ms
        1 x Illuminate\Routing\Events\Routing (0.35%)
        1.48ms
        12 x eloquent.retrieved: App\Models\SubjectCat (0.33%)
        1.38ms
        1 x Illuminate\Database\Events\ConnectionEstablished (0.22%)
        931μs
        1 x Illuminate\Routing\Events\RouteMatched (0.13%)
        564μs
        1 x eloquent.booting: App\Models\SubjectCat (0.1%)
        424μs
        1 x creating: components.canonical (0.09%)
        394μs
        1 x creating: site.layouts.app (0.09%)
        365μs
        1 x creating: components.forms.contact-us (0.06%)
        259μs
        7 x eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (0.06%)
        247μs
        1 x creating: site.headers.header (0.06%)
        245μs
        6 x eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (0.05%)
        226μs
        2 x eloquent.retrieved: App\Models\Subject (0.05%)
        207μs
        1 x creating: components.breadcrumbs (0.05%)
        205μs
        1 x creating: homework.show (0.04%)
        187μs
        1 x eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibrary (0.04%)
        182μs
        1 x eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibrary (0.04%)
        173μs
        1 x creating: components.open-graph (0.04%)
        159μs
        1 x composing: components.forms.contact-us (0.04%)
        158μs
        1 x eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibraryFile (0.04%)
        155μs
        1 x creating: components.forms.get-started (0.04%)
        154μs
        1 x creating: components.forms.free-tool-download (0.04%)
        154μs
        1 x eloquent.booting: App\Models\Subject (0.03%)
        143μs
        1 x eloquent.booted: App\Models\Subject (0.03%)
        124μs
        1 x creating: components.forms.claim-free-worksheet (0.03%)
        108μs
        1 x composing: components.breadcrumbs (0.02%)
        83μs
        1 x composing: components.canonical (0.02%)
        80μs
        1 x creating: components.forms.tutor-subscription-waitlist (0.02%)
        80μs
        1 x creating: components.forms.tutor-subscription-join (0.02%)
        79μs
        1 x composing: homework.show (0.02%)
        78μs
        1 x creating: components.forms.tutor-support (0.02%)
        78μs
        1 x composing: components.open-graph (0.02%)
        73μs
        1 x composing: components.footer (0.02%)
        69μs
        1 x creating: components.footer (0.02%)
        69μs
        1 x composing: components.forms.free-tool-download (0.02%)
        68μs
        1 x composing: site.headers.header (0.01%)
        51μs
        1 x eloquent.booted: App\Models\SubjectCat (0.01%)
        50μs
        1 x composing: components.forms.get-started (0.01%)
        49μs
        1 x composing: components.forms.claim-free-worksheet (0.01%)
        43μs
        1 x eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibraryFile (0.01%)
        43μs
        1 x composing: components.forms.tutor-subscription-waitlist (0.01%)
        40μs
        1 x composing: components.forms.tutor-subscription-join (0.01%)
        39μs
        1 x composing: components.forms.tutor-support (0.01%)
        38μs
        1 x composing: site.layouts.app (0%)
        18μs
      14 templates were rendered
      • 1x homework.showshow.blade.phpblade
      • 1x components.breadcrumbsbreadcrumbs.blade.phpblade
      • 1x site.layouts.appapp.blade.phpblade
      • 1x components.canonicalcanonical.blade.phpblade
      • 1x components.open-graphopen-graph.blade.phpblade
      • 1x site.headers.headerheader.blade.phpblade
      • 1x components.footerfooter.blade.phpblade
      • 1x components.forms.contact-uscontact-us.blade.phpblade
      • 1x components.forms.get-startedget-started.blade.phpblade
      • 1x components.forms.free-tool-downloadfree-tool-download.blade.phpblade
      • 1x components.forms.claim-free-worksheetclaim-free-worksheet.blade.phpblade
      • 1x components.forms.tutor-subscription-waitlisttutor-subscription-waitlist.blade.phpblade
      • 1x components.forms.tutor-subscription-jointutor-subscription-join.blade.phpblade
      • 1x components.forms.tutor-supporttutor-support.blade.phpblade
      uri
      GET college-homework-library/{category}/{subject}/{id}
      middleware
      web, utm.parameters
      controller
      App\Http\Controllers\HomeworkLibraryController@show
      namespace
      where
      as
      homework.show
      file
      app/Http/Controllers/HomeworkLibraryController.php:79-176
      20 statements were executed, 5 of which were duplicates, 15 unique. Show only duplicated86.02ms
      • Connection Establishedtwenty4_siteHomeworkLibraryController.php#91
        Backtrace
        • 13. app/Http/Controllers/HomeworkLibraryController.php:91
        • 14. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 15. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 16. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
        • 17. vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • select * from `solutionslibrary` where `status` = 'published' and `price` > 0 and `solutionslibrary`.`id` = '54089' limit 1
        31.19mstwenty4_siteHomeworkLibraryController.php#97
        Bindings
        • 0: published
        • 1: 0
        • 2: 54089
        Backtrace
        • 16. app/Http/Controllers/HomeworkLibraryController.php:97
        • 17. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 18. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 19. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
        • 20. vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • select * from `subjects` where `subjects`.`id` in (60)
        1.17mstwenty4_siteHomeworkLibraryController.php#97
        Backtrace
        • 21. app/Http/Controllers/HomeworkLibraryController.php:97
        • 22. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 23. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 24. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
        • 25. vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • select * from `solutionslibrary_files` where `solutionslibrary_files`.`solutionlib_id` in (54089)
        3.55mstwenty4_siteHomeworkLibraryController.php#97
        Backtrace
        • 21. app/Http/Controllers/HomeworkLibraryController.php:97
        • 22. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 23. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 24. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
        • 25. vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • select * from `subject_cats` where `subject_cats`.`id` = 1 limit 1
        990μstwenty4_siteHomeworkLibrary.php#201
        Bindings
        • 0: 1
        Backtrace
        • 20. app/Models/HomeworkLibrary/HomeworkLibrary.php:201
        • 26. app/Http/Controllers/HomeworkLibraryController.php:105
        • 27. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 28. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 29. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • select * from `solutionslibrary` where `id` <> 54089 and `subject` = 60 and `status` = 'published' and `price` > 0 order by RAND() limit 6
        31.15mstwenty4_siteHomeworkLibraryRepository.php#30
        Bindings
        • 0: 54089
        • 1: 60
        • 2: published
        • 3: 0
        Backtrace
        • 14. app/Repositories/HomeworkLibraryRepository.php:30
        • 15. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 16. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 18. app/Repositories/HomeworkLibraryRepository.php:39
        • 19. app/Http/Controllers/HomeworkLibraryController.php:139
      • select * from `subjects` where `subjects`.`id` in (60)
        2.07mstwenty4_siteHomeworkLibraryRepository.php#30
        Backtrace
        • 19. app/Repositories/HomeworkLibraryRepository.php:30
        • 20. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 21. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 23. app/Repositories/HomeworkLibraryRepository.php:39
        • 24. app/Http/Controllers/HomeworkLibraryController.php:139
      • select * from `solutionslibrary_files` where `solutionslibrary_files`.`solutionlib_id` = 54089 and `solutionslibrary_files`.`solutionlib_id` is not null and `publish` = 'question' order by `order` asc, `id` asc
        1.39mstwenty4_siteHomeworkLibrary.php#260
        Bindings
        • 0: 54089
        • 1: question
        Backtrace
        • 15. app/Models/HomeworkLibrary/HomeworkLibrary.php:260
        • 16. app/Transformers/HomeworkLibrary/HomeworkLibraryTransformer.php:58
        • 19. vendor/league/fractal/src/TransformerAbstract.php:128
        • 20. vendor/league/fractal/src/TransformerAbstract.php:107
        • 21. vendor/league/fractal/src/Scope.php:383
      • select * from `solutionslibrary_files` where `solutionslibrary_files`.`solutionlib_id` = 54089 and `solutionslibrary_files`.`solutionlib_id` is not null and `publish` = 'teaser' order by `order` asc, `id` asc
        1.13mstwenty4_siteHomeworkLibrary.php#260
        Bindings
        • 0: 54089
        • 1: teaser
        Backtrace
        • 15. app/Models/HomeworkLibrary/HomeworkLibrary.php:260
        • 16. app/Transformers/HomeworkLibrary/HomeworkLibraryTransformer.php:69
        • 19. vendor/league/fractal/src/TransformerAbstract.php:128
        • 20. vendor/league/fractal/src/TransformerAbstract.php:107
        • 21. vendor/league/fractal/src/Scope.php:383
      • select * from `solutionslibrary_files` where `solutionslibrary_files`.`solutionlib_id` = 54089 and `solutionslibrary_files`.`solutionlib_id` is not null and `publish` = 'solution' order by `order` asc, `id` asc
        950μstwenty4_siteHomeworkLibrary.php#260
        Bindings
        • 0: 54089
        • 1: solution
        Backtrace
        • 15. app/Models/HomeworkLibrary/HomeworkLibrary.php:260
        • 16. app/Transformers/HomeworkLibrary/HomeworkLibraryTransformer.php:80
        • 19. vendor/league/fractal/src/TransformerAbstract.php:128
        • 20. vendor/league/fractal/src/TransformerAbstract.php:107
        • 21. vendor/league/fractal/src/Scope.php:383
      • select * from `subject_cats` where `subject_cats`.`id` = 1 limit 1
        1.04mstwenty4_siteHomeworkLibrary.php#201
        Bindings
        • 0: 1
        Backtrace
        • 20. app/Models/HomeworkLibrary/HomeworkLibrary.php:201
        • 32. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
        • 33. vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
        • 34. vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php:69
        • 35. vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70
      • select * from `subject_cats` where `subject_cats`.`id` = 1 limit 1
        1.1mstwenty4_siteSubject.php#100
        Bindings
        • 0: 1
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 3 limit 1
        1.04mstwenty4_siteSubject.php#100
        Bindings
        • 0: 3
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 4 limit 1
        950μstwenty4_siteSubject.php#100
        Bindings
        • 0: 4
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 10 limit 1
        1.02mstwenty4_siteSubject.php#100
        Bindings
        • 0: 10
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 33 limit 1
        1.16mstwenty4_siteSubject.php#100
        Bindings
        • 0: 33
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 11 limit 1
        950μstwenty4_siteSubject.php#100
        Bindings
        • 0: 11
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 5 limit 1
        920μstwenty4_siteSubject.php#100
        Bindings
        • 0: 5
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 34 limit 1
        1.08mstwenty4_siteSubject.php#100
        Bindings
        • 0: 34
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 31 limit 1
        1.14mstwenty4_siteSubject.php#100
        Bindings
        • 0: 31
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 36 limit 1
        2.03mstwenty4_siteSubject.php#100
        Bindings
        • 0: 36
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 28. view::components.footer:170
      App\Models\SubjectCat
      12SubjectCat.php
      App\Models\HomeworkLibrary\HomeworkLibrary
      7HomeworkLibrary.php
      App\Models\HomeworkLibrary\HomeworkLibraryFile
      6HomeworkLibraryFile.php
      App\Models\Subject
      2Subject.php
          _token
          rsBYtUX6JhIJ5M8IjCiUha9zpt3KYVhYKlIvFOVG
          utm_source
          direct
          redirectUrl
          /college-homework-library/Mathematics/Mathematics-Other/54089
          _previous
          array:1 [ "url" => "https://staging.dev.24houranswers.com/college-homework-library/Mathematics/Mat...
          _flash
          array:2 [ "old" => [] "new" => [] ]
          PHPDEBUGBAR_STACK_DATA
          []
          path_info
          /college-homework-library/Mathematics/Mathematics-Other/54089
          status_code
          200
          
          status_text
          OK
          format
          html
          content_type
          text/html; charset=UTF-8
          request_query
          []
          
          request_request
          []
          
          request_headers
          0 of 0
          array:21 [ "priority" => array:1 [ 0 => "u=0, i" ] "accept-encoding" => array:1 [ 0 => "gzip, deflate, br, zstd" ] "sec-fetch-dest" => array:1 [ 0 => "document" ] "sec-fetch-user" => array:1 [ 0 => "?1" ] "sec-fetch-mode" => array:1 [ 0 => "navigate" ] "sec-fetch-site" => array:1 [ 0 => "none" ] "accept" => array:1 [ 0 => "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7" ] "user-agent" => array:1 [ 0 => "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" ] "upgrade-insecure-requests" => array:1 [ 0 => "1" ] "sec-ch-ua-platform" => array:1 [ 0 => ""Windows"" ] "sec-ch-ua-mobile" => array:1 [ 0 => "?0" ] "sec-ch-ua" => array:1 [ 0 => ""HeadlessChrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"" ] "cache-control" => array:1 [ 0 => "no-cache" ] "pragma" => array:1 [ 0 => "no-cache" ] "x-amzn-trace-id" => array:1 [ 0 => "Root=1-6809f70b-768e2283362bd07506f0f900" ] "host" => array:1 [ 0 => "staging.dev.24houranswers.com" ] "x-forwarded-port" => array:1 [ 0 => "443" ] "x-forwarded-proto" => array:1 [ 0 => "https" ] "x-forwarded-for" => array:1 [ 0 => "18.224.23.12" ] "content-length" => array:1 [ 0 => "" ] "content-type" => array:1 [ 0 => "" ] ]
          request_cookies
          []
          
          response_headers
          0 of 0
          array:5 [ "content-type" => array:1 [ 0 => "text/html; charset=UTF-8" ] "cache-control" => array:1 [ 0 => "no-cache, private" ] "date" => array:1 [ 0 => "Thu, 24 Apr 2025 08:32:12 GMT" ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IkJXQmI3YU9CNWxKbUVIWHZLSTk2b2c9PSIsInZhbHVlIjoiSXRTU3VBaUlrVzdEUTNnNUNEdlphNm5FcUNsNXpNMjNRUjBYRVdRR2gxczFsZStUbGg4em9yNzA5Wlg4TlVGUlExYml4b3dBTnE4ay9iK2dId2JUazJpUzlkOFlLZW9vVUZsdDJkdmt5TnJQTWhkeXAxaWR3eGt4U0QvdVl4Q1EiLCJtYWMiOiJjY2M1N2U1Y2ZkZDQzZDY2ZGJkMzE0NjBkYjBhODI1YzE1MmFhYzVkODA5ZTcyZjMwMmFiYTZlMGY4ZWYyMWQ3IiwidGFnIjoiIn0%3D; expires=Thu, 24 Apr 2025 10:32:12 GMT; Max-Age=7200; path=/; domain=.24houranswers.com; samesite=laxXSRF-TOKEN=eyJpdiI6IkJXQmI3YU9CNWxKbUVIWHZLSTk2b2c9PSIsInZhbHVlIjoiSXRTU3VBaUlrVzdEUTNnNUNEdlphNm5FcUNsNXpNMjNRUjBYRVdRR2gxczFsZStUbGg4em9yNzA5Wlg4TlVGUlExYml4b" 1 => "24houranswers_session=eyJpdiI6InFZMVpwZFc5QVV6L3ZRZHBDcTc3a0E9PSIsInZhbHVlIjoiMjRBNWg3eFFtRFMvdENwMmJha0RmdWxLQ3lvdzBscE92WTV4Yy82cytJSWxJR1RMa0lTL1VmY3FBYjNWVkxXaTlBV0JtKzJrYnBXMXpzVVlwTTZoeUU3WmViNGEzUW9SaERndm05cjhFWGJjL25iKzg1REZBbzl5MzlrRGV3NEMiLCJtYWMiOiJjZmQ2MDkyNDBhNjhkNDkwY2ZjYTVjMDFlYjg1N2U1ZTBlZTM1ZDkxNWNjMmM3MGNmNDkyYTZmODVjMmRiYjcwIiwidGFnIjoiIn0%3D; expires=Thu, 24 Apr 2025 10:32:12 GMT; Max-Age=7200; path=/; domain=.24houranswers.com; httponly; samesite=lax24houranswers_session=eyJpdiI6InFZMVpwZFc5QVV6L3ZRZHBDcTc3a0E9PSIsInZhbHVlIjoiMjRBNWg3eFFtRFMvdENwMmJha0RmdWxLQ3lvdzBscE92WTV4Yy82cytJSWxJR1RMa0lTL1VmY3FBYjNWVk" ] "Set-Cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IkJXQmI3YU9CNWxKbUVIWHZLSTk2b2c9PSIsInZhbHVlIjoiSXRTU3VBaUlrVzdEUTNnNUNEdlphNm5FcUNsNXpNMjNRUjBYRVdRR2gxczFsZStUbGg4em9yNzA5Wlg4TlVGUlExYml4b3dBTnE4ay9iK2dId2JUazJpUzlkOFlLZW9vVUZsdDJkdmt5TnJQTWhkeXAxaWR3eGt4U0QvdVl4Q1EiLCJtYWMiOiJjY2M1N2U1Y2ZkZDQzZDY2ZGJkMzE0NjBkYjBhODI1YzE1MmFhYzVkODA5ZTcyZjMwMmFiYTZlMGY4ZWYyMWQ3IiwidGFnIjoiIn0%3D; expires=Thu, 24-Apr-2025 10:32:12 GMT; domain=.24houranswers.com; path=/XSRF-TOKEN=eyJpdiI6IkJXQmI3YU9CNWxKbUVIWHZLSTk2b2c9PSIsInZhbHVlIjoiSXRTU3VBaUlrVzdEUTNnNUNEdlphNm5FcUNsNXpNMjNRUjBYRVdRR2gxczFsZStUbGg4em9yNzA5Wlg4TlVGUlExYml4b" 1 => "24houranswers_session=eyJpdiI6InFZMVpwZFc5QVV6L3ZRZHBDcTc3a0E9PSIsInZhbHVlIjoiMjRBNWg3eFFtRFMvdENwMmJha0RmdWxLQ3lvdzBscE92WTV4Yy82cytJSWxJR1RMa0lTL1VmY3FBYjNWVkxXaTlBV0JtKzJrYnBXMXpzVVlwTTZoeUU3WmViNGEzUW9SaERndm05cjhFWGJjL25iKzg1REZBbzl5MzlrRGV3NEMiLCJtYWMiOiJjZmQ2MDkyNDBhNjhkNDkwY2ZjYTVjMDFlYjg1N2U1ZTBlZTM1ZDkxNWNjMmM3MGNmNDkyYTZmODVjMmRiYjcwIiwidGFnIjoiIn0%3D; expires=Thu, 24-Apr-2025 10:32:12 GMT; domain=.24houranswers.com; path=/; httponly24houranswers_session=eyJpdiI6InFZMVpwZFc5QVV6L3ZRZHBDcTc3a0E9PSIsInZhbHVlIjoiMjRBNWg3eFFtRFMvdENwMmJha0RmdWxLQ3lvdzBscE92WTV4Yy82cytJSWxJR1RMa0lTL1VmY3FBYjNWVk" ] ]
          session_attributes
          0 of 0
          array:6 [ "_token" => "rsBYtUX6JhIJ5M8IjCiUha9zpt3KYVhYKlIvFOVG" "utm_source" => "direct" "redirectUrl" => "/college-homework-library/Mathematics/Mathematics-Other/54089" "_previous" => array:1 [ "url" => "https://staging.dev.24houranswers.com/college-homework-library/Mathematics/Mathematics-Other/54089" ] "_flash" => array:2 [ "old" => [] "new" => [] ] "PHPDEBUGBAR_STACK_DATA" => [] ]