Displaying 20 results from an estimated 10000 matches similar to: "predict.lm point forecasts with factors"
1999 Dec 11
1
Problems with recursive MPUT
I'm running samba 2.0.5a on a Sun Sparc 5 with Solaris 2.6 and trying to
use smbclient to copy an entire directory tree to a Windows NT 4.0 box.
I'm using the recurse command and can create first level directories but
I am unable to create new subdirectories in any of them.
For example I created the following directory structure on the Sun:
1 % ls -R
.:
d1/ d2/
./d1:
f11 f12
2012 Sep 06
2
choose() function returning anomalous results (zero instead of one)
Hello,
(Apologies for length, wanted to get all the relevant detail in that I know
of).
I've been having a lot of trouble with some code for an inventory analysis
problem I was doing, and finally came to the conclusion that it appears
that choose() is returning incorrect values. Specifically:
-------------
Browse[1]> nn
[1] 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3
2012 Mar 15
1
eigenvalues of matrices of partial derivatives with ryacas
Hello,
I am trying to construct two matrices, F and V, composed of partial
derivatives and then find the eigenvalues of F*Inverse(V). I have the
following equations in ryacas notation:
> library(Ryacas)
> FIh <- Expr("betah*Sh*Iv")
> FIv <- Expr("betav*Sv*Ih")
> VIh <- Expr("(muh + gamma)*Ih")
> VIv <- Expr("muv*Iv")
I
2011 Feb 03
2
"Matrix' with Functions
Dear R members,
I have a quite large of function that are named like that
f11,f12,...f15
f21,f22,...f25
..
f51,f52,...f52
These are static (hard-coded) functions that the only common they have is that they take the same number and type of input fij(a,b,c,d). As you might understand this is really close to the notion of matrix only that my 'matrix' contains functions. It would be great if
2010 Jul 15
1
Error using the mi package
I'm trying to impute data using the mi package, but after running
through almost the entire first round of imputations (which takes
quite a while), it throws this error (I'll include the whole output
prior to the error for context). Does anyone know what is causing it,
or how I can fix it?
More specifically, how can I tell what is throwing the error so I know
what to fix? Is
2008 Sep 09
1
creating table of averages
Dear Colleagues,
I have a dataframe with variables:
[1] "ID" "category" "a11" "a12"
"a13" "a21"
[7] "a22" "a23" "a31" "a32"
"b11" "b12"
[13] "b13" "b21"
2005 Apr 02
4
factor to numeric in data.frame
Dear All,
Assume I have a data.frame that contains also factors and I would like to
get another data.frame containing the factors as numeric vectors, to apply
functions like sapply(..., median) on them.
I read the warning concerning as.numeric or unclass, but in my case this
makes sense, because the factor levels are properly ordered.
I can do it, if I write for each single column
2008 Apr 04
2
predict.glm & newdata
Hi all -
I'm stumped by the following
mdl <- glm(resp ~ . , data = df, family=binomial, offset = ofst) WORKS
yhat <- predict(mdl) WORKS
yhat <- predict(mdl,newdata = df) FAILS
Error in drop(X[, piv, drop = FALSE] %*% beta[piv]) :
subscript out of bounds
I've tried without offset, quoting binomial. The offset variable ofst IS in df.
Previous postings indicate possible
2010 Sep 10
0
covariance matrix structure for random effect in glmmPQL
Dear all,
I'm using R function "glmmPQL" in "MASS" package for generalized linear mixed model considering the temporal correlations in random effect. There are 1825 observations in my data, in which the random effect is called "Date", and there are five levels in "Date", each repeats 365 times.
When I tried
2010 Aug 26
5
Quick GREP challenge
> grep("f[0-9]+=", "f1=5,f22=3,", value = T)
[1] "f1=5,f22=3,"
How do I make the line output c("f1", "f22") instead? (Actually, c(1,22)
would be even better).
Thank you.
--
View this message in context: http://r.789695.n4.nabble.com/Quick-GREP-challenge-tp2339486p2339486.html
Sent from the R help mailing list archive at Nabble.com.
2008 Apr 30
1
help text key F10 in pxelinux > 3.61
Hi,
i have a strange problem since pxelinux 3.62 with the F10 help key.
I configured this:
DISPLAY pxelinux.cfg/schlunix_new.txt
F1 pxelinux.cfg/helps/schlunix
F2 pxelinux.cfg/helps/schlunix64
F3 pxelinux.cfg/helps/rescue
F4 pxelinux.cfg/helps/rescue64
F5 pxelinux.cfg/helps/stress
F6 pxelinux.cfg/helps/stress64
F7 pxelinux.cfg/helps/dosimages
F8 pxelinux.cfg/helps/mailsystem
F9
2013 Sep 05
1
MDL-ERROR
I have 2 ISDN BRI boxes, each with 4 spans, where the first one is configured as CPE, the second
one as NET(so I don't need real lines for developing and testing).
Once in a while I do see the following libpri error messages simultaneously on both boxes:
PRI Span: 1 TEI=0 MDL-ERROR (A): Got supervisory frame with F=1 in state 7(Multi-frame established)
PRI Span: 2 TEI=0 MDL-ERROR (A): Got
2008 Jul 29
1
[LLVMdev] Vector types as function arguments and interfacing with C
On Jul 29, 2008, at 12:41 PM, Duncan Sands wrote:
> Hi,
>
>> I want to be able to write a function like this
>>
>> define <2 x double> @add(<2 x double> %a, <2 x double> %b) nounwind {
>> %c = add <2 x double> %a, %b
>> ret <2 x double> %c
>> }
>>
>> and then call it from C code. What is the appropriate
2009 Oct 26
1
strange log values in 3.1
I've just got the log lines below. The first line shows the format
spec that prints each column:
%'b %'l %f
0 18,760 f1
0 11,193 f2
32,768 2,186 f3
3,128,368 3,453,856 f4
13,680 11,786 f5
32,768 6,288 f6
0 6,498 f7
0 6,346 f8
0 6,570 f9
2018 Apr 03
2
Strange problem with PRI on 64-bit?
I have some more investigation to do on this, but I wanted to see if anyone
here had any insight into the issue I've run into.
The hardware is a HP DL360 G6 with a TE420 gen 5 4-port T1 PRI card. It is one
of several systems that have been running without issue since 2010/2011. They
have all been running CentOS 4 32-bit with Zaptel 1.4.12.1 (with patch for gen
5 card), libpri 1.2.8 and
2010 Feb 14
1
mlogit function cut off formular
I'm trying to fit a multinominal logistic model using package mlogit. I have
15 independent variables. The code looks like this:
m<-mlogit(score~0|f1+f2+f3+f4+f5+f6+f7+f8+f9+f10+f11+f12+f13+f14+f15, data,
reflevel="1")
And it gives the following error message:
Error in parse(text = x) :
unexpected ')' in "score ~ 0 + alt:(f1 + f2 + f3 + f4 + f5 + f6 + f7 + f8
+ f9
2008 Jan 05
2
Behavior of ordered factors in glm
I have a variable which is roughly age categories in decades. In the
original data, it came in coded:
> str(xxx)
'data.frame': 58271 obs. of 29 variables:
$ issuecat : Factor w/ 5 levels "0 - 39","40 - 49",..: 1 1 1 1...
snip
I then defined issuecat as ordered:
> xxx$issuecat<-as.ordered(xxx$issuecat)
When I include issuecat in a glm model, the result
2013 Mar 21
2
How to store data frames into pdf file and csv file.
Hello,
I have a data frame
> mdl.summary
est.coef std.err t.stat
intercept 0.0011625517 0.0002671437 4.351784
aa -0.0813727439 0.0163727943 -4.969997
dummy1 -0.0002534873 0.0001204000 -2.105376
dummy2 -0.0007784864 0.0001437537 -5.415417
bb -0.0002856727
2018 Apr 03
3
Strange problem with PRI on 64-bit?
In article <CAHZ_z=w5DMg93gShtC93kuC+fnmraPgV46BS956U5BQXVgyhxg at mail.gmail.com>,
Matt Fredrickson <creslin at digium.com> wrote:
> On Tue, Apr 3, 2018 at 5:44 AM, Tony Mountifield <tony at softins.co.uk> wrote:
> > I have some more investigation to do on this, but I wanted to see if anyone
> > here had any insight into the issue I've run into.
> >
>
2010 Dec 16
1
PTMP BRI Unable to receive TEI from network in state 2(Assign awaiting TEI) - Asterisk 1.6.2, Latest DAHDI, LibPRI
Hi all,
Last night I went to replace an Asterisk 1.4 + mISDN + b410p box with
Asterisk 1.6.2 and DAHDI BRI - to no avail.
I had two servers so copied network setting etc from the working one,
moved the card across, ran dahdi_genconf etc and it didn't work.
Here's the console output with notices disabled:
lucas*CLI> pri intense debug span 1
Enabled debugging on span 1
[Dec 16