Displaying 20 results from an estimated 1000 matches similar to: "Predict"
2011 Jan 11
5
A question on dummy variable
Dear all, I would like to ask one question related to statistics, for
specifically on defining dummy variables. As of now, I have come across 3
different kind of dummy variables (assuming I am working with Seasonal
dummy, and number of season is 4):
> dummy1 <- diag(4)
> for(i in 1:3) dummy1 <- rbind(dummy1, diag(4))
> dummy1 <- dummy1[,-4]
>
> dummy2 <- dummy1
>
2013 Mar 21
4
easy way of paste
Hello,
Is there a better way to use paste such as:
a = paste(colnames(list.indep)[1],colnames(list.indep)[2],colnames(list.indep)[3],colnames(list.indep)[4],colnames(list.indep)[5],sep="+")
> a
[1] "aa+dummy1+dummy2+bb+cc"
I tried
a = paste(colnames(list.indep)[1:5],sep="+")
> a
[1] "aa" "dummy1" "dummy2"
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
2015 May 27
2
dummy interface shenanigans - CentOS6
tl;dr - a renamed dummy interface is not persisting across reboots on Cent6.
I have a situation where I need to rename a dummy interface on my system.
I have a total of 3 dummy interfaces:
dummy0
dummy1
adummy0
I've been doing some puppet testing in a vbox VM to get this all
sorted out to deploy to a group of boxes. Every time I reboot my VM,
it comes up WITHOUT adummy0, but I notice
2001 Mar 13
1
.C-calls
Dear all,
(sorry I got the wrong button for subscribing a minute ago)
At the moment I'm writing on a package for random field
simulation that I'd like to make publically availabe
in near future.
To this end I've asked Martin Maechler to have a look
at my R-code. He was very surprised about how
I perform the ".C"-calls, and encouraged me to
make this request for comments.
2009 Sep 04
1
predicting from segmented regression
Hello
I'm having trouble figuring out how to use the output of "segmented()"
with a new set of predictor values.
Using the example of the help file:
??set.seed(12)
xx<-1:100
zz<-runif(100)
yy<-2+1.5*pmax(xx-35,0)-1.5*pmax(xx-70,0)+15*pmax(zz-.5,0)+rnorm(100,0,2)
dati<-data.frame(x=xx,y=yy,z=zz)
out.lm<-lm(y~x,data=dati)
o<-## S3
2013 Feb 24
2
[LLVMdev] How to measure the overhead of instrumented code
Hello all,
I have developed a instrumented pass which insert some variables between
the original variables,
as well as insert some code into the original source code. just like:
============= original source code =============
int a[10];
void fun1 () {
// some source code here
}
=========================================
============= instrumented source code =============
int
2002 Jul 02
1
Strange behaviour in plot and points?
Hello R-users
I was puzzled by some strange results of an analysis and I found out what is
for me a strange behaviour (I won't dare to say a bug) in both plot and
points (and I suspect lines and other kind of lower level plots). If you try
the following code:
> data<-data.frame(dummy1=c(1:10),dummy2=c(1:10))
> plot(data$dummy1,data$dummy3)
A plot of the values of dummy1 against
2015 Jun 17
6
[PATCH v4 0/3] btrfs: use CLEANUP_FREE_STRING_LIST for list free
As Pino's comment, we should take advantage of
macro CLEANUP_FREE_STRING_LIST
v4: remove some redundant strdup
v3: fix test case failure
v2: properly initialize lines
Chen Hanxiao (3):
do_btrfs_qgroup_show: fix a bad return value
do_btrfs_subvolume_list: fix a bad return value
btrfs: use CLEANUP_FREE_STRING_LIST for list free
daemon/btrfs.c | 70
2015 Jun 17
1
Re: [PATCH v4 1/3] do_btrfs_qgroup_show: fix a bad return value
On Wednesday 17 June 2015 16:19:31 Chen Hanxiao wrote:
> We should not use tmp lines buffer as return value,
> for lines buffer will be freed.
s/tmp/temporary/
> Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
> ---
> v4: take advantage of sscanf's '%m'.
> v3: fix test case failure
>
> daemon/btrfs.c | 40
2013 Jun 07
4
matched samples, dataframe, panel data
I R-helpers
#I have a data panel of thousands of firms, by year and industry and
#one dummy variable that separates the firms in two categories: 1 if the firm have an auditor; 0 if not
#and another variable the represents the firm dimension (total assets in thousand of euros)
#I need to create two separated samples with the same number os firms where
#one firm in the first have a corresponding
2015 May 27
1
dummy interface shenanigans - CentOS6
Frank Even wrote:
> On Wed, May 27, 2015 at 1:37 AM, Frank Even
> <lists+centos.org at elitists.org> wrote:
>> tl;dr - a renamed dummy interface is not persisting across reboots on
>> Cent6.
>>
>> I have a situation where I need to rename a dummy interface on my
>> system.
>>
>> I have a total of 3 dummy interfaces:
>>
>> dummy0
2015 Jun 23
1
[PATCH] btrfs: remove redundant whitespace
s/ =/ =
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
---
daemon/btrfs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/daemon/btrfs.c b/daemon/btrfs.c
index 8b5779a..306cade 100644
--- a/daemon/btrfs.c
+++ b/daemon/btrfs.c
@@ -512,7 +512,7 @@ do_btrfs_subvolume_list (const mountable_t *fs)
goto error;
}
- struct
2009 Dec 14
4
[LLVMdev] inttoptr weirdness
Hi again.
I have a complex type system in my custom language that isn't easily
representable as LLVM IR types, so I figured I could mostly get along
with treating my types as i8* and doing the appropriate bitcasts and
inttoptr instructions, and doing pointer arithmetic myself (by casting
the pointers to ints, adding the appropriate byte offsets, and then
casting back to pointers).
However,
2017 Jul 07
2
RV: gráfico dispersión
De: Dr. José A. Betancourt Bethencourt [mailto:jbetancourt en iscmc.cmw.sld.cu]
Enviado el: viernes, 7 de julio de 2017 12:05
Para: 'r-help-es en r-project.org' <r-help-es en r-project.org>
Asunto: RV: gráfico dispersión
De: Dr. José A. Betancourt Bethencourt [mailto:jbetancourt en iscmc.cmw.sld.cu]
Enviado el: viernes, 7 de julio de 2017 12:05
Para: 'r-help-es en
2005 Jul 28
1
WINBIND
hello,
I have a Linux Client (debian sarge) which shares a folder via Samba
(3.0.14a).
A remote client who wants to mount that share needs to authenticate himself.
Like in: mount -t smbfs -o username=user1,password=secret
My Samba now have to check the auth against a Active directory.
Now my question:
Do I need winbind on my client?
Because, winbind only maps sid to uid and uid to sid.
In case
2014 Jan 23
2
Shutdown when both (all) UPS on battery / low battery
On Jan 21, 2014, at 9:24 AM, Rafal Oleszek wrote:
> I tried all options:
> 1,2
> and in MINSUPPLIES: 1,2,3,4
> still didn't work.
My mistake - I gave you the wrong advice before. For MINSUPPLIES, I'm used to either a 1:1 UPS-to-server ratio, or 2:1 where the server can run with either power supply unpowered.
I just tried this in upsmon.conf:
MONITOR dummy1 1 monuser
2014 Jan 21
2
Shutdown when both (all) UPS on battery / low battery
On Jan 21, 2014, at 8:05 AM, Rafa? Oleszek wrote:
> MONITOR UPS_251 at localhost 2 monmaster password master
> MONITOR UPS_252 at localhost 2 monmaster password master
I think the "2"s here should be "1".
"powervalue is an integer representing the number of power supplies that the UPS feeds *on this system*."
So if UPS_251 is connected to one power supply on
2014 Jan 21
0
Shutdown when both (all) UPS on battery / low battery
I tried all options:
1,2
and in MINSUPPLIES: 1,2,3,4
still didn't work.
UPS_251 and UPS_252 feeds all environment and it's not feed directly one
server, but many of them.
> On Jan 21, 2014, at 8:05 AM, Rafa? Oleszek wrote:
>
>> MONITOR UPS_251 at localhost 2 monmaster password master
>> MONITOR UPS_252 at localhost 2 monmaster password master
>
> I think the
2005 Sep 28
1
PowerWalker ups/usv config file
Hello List,
i have a "PowerWalker VI 400, VI 600, VI 800" ups, which i bought on ebay
since it said it supports Linux.
Well, it came with a closed source binary written in Java. :(
Has anyone a config file which will fit to my PowerWalker ups/usv?
The genericups driver doesnt seem to work.
Thanks, Mario
--
GMX DSL = Maximale Leistung zum minimalen Preis!
2000 MB nur 2,99, Flatrate