Simple Regression Analysis: Total Costs and Length of Stay
Fitting the Regression Model
A good practice prior to developing
a bivariate predictive model is to visualize the relationship on a
scatterplot. From the Analyze menu select the Fit Y by X platform
and enter Total Costs in the Y, Response field and Length of Stay
in the X, Factor field. The resulting scatterplot is shown in Figure 12.5 Scatterplot of Total Costs and Length of Stay.
Figure 12.5 Scatterplot of Total Costs and Length of Stay
As expected, as length of stay increases, total costs increase. The correlation between Total Costs and Length of Stay is 0.66 as found in the ...
Get Data Management and Analysis Using JMP now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.