similar to: Error message in Genetic Matching

Displaying 20 results from an estimated 900 matches similar to: "Error message in Genetic Matching"

2011 Dec 02
1
Error in Genetic Matching
Dear R Users, I am a novice learner of R software. I am working with Genetic Matching - GenMatch(), but I am getting an Error message as follows:  Error in GenMatch(Tr = Tr, X = X.binarynp, BalanceMatrix = BalanceMatrix.binarynp,  :    GenMatch(): input includes NAs Could you please suggest me correcting the above problem? My GenMatch command is, > gen1 <- GenMatch(Tr = Tr, X =
2012 Jul 15
1
how to extract p-value in GenMatch function
Dear R-Users, I have a problem on extracting T-Stat and P-Value. I have written R-code below library("Matching") data("lalonde") attach(lalonde) names(lalonde) Y <- lalonde$re78 Tr <- lalonde$treat glm1 <- glm(Tr~age+educ+black+hisp+married+nodegr+re74+re75,family=binomial,data=lalonde) pscore.predicted <- predict(glm1) rr1 <-
2013 Apr 19
5
how to subtotal by rows
Dear R-users, I have a dataset as like below, and I want to subtotal the values of rice,wheat and maize by year for each fid. fid      year     rice     wheat      maize ------------------------------------------------ 1        1995      5        NA           NA 1        1995      NA        3           NA 1        1995      NA       NA           2 1        1996      4        NA           NA 1  
2005 Mar 11
1
smbldap-populate probleman
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [root@divide mdonada]# smbldap-populate Using builtin directory structure adding new entry: dc=auroraalimentos,dc=com,dc=br failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 389, <GEN1> line 2. adding new entry: ou=Users,dc=auroraalimentos,dc=com,dc=br failed to add entry: modifications require
2009 May 21
1
Error in smbldap-populate
HI, sorry my english and if this is a stupid question i am newby in samba with ldap Im install a clear install the ubuntu 9.04 server follow this guide from ubuntu docs https://help.ubuntu.com/9.04/serverguide/C/samba-ldap.html https://help.ubuntu.com/9.04/serverguide/C/openldap-server.html but i get this error when i try to populate samba can somebody helpme? administrador@server:~$ sudo
2004 Jan 28
2
PDC/LDAP
Hi, I'm using redhat 8.0 samba-3.0 and smbatool-0.8.3. when i run smbldap-populat, i get the following errors [root@samba root]# smbldap-populate using builtin directory structure adding new entry: dc=nijacol,dc=net failed to add entry: Already exists at /usr/local/sbin/smbldap-populate line 384, <GEN1> line 2. adding new entry: ou=Users,dc=nijacol,dc=net failed to add entry: Already
2009 Apr 26
3
3 questions regarding matrix copy/shuffle/compares
Hello all, I have the following function call to create a matrix of POP_SIZE rows and fill it with bit strings of size LEN: pop=create_pop_2(POP_SIZE, LEN) I have 3 questions: (1) If I did keep_pop[1:POP_SIZE] == pop[1:POP_SIZE] to keep a copy of the original data structure before manipulating 'pop' potentially, would this make a deep copy or just shallow? Ie
2010 Mar 11
2
Comparing matrices
Hello all, I have two matrices, pop and pop2, each the same number of rows and columns that I want to compare for equality. I am concerned about efficiency in this operation. I've tried a few things without success so far. Doing something simple like: if (pop==pop2) { cat('equal') } else { cat('NOT equal') } results in the warning: 1: In if (pop == pop2) { : the
2015 Sep 09
0
sample.int() algorithms
I was experiencing a strange pattern of slowdowns when using sample.int(), where sampling from a one population would sometimes take 1000x longer than taking the same number of samples from a slightly larger population. For my application, this resulted in a runtime of several hours rather than a few seconds. Looking into it, I saw that sample.int() is hardcoded to switch algorithms when the
2003 Dec 01
1
Fw: PDC/LDAP/SAMBA3/NT4
Hy! Excuse for the previous mail, follows correction! I followed step by step that this in the address above. > http://www.hilinski.net/samba/ But when I execute, 'script smbldap-populate.pl', appears the following errors: [root@thor sbin]# smbldap-populate.pl Using builtin directory structure adding new entry: dc=maxwelleducacional,dc=com,dc=br failed to add entry: Insufficient
2004 Jul 23
3
smbldap-populate issues?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi guys, I appear to have some issues with smbldap-populate, this used to work fine but I've recently upgraded the dev box from RH8.0 to Fedora Core 1, I assume it's related but I'm not sure exactly how... As you can see the first ou creates work, so it must at least be binding to the ldap server, but it seems to have a problem with the
2013 Apr 20
2
creating dummy variables
Hello R-users,   The below is a snippet of my data:   fid crop year value 5_1_1 SWHE 1995 171 5_1_1 SWHE 1997 696 5_1_1 BARL 1996 114 5_1_1 BARL 1997 344 5_2_2 SWHE 1995 120 5_2_2 SWHE 1996 511 5_2_2 BARL 1996 239 5_2_2 BARL 1997 349   Here, I want to create dummy variables with the names of the content of a column 'crop' in a way
2005 Nov 26
1
samba as pdc with ldap: trouble with smbldap-populate: error adding from cn=Domain Admins,ou=Groups onwards
hello there, i am new to smbldap-tools and i try to follow some tutorials to setup a samba-pdc but with migration from an old nt4 pdc server. first i want a very easy and basic setup, no tls/crypto/ssl just for testing. im also using the following tutorial: <http://www.susewiki.org/index.php?title=SAMBA-PDC_OpenLDAP_DYNDS_CLAM> i installed the smbldap-tools rpm on a suse 10 box. (called
2007 Nov 15
3
Ancova doesn't return test statistics
Dear all, I'm quite sure that this is a stupid question, but I'll ask anyway. I want to perform an ANCOVA with two continuous factors and three categorical factors. Plant population growth rate (GR) = dependent variable Seed reduction due to herbivory (SR) = continuous explanatory variable Herbivore species (HS, 2 levels) = categorical explanatory variable Population (Pop, 24 levels) =
2010 Jan 17
2
For loops in R
Hello. I've just started using R and am trying to figure out if the two codes snippets below have the same output gBest<-floor(runif(popsize,min=1,max=top)) velocity[i,j]<<-.4* velocity[i,j] + 1 * runif(1) * (pbestsVar[i,j] - popVar[i,j]) + 1 * runif(1) * (archiveVar[gBest,j] - popVar[i,j]) and for (i in 1:popsize) { for (j in 1:maxvar) { gBest<-sample(top,size=1)
2007 Oct 30
1
Samba+ldap in FreeBSD
Hello friends I am trying to configure Samba + ldap for my domain, the server is FreeBSD ... When I try to run the following command smbldap-populate It gives me the following error: adding new entry: cn=Backup Operators,ou=Group,dc=vn,dc=pri,dc=jovenclub,dc=cu failed to add entry: Can't contact LDAP server at /usr/local/sbin/smbldap-populate line 471, <GEN1> line 20. adding new
2025 May 07
1
How to get the same result for GA optimization?
I am using *Genetic Algorithm* to maximize some function which use data. I use GA package in R for this ( https://cran.r-project.org/web/packages/GA/index.html) Below is my code library(GA) set.seed(1) Dat = data.frame(rnorm(1000), matrix(rnorm(1000 * 30), nc = 30)) Fitness_Fn = function(x) { return(cor(Dat[, 1], as.matrix(Dat[, -1]) %*% matrix(x, nc = 1))[1,1]) } ga(type =
2025 May 07
1
How to get the same result for GA optimization?
Dear Daniel As far as I can see you have re-generated the data before calling ga() so the data is not just a permutation of the first set. Michael On 07/05/2025 15:36, Daniel Lobo wrote: > I am using *Genetic Algorithm* to maximize some function which use data. > > I use GA package in R for this ( > https://cran.r-project.org/web/packages/GA/index.html) > > Below is my code
2005 Apr 07
1
Noob having troubles with slapd-populate authentication
I'm following the "The Linux Samba-OpenLDAP Howto" at http://samba.idealx.org/smbldap-howto.en.html and seem to have run into a problem... I'm to the point where I want to do the initial database population using smbldap-populate.pl, but when I run it, I'm getting: Using builtin directory structure adding new entry: dc=pirategames,dc=net failed to add entry:
2010 Jul 08
2
transformation of data.frame
Hello all R users, I have a problems transforming (or maybe better regrouping) a data.frame. I have a big data.frame, which I would like to sum up according to a specific column. This is an example of my matrix: ID gen 0042787 gen2 0016070 gen2 0016070 gen3 0007409 Gen1 0007409 gen3 0006511 gen2 0006417 gen3 0016070 gen4 0006511 gen4 I want to rearrange the matrix