search for: extrapolate

Displaying 20 results from an estimated 335 matches for "extrapolate".

Did you mean: extrapolated
2006 Oct 12
3
Extrapolated regression lines
Dear list members, When I create a simple scatterplot with a regression line (se below) the line is automatically extrapolated outside the range of data points. Why is this and how can I prevent R from extrapolating the regression line? Thank you in advance, Johan model<-lm(Herb~Para) plot(Para,Herb) abline(model)
2023 Oct 26
2
Plot for 10 years extrapolation
Dear R-Experts, Here below my R code working but I don't know how to complete/finish my R code to get the final plot with the extrapolation for the10 more years. Indeed, I try to extrapolate my data with a linear fit over the next 10 years. So I create a date sequence for the next 10 years and store as a dataframe to make the prediction possible. Now, I am trying to get the plot with the actual data (from year 2004 to 2018) and with the 10 more years extrapolation. Thanks for your hel...
2006 Aug 04
0
Question regarding extrapolation
Hi, I am facing a problem in extrapolation of data series. It is a series of Bond yields, I am having the yield for 1 year to 30 years. I want to find the yield for 0.5 year and 30.5 years. I used the Langrange's Extrapolation but the extrapolation deviates from the normal trend ( as we can see in theoritical yield curves) very sharply, as go on increasing my years from 30 years to 35 years
2011 Apr 20
1
Extrapolating data points for individuals who lack them
...y allowed individuals to respond within a limited time-frame. These individuals are given the maximum response time as they did not respond, yet we feel they may have done if given time (and by looking at the rest of their responses over time, the non-response days stand out). We therefore want to extrapolate data points for individuals, on days when they didn't respond, using a regression of days when they did. Does anyone know how we could do this quickly and easily in R? Thanks very much Dave [[alternative HTML version deleted]]
2012 Sep 25
1
Extrapolating Cox predicted risk
Dear all I generated predicted risk of death for each subject in the study by means of Cox proportional hazards model at 8 year of follow-up, a time point at which follow-up was more than 90% complete. It is possible to extrapolate to 10-year the predicted risk of each subjet by assuming an exponential distribution? Any help would be greatly appreciated. Thanks for your consideration. Mario Petretta Dipartimento di Medicina Clinica Scienze Cardiovascolari e Immunologiche Facolt? di Medicina e Chirurgia Universit? di Nap...
2011 Jan 29
1
data extrapolation function
....frame(x=seq(1990,2010,1)) predict(lm(dataimport),dataimportextra[,2],se.fit=TRUE) write.csv<-(dataimportextraout,"/path/to/dataimportextra.csv") I was expecting to see in the file dataimportextra.csv something like: 1,1990 2,1991 3,1993 ... to previously known data 10,2000 ... final extrapolated value, e.g. 20,2010 I didn't ; this suggests that I chose the wrong function! Can someone please advise me of the correct function to use for this extrapolation task? yours, r251 mandriva2009
2009 Apr 14
4
Forcing the extrapolation of loess through the origin
Hi all, I'm fitting a line to my dataset. Later I want to predict missing values that exceed the [min,max] interval of my empirical data, therefore I choose surface="direct" for extrapolation. l1<-loess(y1~x1,span=0.1,data.frame(x=x1,y=y1),control=loess.control(surface="direct")) In my application it is highly important that the fitted line intercepts at the point of
2024 Jan 14
0
Plotting extrapolation with R like AUTOBOX does
...ible inputs without requiring time as a possible predictor thus it can reproduce ordinary regression. More precisely, I am looking for an R package (or function) able to produce the same 4 graphs (done with AUTOBOX) in the answer here :?https://stats.stackexchange.com/questions/327454/right-way-to-extrapolate-data Best,
2010 May 26
2
Survival analysis extrapolation
Dear all, I'm trying to fit a curve to some 1 year failure-time data, so that I can extrapolate and predict failure rates up to 3 years. The data is in the general form: Treatment Time Status Treatment A 28 0 Treatment B 28 0 Treatment B 28 0 Treatment A 28...
2011 Jan 27
2
Extrapolating values from a glm fit
Dear R-help, I have fitted a glm logistic function to dichotomous forced choices responses varying according to time interval between two stimulus. x values are time separation in miliseconds, and the y values are proportion responses for one of the stimulus. Now I am trying to extrapolate x values for the y value (proportion) at .25, .5, and .75. I have tried several predict parameters, and they don't appear to be working. Is this correct use and understanding of the predict function? It would be nice to know the parameters for the glm best fit, but all I really need are the ext...
2005 May 05
2
Numerical Derivative / Numerical Differentiation of unknown funct ion
Hi, I have been trying to do numerical differentiation using R. I found some old S code using Richardson Extrapolation which I managed to get to work. I am posting it here in case anyone needs it. ######################################################################## richardson.grad <- function(func, x, d=0.01, eps=1e-4, r=6, show=F){ # This function calculates a numerical approximation
2012 May 21
0
linear extrapolation using data from imported text file
Dear?R experts, ? I?am trying to do linear extrapolation on a dataset?like the attached document. I looked at the approx and approxfun function that seem to do this function, but not fully understand them. I was wondering if someone could help with writing commands to do the following based on the attached file's example: ? ID#1 and ID?#2 both have response parameters ("MEASUREMENT"
2014 Jul 08
0
Extrapolation of rarefaction curve
Hi all, I used R (vegan package) to make rarefaction curves and I calculated the Chao index for each curve. However, the plateau is far from reached. What I want to do now is the following: Based on the Chao index, I want to extrapolate the curve so I get an x-value which gives me an estimation of the total number of clones I'd have to pick up and sequence in order to have a full coverage of the species diversity in my sample. Is there anyone who knows how to do this? Using vegan or any other package? Or is there any other wa...
2005 Sep 22
1
How does the jitter buffer "catch up"?
...bandwidth, but that's on > purpose... :( What happens is this: On the first _get where there are no valid frames (because you stopped transmitting from the other end), the jitter buffer will tell the decoder to just decode the last frame again. On the next one, it tells the decoder to extrapolate from the last frame, and on the next one after that to extrapolate even more. This goes on until 25 packets are missed, at which point the jitter buffer resets the decoder and stops extrapolating. > I read Munble source code (v0.3.2) to see how you do. And I found this > comment: > //...
2008 May 04
1
adaptive optimization of mesh size
...cessing analysis. Currently, it only runs with user-defined discretization parameter. I would like to implement an adaptive scheme [1] and provide the following improvements, 1) obtain an estimate of the error by fitting the result against a series of mesh sizes with the quadratic model, and extrapolate at y = 0. (quite straight forward) 2) adapt "dynamically" the set of mesh sizes to fulfill a final accuracy condition, between a starting value (a rule-of thumb estimate is given by the problem values). The lower limit of y should also be constrained by the resources (again, an e...
2009 Apr 22
2
integrate lgamma from 0 to Inf
Dear R users, i try to integrate lgamma from 0 to Inf. But here i get the message "roundoff error is detected in the extrapolation table", if i use 1.0e120 instead of Inf the computation works, but this is against the suggestion of integrates help information to use Inf explicitly. Using stirlings approximation doesnt bring the solution too. ## Stirlings approximation lgammaApprox
2011 Mar 02
1
How to extrapolate a model
I am using a multiple additive model (in the quantreg package) and I would like to 'extract' the fitted model formulae ie- for a straight line the formula would be y= 'a+b*c' for my multiple model I would expect somthing more complex because the model is not linear (its a bit like a GAM) but given I can plot the model using # f<-fitted(model) #lines(f) there must be a formula
2006 Apr 25
0
extrapolate log in/out time from logs
Hello, I'd like to generate some reports on users log in and log out times, is there a way to do this with/without using smbd log files? I was looking at the log files and it looks like I can determine the time of login by looking for : [2006/02/10 09:31:46, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(615) Got user=[jsmith] domain=[CORP] workstation=[DHCP31247] len1=24 len2=24
2002 Apr 22
1
predict.*bSpline() bugs extrapolating for deriv >= 1 (PR#1473)
I've already fixed the bugs, but as with the last one, this is not critical enough to allow breaking current R-devel's code freeze. I hope I will have corrected it for 1.5.1.. ## Here is code reproducing the problems; ## I use try(.) whenever I know the current versions of R would ## give an error: library(splines) x <- c(1:3,5:6) y <- c(3:1,5:6) (isP <- interpSpline(x,y))#
2005 Dec 20
2
need 95% confidence interval bands on cubic extrapolation
Dear R experts: I need to get this plot, but also with 95% confidence interval bands: hour <- c(1, 2, 3, 4, 5, 6) millivolts <- c(3.5, 5, 7.5, 13, 40, 58) plot(hour, millivolts, xlim=c(1,10), ylim=c(0,1000)) pm <- lm(millivolts ~ poly(hour, 3)) curve(predict(pm, data.frame(hour=x)), add=TRUE) How can the 95% confidence interval band curves be plotted too? Sincerely,