Displaying 6 results from an estimated 6 matches for "bloodpressur".
Did you mean:
bloodpressure
2018 Apr 18
3
Problem with regression line
Hello,
I am trying to graph a regression line using the followings:
Age <- c(39, 47, 45, 47, 65, 46, 67, 42, 67, 56, 64, 56, 59, 34, 42, 48, 45,
17, 20, 19, 36, 50, 39, 21, 44, 53, 63, 29, 25, 69)
BloodPressure <- c(144, 220, 138, 145, 162, 142, 170, 124, 158, 154, 162,
150, 140, 110, 128, 130, 135, 114, 116, 124, 136, 142, 120, 120, 160, 158,
144, 130, 125, 175)
SimpleLinearReg1=lm(Age ~ BloodPressure)
summary(SimpleLinearReg1)
eq = paste0("y = ", round(coeff[2],1), "*x ", round(c...
2018 Apr 18
0
Problem with regression line
Hi, Anne,
assign Age and Bloodpressure in the correct order
to the axes in your call to plot as in:
plot(y = Age, x = BloodPressure)
abline(SimpleLinearReg1)
Hth -- Gerrit
---------------------------------------------------------------------
Dr. Gerrit Eichner Mathematical Institute, Room 212
gerrit.eichner at...
2018 Apr 18
1
Problem with regression line
Hi Anne,
I would suggest to change the linear model to lm(BloodPressure~Age), as
this model makes more sense in biological means (you would assume that
age influences pressure, not vice versa) and also obeys the statistical
assumption of weak exogeneity, that age can be measured without error,
at least compared to error-prone bp measures.
Cheers
Am 18.04.2018 um 16:...
2018 Apr 20
1
Further questions
...9;s take the person whose residual is 76). How do I add a bracket to this vertical distance and name it? I'am getting stuck after the "textxy" function.
Age <- c(39, 47, 45, 47, 65, 46, 67, 42, 67, 56, 64, 56, 59, 34, 42, 48, 45,
17, 20, 19, 36, 50, 39, 21, 44, 53, 63, 29, 25, 69)
BloodPressure <- c(144, 220, 138, 145, 162, 142, 170, 124, 158, 154, 162,
150, 140, 110, 128, 130, 135, 114, 116, 124, 136, 142, 120, 120, 160, 158,
144, 130, 125, 175)
mean(Age)
mean(BloodPressure)
SimpleLinearReg1 <- lm(BloodPressure ~ Age)
summary(SimpleLinearReg1)
coeff <-coefficients(SimpleLinea...
2009 Mar 12
2
MANOVA
Hi All,
I have questions about MANOVA which I am still not sure if appropriately I should use it.
For example I have a data set like this:
BloodPressure (BP) Weight Height
120 115 165
125 145 198
156 99 176
I know that BloodPressure is correlated with both Weight and Height, however colinearity exists between Weight and Height. When I use BP = Weight + Height as the model, one is got to be insignificant. I was t...
2004 Apr 11
1
question on plot dates
I am trying to plot "time" variable (the time is recoded for three days at 5 minutes interval in the format of 2001-05-14 13:45:00) VS. blood pressure. My code is the following:
plot(time, bloodpressure,xlab="Time",ylab="bPress",main="Time VS Blood Pressure", type="l", xaxt="n")
r <- as.POSIXct(round(range(Time), "days"))
axis.POSIXct(1, at=seq(r[1], r[2], by="day"), format="%d-%b")
However the plot only shows...