Displaying 14 results from an estimated 14 matches for "trendlines".
Did you mean:
trendline
2009 Oct 09
4
Trendline for a subset of data
Dear all,
I am using abline(lm ...) to insert a linear trendline through a portion of my data (e.g. dataset[,36:45]). However, I am finding that whilst the trendline is correctly displayed and representative of the data portion I've chosen, the line continues to run beyond this data segment and continues until it intersects the vertical axes at each side of the plot.
How do I display the
2006 Jun 19
4
Qurey : How to add trendline( st. line) in Graph
How to add trendline (i.e. straight line passing through maximum points)
in graph.
I have worked on the data given below.
Please tell me how to add trendline in the graph.
The script is as follows
=================================== start
====================================================
# The data is as follows
data <- c( 0.01, 0.02, 0.04, 0.13, 0.17 , 0.19 , 0.21 , 0.27 , 0.27 ,
2009 Sep 28
2
Trendline and R square value
Hi
I would like to display the trendline and the R-square value in a xy scatter in R. For example if I want to plot f vs g I add the trendline using the commands below
>library(quantreg)
>plot(f,g)
>abline(rq(g~f))
however I don't know how to display the R2 in the graph.
Thank you in advance.
Kind regards
Maria
[[alternative HTML version deleted]]
2009 Jun 02
0
quantmod plot trendline
...I can't seem to figure out how
to use it (not well documented):
> args(addLines)
function (x, h, v, on = 1, overlay = TRUE, col = "blue")
NULL
so arguments "h" and "v" add horizontal and vertical lines. How does
argument "x" work? I would like to plot trendlines using consecutive higher
highs or lower lows (for financial instruments such as stocks).
Thanks.
--Chang
[[alternative HTML version deleted]]
2010 Jan 08
2
R exponential regression
Hi all,
I have a dataset which consists of 2 columns. I'd like to plot them on a x-y
scatter plot and fit an exponential trendline. I'd like R to determine the
equation for the trendline and display it on the graph.
Since I am new to R (and statistics), any advice on how to achieve this will
be greatly appreciated.
Many thanks,
Chris
--
View this message in context:
2006 Jun 16
0
The qurey about kolmogorov-smirnov test & adding the trendline to graph
I am hereby forwarding the data & method use to calculate the
Kolmogorov-Smirnov goodness of fit test made manually by me in R
launguage which deffers with the actual inbuilt formula as shown below.
Further I have plot the graph in R. In that graph how to add trendline
(i.e. straight line passing through maximum points in plot) to a Plot.
R script is as follows please run this script to see
2012 Mar 15
1
line plot over a barplot
Dear all,
I have data in the following format :
X-axis Y-axis
<0 10%
0-20 20%
20-40 30%
40-60 40%
......... and so on.
I want to plot a bar graph of the above. Also I would want to add a
trendline passing either through the center of each bar or through the top.
Is it also possible to get the r-squared and p-values for
2010 Sep 23
3
accumulation curves
Hi,
I am trying to fit a logarithmic trendline to a scatterplot of a
species accumulation curve. I've tried abline, lines, curve and
scatter.smooth but none of these work.
Can anyone help please,
Kyran
2010 Jan 11
0
Exponential regression
There are a couple of points to keep in mind when doing a log-transform of an exponential model, such as --
y = a*exp(b*x)
1. The implicit statistical model is multiplicative in the error. The implied
statistical model of the log transform is --
log(y) = log(a) + b*x + u
which implies --
y = a*exp(b*x)*exp(u)
A linear regression in the log
2011 Oct 31
1
Significance of trend
Hi everyone,
I'm trying to determine the significance of a trendline. From my internet
search months ago, I came across the following post. I modified tim and
dat for simiplicity.
tim <- 1:10
dat <- c(0.17, 1.09 ,0.11, 0.82, 0.23, 0.38 ,2.47 ,0.41 ,0.75, 1.44)
fstat <- summary(lm(dat~tim))$fstatistic
p.val <-
2008 Mar 02
1
Problem plotting curve on survival curve (something silly?)
OK this is bound to be something silly as I'm completely new to R -
having started using it yesterday. However I am already warming to its
lack of 'proper' GUI... I like being able to rerun a command by editing
one parameter easily... try and do that in a Excel Chart Wizzard!
I eventually want to use it to analyse some chemotherapy response /
survival data. That data will not be
2008 Sep 27
0
ggplot multiple scales but a stat for only one of them
I have a simple plot:
ggplot(polls, aes(x =Date, y = Popular_Support, colour=Party, shape=Source))
+
stat_smooth(span=0.5) +
geom_point()
How can I get the smooth to only render along one of the scales? ie, I want
to see regressions for each colour, but not each shape.
Right now I get a trendline for each colour and and shape... resulting in an
unreadable mess =D
Thanks!
--
View this message
2001 Aug 13
0
erappin' - daily morning update 8-13-01 (PR#1051)
erappin' - daily morning update
----------------------------------------------------------------------------
----
BLEAK ECONOMIC PICTURE
We got a mixed bag of reports by retailers at the end of last week. As
you know, retail sales are a key element to this economy's growth as
continued consumer spending is necessary to remain out of a recession.
Market analysts are hoping
2001 Aug 13
0
erappin' - daily morning update 8-13-01
erappin' - daily morning update
----------------------------------------------------------------------------
----
BLEAK ECONOMIC PICTURE
We got a mixed bag of reports by retailers at the end of last week. As
you know, retail sales are a key element to this economy's growth as
continued consumer spending is necessary to remain out of a recession.
Market analysts are hoping