similar to: Fit values for NA's in linear regression

Displaying 20 results from an estimated 100 matches similar to: "Fit values for NA's in linear regression"

2003 Jun 22
1
Using weighted.mean() in aggregate()
Dear R users, I have a question on using weighted.mean() while aggregating a data frame. I have a data frame with columns Sub, Length and Slope: > x[1:5,] Sub Length Slope 1 2 351.547 0.0025284969 2 2 343.738 0.0025859390 3 1 696.659 0.0015948968 4 2 5442.338 0.0026132544 5 1 209.483 0.0005304225 and I would like to calculate the weighted.mean of Slope, using Length
2007 Dec 17
2
more structure than 'str'?
How can I see more of the structure than displayed by 'str'? Consider the following: tstDF <- data.frame(a=1, row.names='b') > str(tstDF) 'data.frame': 1 obs. of 1 variable: $ a: num 1 The object 'tstDF' has row.names, but I have to suspect they are there -- AND know a function like 'row.names' or 'dimnames' -- to see
2004 Dec 04
1
AIC, AICc, and K
How can I extract K (number of parameters) from an AIC calculation, both to report K itself and to calculate AICc? I'm aware of the conversion from AIC -> AICc, where AICc = AIC + 2K(K+1)/(n-K-1), but not sure of how K is calculated or how to extract that value from either an AIC or logLik calculation. This is probably more of a basic statistics question than an R question, but I thank
2005 Oct 12
2
functions available for use with aggregate?
What are the functions available for use with “aggregate”? Where can a reference to them be found? --------------------------------- [[alternative HTML version deleted]]
2011 Mar 11
1
Error in plot.lm
I am encountering an error with plot.lm: > tstdf <- data.frame( y=c(1.01,1.98,3.02,3.99),x=c(1,2,3,4)) > plot(lm(I(y) ~ x, data=tstdf)) Hit <Return> to see next plot: Hit <Return> to see next plot: Error in object$coefficients : $ operator is invalid for atomic vectors Obviously I don't need the I() in this example, but I have been working with regressions that involve
2003 Aug 14
2
nls confidence intervals
Hi, Does anyone know how to compute the confidence prediction intervals for a nonlinear least squares models (nls)? I was trying to use the function 'predict' as I usually do for other models fitting (glm, lm, gams...), but it seems that se.fit, and interval computation is not implemented for the nls... Cheers Enrique ~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fisheries Research Services, Marine
2008 Jan 28
4
GridTableBase
Hello all, i''m using wxruby 1.9.4 with Grid and the model class: "GridTableBase" like in the code below. But the method set_table of the grid does''nt work. Can anyone help me? require ''wx'' include Wx class MyGridTableBase < GridTableBase def get_attr row, col, attr_kind ## end def get_number_rows 0
2005 Jul 15
1
2D contour predictions
Hi All I have been fitting regression models and would now like to produce some contour & image plots from the predictors. Is there an easy way to do this? My current (newbie) experience with R would suggest there is but that it's not always easy to find it! f3 <- lm( fc ~ poly( speed, 2 ) + poly( torque, 2 ) + poly( sonl, 2 ) + poly( p_rail, 2 ) + poly( pil_sep, 2 ) + poly( maf, 2
2005 May 25
2
Career Opportunity
I saw your information on the internet and I have multiple opportunities available for QA Analysts. The opportunities are available in the Chicago area. A description of the opportunities can be viewed at www.parallelpartners.com. If you or someone you know is interested, please email me a copy of your resume. Thank you Raul Garcia Administrative Manager Parallel Partners 20 N. Wacker
2011 Mar 28
1
error in nls, step factor reduced below minFactor
Hello, I've seen various threads on people reporting: step factor 0.000488281 reduced below `minFactor' of 0.000976563 While I know how to set the minFactor, what I'd like to have happen is for nls to return to me, the last or closest fitted parameters before it errors out. In other words, so I don't get convergence, I'd still like to acquire the values of the parameters
2007 Jul 10
1
Quota Messages
Hi @all, First: I'm sorry when my english isn't understandable, please just ask if I messed things up. I switched from Cyrus to Dovecot (Cyrus was on Debian Sarge, Dovecot is now on a Etch) and I'm quite happy with it. There is just one thing that I'm missing in Dovecot. in Cyrus when users reached 90% of their Quota, a message popped up in their Mailclients, telling them to
2007 Sep 26
1
strange fsync errors
Hi all, I'm using dovecot since a few months and it works great. But a few days ago some coworkers mentioned that they got errormessages in their Mailapp. I searched in the logfiles and found this: Sep 14 12:07:35 Mailserv dovecot: IMAP(eckhard-ma-domain-com): fsync(/home/eckhard-ma-domain-com/mails/.INBOX.0002-Druckangebote von Druckereien.0002-schmerk
2017 Jul 12
2
Question on Simultaneous Equations & Forecasting
Hello, I have estimated a simultaneous equation model (similar to Klein's model) in R using the system.fit package. I have an identity equation, along with three other equations. Do you know how to explicitly identify the identity equation in R? I am also trying to forecast the dependent variables in the simultaneous equation model, while incorporating the identity equation in the
2005 Aug 23
2
rsync problem
Hi, My rsync is stopped working suddenly I got following in verbose and log, mkstemp failed: No such file or directory and rsync error: received SIGUSR1 or SIGINT (code 20) at rsync.c(229) my rsync code : rsync -az -e ssh --delete $HOSTTOBACKUP:$SOURCE $DR_BACKUP_DIR/daily.0 >$tempfile 2>&1 the same code was working last week, what will be the problem, how to proceed to fix?
2007 Mar 05
2
IAX2, DTMF and x86_64.
Hi all, I'm just starting to play with 1.4. I installed 1.4.1 on an Ia32 machine, and can't find any problems. So, I decided to upgrade my home pbx. All went well until I tried using my S101 to talk to the IVR. Some times, the first one or two digits get through, but eventually a digit will get stuck, playing continuously until the call is terminated. I have confirmed this
2017 Jul 13
2
Question on Simultaneous Equations & Forecasting
Frances, I would not advise Gauss-Seidel for non linear models. Can be quite tricky, slow and diverge. You can write your model as a non linear system of equations and use one of the nonlinear solvers. See the section "Root Finding" in the task view NumericalMathematics suggesting three packages (BB, nleqslv and ktsolve). These package are certainly able to handle medium sized models.
2016 Feb 08
1
KVM
> Are the disk partitions properly aligned to 4k boundary on the host (and in > the guests too) ? > There are 5 in total server. 32G ram. 2T r1 (soft) disk. On Mon, Feb 8, 2016 at 9:41 PM, Zoltan Frombach <zoltan at frombach.com> wrote: > Are the disk partitions properly aligned to 4k boundary on the host (and in > the guests too) ? > > See >
2017 Jul 13
0
Question on Simultaneous Equations & Forecasting
Hi Frances, I have not touched the system.fit package for quite some time, but to solve your problem the following two pointers might be helpful: 1) Recast your model in the revised form, i.e., include your identity directly into your reaction functions, if possible. 2) For solving your model, you can employ the Gau?-Seidel method (see https://en.wikipedia.org/wiki/Gauss%E2%80%93Seidel_method).
2017 Jul 13
0
Question on Simultaneous Equations & Forecasting
Who was speaking about non-linear models in the first place??? The Klein-Model(s) and pretty much all simultaneous equation models encountered in macro-econometrics are linear and/or can contain linear approximations to non-linear relationships, e.g., production functions of the Cobb-Douglas type. Best, Bernhard -----Urspr?ngliche Nachricht----- Von: Berend Hasselman [mailto:bhh at xs4all.nl]
2017 Jul 13
1
Question on Simultaneous Equations & Forecasting
> On 13 Jul 2017, at 12:55, Pfaff, Bernhard Dr. <Bernhard_Pfaff at fra.invesco.com> wrote: > > Who was speaking about non-linear models in the first place??? > The Klein-Model(s) and pretty much all simultaneous equation models encountered in macro-econometrics are linear That's really not true. Klein model is linear but Oseibonsu did not say that explicitly. "Klein