0% found this document useful (0 votes)
85 views3 pages

Weight vs. Systolic Blood Pressure Analysis

Uploaded by

thulasi.v
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
85 views3 pages

Weight vs. Systolic Blood Pressure Analysis

Uploaded by

thulasi.v
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Lab-1 Weight and Blood Pressure

Thulasi-2348152

2023-11-03

Introduction
The dataset consists of 26 observations with three variables: subject, weight, and systolic
blood pressure. In this report, we will perform a thorough analysis of the relationship
between weight and systolic blood pressure, including the construction of a scatter plot,
regression analysis, interpretation of regression results, and a comparison of fitted values
with observed values.
library(readxl)
regression <- read_excel("C:/Users/Admin/Downloads/[Link]")
plot(regression$Weigth,regression$`Symbolic
BP`,col='red',xlab='Weight',ylab='systolic blood pressure',main='systolic
blood pressure and weight regression line')

cor(regression$Weigth,regression$`Symbolic BP`)

## [1] 0.7734903
The value of pearson coefficient r is 0.773,Which is a positive value closer to [Link] there
exist a linear relationship between weight and systolic presssure.
[Link](regression$Weigth,regression$`Symbolic BP`,col='red')
model<-lm(regression$`Symbolic BP`~regression$Weigth)
summary(model)

##
## Call:
## lm(formula = regression$`Symbolic BP` ~ regression$Weigth)
##
## Residuals:
## Min 1Q Median 3Q Max
## -17.182 -6.485 -2.519 8.926 12.143
##
## Coefficients:
## Estimate Std. Error t value Pr(>|t|)
## (Intercept) 69.10437 12.91013 5.353 1.71e-05 ***
## regression$Weigth 0.41942 0.07015 5.979 3.59e-06 ***
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
##
## Residual standard error: 8.681 on 24 degrees of freedom
## Multiple R-squared: 0.5983, Adjusted R-squared: 0.5815
## F-statistic: 35.74 on 1 and 24 DF, p-value: 3.591e-06

abline(lm(regression$`Symbolic BP`~regression$Weigth))
weight and systolic pressure are positively correlated since correlation is [Link] is
independent variable and systolic pressure is dependent [Link] is 69.10437
and regression coefficient of weight is 0.41942. A positive coefficient shows that as the
independent variable value increases, so does the mean of the dependent variable.
fit=[Link](model)
fit

## 1 2 3 4 5 6 7 8
## 138.3079 139.1467 144.5991 134.1137 158.0204 142.5020 148.7933 157.1816
## 9 10 11 12 13 14 15 16
## 152.9874 131.5972 135.3720 139.9855 140.4050 141.2438 135.7914 139.5661
## 17 18 19 20 21 22 23 24
## 142.0826 145.8574 159.2786 150.8903 144.5991 129.0807 169.7640 167.6669
## 25 26
## 149.6321 147.5350

sum(fit)

## [1] 3786

sum(regression$`Symbolic BP`)

## [1] 3786

The sum of fitted values is equal to the sum of observed values.

Conclusion:
In summary, the analysis reveals a strong positive linear relationship between weight and
systolic blood pressure. The regression model fits the data well, and the sum of fitted
values matches the sum of observed values, indicating the model’s accuracy. This suggests
that weight is a significant predictor of systolic blood pressure, with an increase in weight
associated with higher systolic blood pressure.

Common questions

Powered by AI

The intercept of 69.10437 represents the predicted value of systolic blood pressure when weight is zero. It is a baseline value that accounts for other factors influencing systolic pressure, though its real-world interpretability may be limited since a zero weight is not plausible .

Comparing fitted values to observed values helps in assessing the accuracy and validity of the regression model. In this case, the sum of the fitted values is equal to the sum of the observed values, suggesting that the model accurately captures the relationship between the variables .

The scatter plot with a regression line visually illustrates the positive linear relationship between weight and systolic blood pressure. The distribution of data points around the ascending regression line indicates that as weight increases, systolic blood pressure tends to increase, aligning with the calculated correlation .

A high F-statistic of 35.74 indicates that the regression model provides a good fit to the data, significantly better than a model with no predictors. This implies that weight is a meaningful predictor of systolic blood pressure, reinforcing the statistical power of the model .

The regression coefficient of 0.41942 indicates that for every unit increase in weight, the systolic blood pressure is expected to increase by approximately 0.419 mmHg, holding all else constant. This positive coefficient confirms a direct relationship between the two variables .

An R-squared value of 0.5983 indicates that approximately 59.83% of the variability in systolic blood pressure can be explained by weight. This suggests a moderately strong fit, indicating weight accounts for a significant portion of the variation in systolic blood pressure .

The p-value of 3.59e-06 indicates that the relationship between weight and systolic blood pressure is statistically significant at common significance levels (e.g., 0.01, 0.05). This suggests that the observed relationship is not likely due to random chance .

The analysis suggests weight is an effective predictor for systolic blood pressure, evidenced by a strong positive correlation (r=0.773), significant regression coefficient (p<0.001), and a moderately high R-squared value (59.83%). These elements collectively demonstrate predictability and reliability of the model, although other factors may also need consideration for comprehensive prediction .

The Pearson correlation coefficient quantifies the linear relationship between two variables, in this case, weight and systolic blood pressure. A coefficient of 0.773 indicates a strong positive linear relationship, meaning as weight increases, systolic blood pressure tends to also increase .

The standard error of 8.681 measures the average distance that the observed values fall from the regression line. In this context, it quantifies the typical deviation of systolic blood pressure measurements from their predicted values, highlighting the precision of the model estimates .

You might also like