Displaying 20 results from an estimated 200 matches similar to: "Further questions"
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 math.uni-giessen.de Justus-Liebig-University Giessen
Tel:
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 ~
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:07 schrieb Gerrit Eichner:
2007 Jul 08
3
change the "coeffcients approach" on an anova
hi everybody
I have to do a lot of Anova with R and I would like to have another type of
coefficients coding.. I explain.
by default if I have 2 temperatures for an experience. 100°C or 130°C and I
want to see the temperature effect on the presure
I want to estimate the coefficient of each temperature.
I will obtain ,with the anova, juste one coefficients for example +3,56 (for
100°C), and the
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
2012 Jun 19
1
help with xy.coords(x,y)
i am working on the project to analyze hedge fund performance, i would
appreciate that if you guys could spare some time helping me out with the R
code. Thanks.
The senario is:
i applied BOXPLOT() to plot the performance of all hedge funds with 7
strategies.
And right now in this boxplot I need to plot the points of 30 individual
hedge funds from my portfolio. And I applied POINTS() and
2009 Oct 28
2
Labelling individual points on 3D PCA scatterplot
Hi There,
I'm attempting to plot 10 values on a three-dimensional PCA with text labels
next to each point. While i have no trouble doing this on 2D plots using the
'text' or 'textxy' function, I cannot find a function to do this on a 3D
plot.
I am using princomp for my PCA:
>PCA<-princomp(eucdata, cor=TRUE)
>PCA$scores [,1:3] # the three principal components i
2019 Jun 30
2
LLVM Releases
I saw an email about 8.0.1 being not quite out, and planning for 9.0.0.
When is 8.0.1 supposed to come out?
I installed llvm at develop on x86 on March 30, and its clang says it is version 9.0.0 (trunk 357348). I tried to do
another spack install llvm at develop, but it said that I already had it installed. Does that mean there
were no changes since March 30, or does spack not look for any
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),
2012 Oct 23
1
scatterplot with wrong line offset
Hi All,
I'm trying to do a Scatterplot (package: car), and add a line (just for
reference).
There is my code:
#------------------------------------Code---------------------------------------------------
library("car")
library("calibrate")
G_T<-c("car","bike","boat")
ave<-c(80,10,45)
perf<-c(100,80,75)
df2<-data.frame(G_T,ave,perf)
2019 Jul 03
2
LLVM Releases
Thank you.
> On Jul 3, 2019, at 4:04 AM, Justin Clift <justin at postgresql.org> wrote:
>
> On 2019-07-01 00:22, Marty Itzkowitz via llvm-dev wrote:
>> I also tried spack install llvm at develop on a POWER9 (ppc641e)
>> machine, but I can not find a compiler that
>> will compile it. gcc 4.8.5 is reported as too old, and gcc 7.3.0 and
>> 8.1.0 both fail in
2012 Jun 14
1
Help for boxplot
Hi guys,
I am doing a project to evaluate the 7 individual fund performance from a
portfolio compared with all fund performance utilizing the same strategy.
Lets say in total there are 10 strategies and in the portfolio there exist 5
strategies.
First, i use the BOXPLOT() and SUBSET() to produce the box plot of all the 5
funds performance individually:
#identify funds in strategies within
2008 Feb 21
2
Unable to create/index a zoo irregular timeseries
In the text file pressione2008.csv I have the following
"Data","MAX","MIN","Note"
"07-01-2008 08:00:00", 135, 90, "Eccessi feste, inizio dieta"
"07-01-2008 18:00:00", 135, 85, ""
"08-01-2008 08:00:00", 125, 75, ""
which is a collection of blood pressure data at different time of the day.
I would
2002 Oct 20
0
Interrupt calc/buffer output of R under Windows
Hi all,
I want maximum control of R, including calculation / buffer output
interruption. With Rgui, pressing ESC interrupt both calculation and buffer
output. However, with Rterm, ctrl-c works only in calculation, but does not
interrupt buffer output:
with:
i <- 1
while (i > 0) i <- i + 1
which runs an infinite loop, pressing ctrl-c interrupt it. OK. But:
rnorm(1000000)
is not
2010 May 02
3
adding year information to a scatter plot
Hi R users,
I would like to add year information to each point in a scatter plot. The
following
example shows what i mean:
df=data.frame(year=c(2001,2002,2003),a=c(8,9,7),b=c(100,90,95))
df
plot(b~a,data=df)
Now, I would like to see which point belongs to 2001, 2002 and 2003 in the
above
graphic.
Thank you very much,
ozan
[[alternative HTML version deleted]]
2012 Nov 24
3
How to Label Cases in Scatterplots?
Hi everyone,
i?m trying to graphically display distributions with r and i?m working with
makrodata from the WVS.
the command i?m using is
> plot (Makrodata$v11, Makrodata$v12, xlab="Democracy Score Economist",
> ylab= share religious people")
i?m having an additional variable that identifies respectively labels the
2010 Nov 04
5
Logical vectors
Hi folks,
Pls help me to understand follow;
An Introduction to R
2.4 Logical vectors
http://cran.r-project.org/doc/manuals/R-intro.html#R-and-statistics
1)
> x
[1] 1 2 3 4 5
> temp <- x != 1
> temp
[1] FALSE TRUE TRUE TRUE TRUE
>
2)
> x
[1] 1 2 3 4 5
> temp <- x > 1
> temp
[1] FALSE TRUE TRUE TRUE TRUE
Why NOT
> temp
[1] TRUE FALSE FALSE FALSE
2010 Nov 04
5
Logical vectors
Hi folks,
Pls help me to understand follow;
An Introduction to R
2.4 Logical vectors
http://cran.r-project.org/doc/manuals/R-intro.html#R-and-statistics
1)
> x
[1] 1 2 3 4 5
> temp <- x != 1
> temp
[1] FALSE TRUE TRUE TRUE TRUE
>
2)
> x
[1] 1 2 3 4 5
> temp <- x > 1
> temp
[1] FALSE TRUE TRUE TRUE TRUE
Why NOT
> temp
[1] TRUE FALSE FALSE FALSE
2018 Jan 17
0
effects & lme4: error since original data frame notfoundWASeffects: error when original data frame is missing
Dear Gerrit,
This issue is discussed in a vignette in the car package (both for functions in the car and effects packages): vignette("embedding", package="car") . The solution suggested there is the essentially the one that you used.
I hope this helps,
John
-----------------------------
John Fox, Professor Emeritus
McMaster University
Hamilton, Ontario, Canada
Web:
2018 Jan 17
0
effects & lme4: error since original data frame not found WASeffects: error when original data frame is missing
Hi, again,
I have to modify my query since my first (too simple)
example doesn't reflect my actual problem. Second try:
When asking Effect() inside a function to compute an effect
of an lmer-fit which uses a data frame local to the body of
the function, as in the following example (simplifying my
actual application), I get the "Error in is.data.frame(data) :
object 'X' not