search for: polinomial

Displaying 11 results from an estimated 11 matches for "polinomial".

2010 Sep 23
2
Contraste polinomial con dos factores con niveles no equidistantes
...y mi variable de respuesta es continua, todo dentro del set de datos llamado "datos". Mi asesor de tesis me recomienda que en vez de aplicar una anova de dos factores, que mejor aproveche que los factores A y B son continuos en vez de categóricos, y que mejor aplique un contraste polinomial para analizar los datos. Como se habrán dado cuenta, los niveles de los factores no son equidistantes, condición que según entiendo es necesaria para poder codificar los mismos con la función "contr.poly". Investigando por la red encontré que existe una forma de codificar usando...
2007 May 16
0
effective df in local polinomial regression
Hallo R-users, I would like to know if there is a way to get the effective degrees of freedom in local polinomial regression. At the moment, to carry out the local polinomial regression, I am using the function locpoly() in library KernSmooth (I need to estimate both the regression function and its derivatives, up to the 3rd one). Thanks, Simone -- Simone Vantini MOX - Modeling and Scientific Computing D...
2007 Oct 31
0
quantreg log and polinomial functions
I have two variables which show a typical quantile relation I would like to fit quantile regression models based on both logarithm and polynomial of second order functions within quantreg. Any help appreciated... Cheers Duccio Herewith the values: ------ var1 var2 0.96429 0.00138 1 0.02316 1.03145 0.09323 1.24088 0.77128 1.39869 0.86732 1.33728 0.63674 1.48299 0.96194
2005 Jul 15
1
nlme and spatially correlated errors
...iables related to water availability (soil water retention capacity, slope, insolation, altitude) and X and Y coordinates for each plot. I explored wether the relationship between any of the response variables (presence/absence, abundance, basal area) and the environmental variables was linear, polinomial, or non-linear. My main interest in this question is that I proceeded to correct for spatial autocorrelation (both within transects and overall) following the procedures suggest by Crawley 2002 for linear models e.g. (GUAMAC = a species, CRAS = soil water retention capacity, TRANSECTO = transect...
2001 Mar 09
0
Fitting automatically empirical data
Hi, I'm using R to find esplicit functions fitting set of data. The data contains about 30 points, which have different weights (number of cases represented from the point). I plot the points, choose "by eye" a function made with exp or arctg or polinomial and use nlm to minimaze the root mean error with correct the weights. For Example: Err <- function(p) sum((weight*(y - (p[1]+p[2]*atan(p[3]+p[4]*x))))^2) out <- nlm(Err, p=c(1,1,1,1), hessian=T) fp <- function(z) out$estimate[1]+out$estimate[2]*atan(out$estimate[3]+out$estimate[...
2004 Nov 24
1
how to remove time series trend in R?
I got a set of data which has seasonal trend in form of sinx, cosx, I don't have any idea on how to deal with it. Can you give me a starting point? Thanks, Terry
2003 Jan 16
2
polynomial contrasts in R
In S-Plus, I can obtain polynomial contrasts for an ordered factor with contr.poly(). The function also exists in R, however is limited to factors where the levels are equally spaced. In S-Plus, one can obtain the contrasts for a set of numeric values representing unequally spaced ordered factors. Has anyone implemented this in R? I see that the S-Plus function calls another function (poly.raw())
2014 Jan 08
0
Strange behaviour of `dlm` package
Dear R-help! I have encountered strange behaviour (that is, far-off filtering, smoothing and forecast distributions under certain conditions) in the `dlm` package by Giovanni Petris. Here is an example: I use the annual hotel bookings time series data, which I model using a second order polinomial DLM. First I perform the analysis with the data in logarithmic form and everything seems to be ok. I repeat the analysis with the original, non logarithmic data and the filtering, smoothing and forecast distributions are *very* far off the actual data. I again repeat the analysis, this time I a...
2007 May 18
1
penalized maximum likelihood estimator
...; function (Hao Liu) > 20. Re: converting a data frame to ts objects > (Gabor Grothendieck) > 21. Re: more woes trying to convert a data.frame > to a numerical > matrix (Andrew Yee) > 22. Re: log rank test p value (Terry Therneau) > 23. effective df in local polinomial regression > (Simone Vantini) > 24. Re: more woes trying to convert a data.frame > to a numerical > matrix (Andrew Yee) > 25. Re: Is it possible to pass a Tcl/Tk component > as argument to > afunction (John Fox) > 26. Re: Is it possible to pass a Tcl/Tk com...
2016 Sep 21
5
RFC: Extending LV to vectorize outerloops
Proposal for extending the Loop Vectorizer to handle Outer Loops ================================================================ Goal: ----- We propose to extend the innermost Loop Vectorizer to also handle outerloops (cf.[1]). Our aim is to best leverage the efforts already invested in the existing innermost Loop Vectorizer rather than introduce a separate pass dedicated to outerloop
2012 Jul 01
8
Regresión lineal múltiple: modelo polinómico de grado 3 superpuesto a componentes cosenoidales
Hola:   Tengo un modelo de regresión lineal en el cual las componentes son cosenoidales, y lo construyo del siguiente modo:     modelo = "y ~ I(t) + I(t^2) + I(t^3) + x1[, 1] + x2[, 1]" x1[, 1] = cos(2 * pi * t / periods[1]) x2[, 1] = sin(2 * pi * t / periods[1]) for (i in 2:nComp) {   x1[, i] = cos(2 * pi * t / periods[i])   x2[, i] = sin(2 * pi * t / periods[i])   modelo =