Displaying 20 results from an estimated 8000 matches similar to: "loess() v.s. lowess()"
2010 Nov 22
1
how to sample lowess/loess into matrix ?
code:
x <- rnorm(32)
y <- rnorm(32)
plot(x,y)
lines(lowess(x,y),col='red')
Now I need to sample the lowess function into matrix where one series will
be X and other will be values of lowess at particular X.
--
View this message in context: http://r.789695.n4.nabble.com/how-to-sample-lowess-loess-into-matrix-tp3053458p3053458.html
Sent from the R help mailing list archive at
2006 Feb 07
2
Prediction method for lowess,loess,lokerns,lpepa,ksmooth
Hi Every Body,
I don't know why some regression functions have no related prediction function. For example lowess, loess, lokerns, lpridge, lpepa, and ksmooth.
What could help? Is there any global or wrapper function so that can help?
Regards,
Amir Safari
---------------------------------
[[alternative HTML version deleted]]
2010 Oct 26
2
anomalies with the loess() function
Hello Masters,
I run the loess() function to obtain local weighted regressions, given
lowess() can't handle NAs, but I don't
improve significantly my situation......, actually loess() performance leave
me much puzzled....
I attach my easy experiment below
#------SCRIPT----------------------------------------------
#I explore the functionalities of lowess() & loess()
#because I have
2012 Sep 24
2
add lowess predicted line to scatter plot
Hi,
I have a scatter plot of the variables GNI and Lifeexp (Gross National
Income and Life Expectancy, both metric). So I plotted them and I want to
add a regression line and a lowess line. I use lowess and not loess because
I have missing values. My code:
plot(GNI,Lifeexp)
abline(lm(Lifeexp~GNI), col="red")
y.loess<-loess(Lifeexp~GNI,na.
action = na.exclude)
2003 Apr 10
3
A Question on lowess() function
Hi, all,
I want to use lowess(x, y) where x and y are vectors of length of 4000+. In
fact, x and y are log of some vectors. So, some of the elements are NaN.
lowess() can not take away those elements then do the fitting. It will give
the error message and do nothing.
1. Can anybody tell me how to get rid of those NaN's and use lowess()?
2. How to get the LOWESS fitting values for any
2012 Apr 24
1
Scatter plot / LOESS, or LOWESS for more than one parameter
Hi folks.
If I have the following in my "data"
event pH1 pH2
1 4.0 6.0
2 4.3 5.9
3 4.1 6.1
4 4.0 5.9
and on and on..... for about 400 events
Is there a way I can get R to plot event vs. pH1 and event vs. pH2 and
then do a loess or lowess line for each??
Thanks in advance
David
[[alternative HTML version deleted]]
2012 Sep 10
1
lowess regression
Dear all,
please do you have any recommendation about a more advanced function in R
for lowess/loess regression ?
the basics lowess() or loess() do not perform as well as I would expect.
thanks very much,
Bogdan
[[alternative HTML version deleted]]
2008 Feb 03
3
Drawing a loess line
Dear all,
To draw a lowess line on a plot was a piece of cake; to draw a loess
line, however, seems not that easy. Is the loess plotting implemented
at all in relation to the loess function, or do I have to look in
add-on packages?
Thanks,
Marcin
2010 May 31
3
What does LOESS stand for?
Dear R-community,
maybe someone can help me with this:
I've been using the loess() smoother for quite a while now, and for
the matter of documentation I'd like to resolve the acronym LOESS.
Unfortunately there's no explanation in the help file, and I didn't
get anything convincing from google either.
I know that the predecessor LOWESS stands for "Locally Weighted
2004 Jan 21
1
Please make lowess() generic (was: Reorganization of packages in the R distribution)
As I've mentioned a number of times. I find it very useful to have lowess()
become a generic function so that a lowess.formula() can be defined.
Below is a patch that makes both changes, as well as updating the
corresponding help documentation.
Gregory R. Warnes
Manager, Non-Clinical Statistics
Pfizer Global Research and Development
Tel: 860-715-3536
? DESCRIPTION
? Makefile
?
2001 Mar 12
2
residuals from lowess fit
Colleagues
----------------------------------
System info:
R version rw1022 on NT
ESS v. 5.1.18 using emacs ver. 20.4
----------------------------------
I would like to access the residuals from a lowess fit (function lowess() )
as an aid to assessing whether I am over-smoothing or under-smoothing
a dataset (as in Cleveland's book "Visualizing data", section 3.3)
Unless I
2023 Mar 23
1
loess plotting problem
Dear Anupam Tyagi,
You didn't include your data, so it's not possible to see exactly what
happened, but I think that you misunderstand the object that loess()
returns. It returns a "loess" object with several components, including
the original data in x and y. So if pass the object to lines(), you'll
simply connect the points, and if x isn't sorted, the points
2023 Mar 23
1
loess plotting problem
Thanks, John.
However, loess.smooth() is producing a very different curve compared to the
one that results from applying predict() on a loess(). I am guessing they
are using different defaults. Correct?
On Thu, 23 Mar 2023 at 20:20, John Fox <jfox at mcmaster.ca> wrote:
> Dear Anupam Tyagi,
>
> You didn't include your data, so it's not possible to see exactly what
>
2023 Mar 23
2
loess plotting problem
For some reason the following code is not plotting as I want it to. I want
to plot a "loess" line plotted over a scatter plot. I get a jumble, with
lines connecting all the points. I had a similar problem with "lowess". I
solved that by dropping "NA" rows from the data columns. Please help.
library(stats)
attach(gini_pci_wdi_narm)
plot(ny_gnp_pcap_pp_kd, si_pov_gini)
2011 Mar 18
1
Difficulty with 'loess' function
Hi,
I am trying to create a loess smooth from hydrologic data. My goal is to
create a smooth line that describes discharge at a certain point in time. I
have done this using the 'lowess' function and had no problem, but I'm
having some difficulty with loess. I am inputting the date ('date') and
discharge ('q') values using the 'scan' function, then inputting
2008 Aug 05
2
95% CI bands on a Lowess smoother
Hi there,
I'm plotting some glass RI values just by plotting
plot(x)
then I put on my lowess smoother
lines(lowess(x))
now I want to put on some 95% Confidence Interval bands of the lowess
smoother, but don't know how??
Thanks
--
Gareth Campbell
PhD Candidate
The University of Auckland
P +649 815 3670
M +6421 256 3511
E gareth.campbell@esr.cri.nz
gcam032@gmail.com
[[alternative
2008 May 30
3
loess plot
I was trying to plot some data in R. I used the following code to draw a loess fit and got the output as
>?lines(lowess(log(abs(t(res))), log(abs(t(synthesised)))), col="red")
Error in lowess(log(abs(t(res))), log(abs(t(synthesised)))) :?? NA/NaN/Inf in foreign function call (arg 1)
Then I thought to use your Limma package for background correction. Do you think it's a right
2012 Mar 06
1
LOESS confidence interval
Dear all,
I'm trying to construct confidence intervals for a LOWESS estimation (by not using bootstrapping).
I have checked previous posts and other material online and I understand that the main procedure is:
my.count<- seq(...)
fit<- loess (y ~ x, data=z)
pred<- pred(fit, my.count, se=TRUE)
and then the plotting.
However, it's not working; as confidence
2010 Oct 25
1
lowess() won't handle NAs
Dear Masters,
I'm driving crazy with the lowess() function....
my intent is smoothing confidence intervals for predicted y values in a
linear model lm() setting
since in the predict() function there exists an option for predicting NA
values, I instead encounter problems when I fit a missing values x variable
to the predicted terms.....,impossible task!!!
I've been banging on my head
2003 Mar 27
2
Na action with Lowess smoothing
Hi there,
I cant seem to find a way for the lowess smoothing function to handle "NA"
values.
Can anyone help??
Regards,
Wayne
Dr Wayne R. Jones
Statistician / Research Analyst
KSS Group plc
St James''s Buildings
79 Oxford Street
Manchester M1 6SS
Tel: +44(0)161 609 4084
Mob: +44(0)7810 523 713
KSS Ltd
A division of Knowledge Support Systems Group plc
Seventh Floor St