loess Questions
3
My data is like below. Two column, serial number (SL) and the expression value (log)
> df
SL log
1 1.5
2 -2.5
3 1.0
4 2.5
5 -1.
> ggplot(df, aes(x = SL, y = log)) +
geom_point(size = 0.5, ...
4
Solved
I am trying to replicate this simple example given in the Coursera R Regression Models course:
require(datasets)
data(swiss)
require(GGally)
require(ggplot2)
ggpairs(swiss, lower = list(continuous...
3
Solved
Alright, I'm waving my white flag.
I'm trying to compute a loess regression on my dataset.
I want loess to compute a different set of points that plots as a smooth line for each group.
The pro...
1
I am using the package plotnine to make ggplot's. In this context I wanted to use "loess". The package gives an error and says: "For loess smoothing, install 'scikit-misc'". I i...
Sena asked 8/8, 2021 at 8:33
4
Solved
I am attempting to understand how the predict.loess function is able to compute new predicted values (y_hat) at points x that do not exist in the original data. For example (this is a simple exampl...
Maximin asked 10/10, 2012 at 14:40
2
Solved
I'd like to know how to fill the area between to loess-smoothed lines in ggplot.
The following data frame is used for the pictures:
x y ymin ymax grp ydiff
1 1 3.285614 3.285614 10.14177 min 6.8...
3
I have these data:
x <- c(6.626,6.6234,6.6206,6.6008,6.5568,6.4953,6.4441,6.2186,6.0942,5.8833,5.702,5.4361,5.0501,4.744,4.1598,3.9318,3.4479,3.3462,3.108,2.8468,2.3365,2.1574,1.899,1.5644,1.30...
Jorum asked 7/1, 2017 at 7:12
1
Solved
This is probably a very basic question but I haven't found an answer yet. Is there an equivalent to the span argument in the geom_smooth function when method = "gam"? I am not familiar wi...
2
Solved
I have this issue now, I cannot import STL from statsmodels. I've tried to uninstall statsmodels as it was recommended somewhere with a similar issue but it is not possible, at least the way I do i...
Shunt asked 19/11, 2019 at 7:34
3
Solved
How would I calculate the confidence intervals for a LOWESS regression in Python? I would like to add these as a shaded region to the LOESS plot created with the following code (other packages than...
Teets asked 28/6, 2015 at 20:45
2
Solved
I am having a problem with loess lines displaying properly in ggplot. I have several variables, none of which can go below zero e.g. heights, weights and abundances. I am trying to plot this data i...
1
I'm very new at this and I don't actually understand the differences between the plotting methods, but loess seems to be giving me the most informative graphs, considering I have a small-ish data s...
2
Solved
I am using geom_smooth from the ggplot2 package to create a smoothed line on a time series scatter plot (one point for each day of the year, so I have 365 points). One of the arguments is called sp...
1
Solved
I'm trying to write a for loop to repeat (c) and (d) 100 times. I want to print the estimates of TRS-TRS0 at each iteration of the for loop. It should stop algorithm if it is small (say 1/10000). F...
3
Solved
I have a data set with some points in it and want to fit a line on it. I tried it with the loess function. Unfortunately I get very strange results. See the plot bellow. I expect a line that goes m...
3
Solved
I am comparing two lines that were regressed using LOESS. I want to display the confidence intervals of the two lines clearly, and I am having some difficulties.
I have tried using a variety of l...
Vi asked 29/4, 2017 at 6:9
0
I asked a previous question regarding LOESS errors and warnings : LOESS warnings/errors related to span in R . The issue related to warnings like these that occurred while trying to run a LOESS reg...
1
Solved
I am running a LOESS regression in R and have come across warnings with some of my smaller data sets.
Warning messages:
1: In simpleLoess(y, x, w, span, degree = degree, parametric =
parametr...
1
Solved
I am having some issues trying to compete a LOESS regression with a data set. I have been able to properly create the line, but I am unable to get it to plot correctly.
I ran through the data lik...
Proser asked 28/5, 2016 at 14:3
3
Solved
I am looking to remove outliers before I apply a model. I am using a Loess curve to delimit the trend line and have set outlier limits. I would like to remove the rows that are outside the defined ...
Hallmark asked 7/11, 2014 at 12:26
4
I'm a developer up in Portland, OR. I'm wondering if anyone can assist:
I'm working on Loess fit models using R, once I have the fit
accomplished, I'm looking to back-out the equation of the
fitte...
Pericarp asked 23/11, 2009 at 18:42
0
I am trying to analyze a very large dataset (over 10 million rows; OK, it's big in my field). I'm trying to generate a smoothed regression plot using the following command:
ggplot(dataset, aes(x=I...
Allyl asked 7/6, 2015 at 2:45
2
Solved
I am struggling with "out-of-sample" prediction using loess. I get NA values for new x that are outside the original sample. Can I get these predictions?
x <- c(24,36,48,60,84,120,180)...
Honeydew asked 6/1, 2015 at 10:10
1
I'm trying to fit a model using loess, and I'm getting errors such as "pseudoinverse used at 3", "neighborhood radius 1", and "reciprocal condition number 0". Here's a MWE:
x = 1:19
y = c(NA,71.5,...
3
Solved
I'm trying to compute the convert a R script to java using the apache.commons.math library. Can I use org.apache.commons.math.analysis.interpolation.LoessInterpolator in place of R loess ? I cannot...
Leader asked 3/10, 2012 at 8:32
1 Next >
© 2022 - 2025 — McMap. All rights reserved.