English 中文(简体)
符合资格和结果
原标题:Loess Fit and Resulting Equation

I m a developer up in Portland, OR. 我很想知道任何人是否能够协助:

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 fitted non-linear curve, wondering if there is a way to determine this equation in R? I ve been looking but can t find any literature. For me, the graph of the function is great, but without the equation of the graph, I m kinda dead in the water.

问题回答

Loess没有给你一个等值。 如果你只是想获得休息功能所恢复的价值,请使用<条码>(object, New.data)。

页: 1

Another disadvantage of LOESS is the fact that it does not produce a regression function that is easily represented by a mathematical formula. This can make it difficult to transfer the results of an analysis to other people. In order to transfer the regression function to another person, they would need the data set and software for LOESS calculations.

没有公式。 Loess是一种非对称的方法。 这不能简单地表述。

我们不能从联络处本身提取公式。 然而,你只能对联络处发现的问题采取另一种方法。 如果是简单的2D图表,那么很难找到好公式。 这样做的一种方法是象征性的回归(见wiki)。

了解这一点可能并不理想,而仅仅使用一种方法可能比“联络处”更好。

你们想从一个休息物体中收回公式? 你们也许能够做这样的事情:

> cars.lo <- loess(dist ~ speed, cars)
> formula(unclass(cars.lo)$terms)
dist ~ speed

Edit: Sorry...I认为,我误解了你想要的东西。 不能简单地以平衡的形式表达休息模式。





相关问题
How to plot fitted model over observed time series

This is a really really simple question to which I seem to be entirely unable to get a solution. I would like to do a scatter plot of an observed time series in R, and over this I want to plot the ...

REvolution for R

since the latest Ubuntu release (karmic koala), I noticed that the internal R package advertises on start-up the REvolution package. It seems to be a library collection for high-performance matrix ...

R - capturing elements of R output into text files

I am trying to run an analysis by invoking R through the command line as follows: R --no-save < SampleProgram.R > SampleProgram.opt For example, consider the simple R program below: mydata =...

R statistical package: wrapping GOFrame objects

I m trying to generate GOFrame objects to generate a gene ontology mapping in R for unsupported organisms (see http://www.bioconductor.org/packages/release/bioc/vignettes/GOstats/inst/doc/...

Changing the order of dodged bars in ggplot2 barplot

I have a dataframe df.all and I m plotting it in a bar plot with ggplot2 using the code below. I d like to make it so that the order of the dodged bars is flipped. That is, so that the bars labeled "...

Strange error when using sparse matrices and glmnet

I m getting a weird error when training a glmnet regression. invalid class "dgCMatrix" object: length(Dimnames[[2]]) must match Dim[2] It only happens occasionally, and perhaps only under larger ...

Generating non-duplicate combination pairs in R

Sorry for the non-descriptive title but I don t know whether there s a word for what I m trying to achieve. Let s assume that I have a list of names of different classes like c( 1 , 2 , 3 , 4 ) ...

Per panel smoothing in ggplot2

I m plotting a group of curves, using facet in ggplot2. I d like to have a smoother applied to plots where there are enough points to smooth, but not on plots with very few points. In particular I d ...

热门标签