Displaying 20 results from an estimated 1000 matches similar to: "Resumen de R-help-es, Vol 19, Envío 28"
2010 Sep 28
3
calcular la variancia de gini por bootstrap
Hola, paso el mini programita q estoy viendo, lo q me llama la atencion es
una parte donde se definen las funciones.
Probe primero meter adentro del boots la estadistica a estimar usando
directamente gini(varible, pesos) pero no me dejo.
Vi q en el ej del manual de boots, siempre define antes la funcion, entonces
probe definir antes una funcion haciendo
grini<-function(x) {gini(variable,
2010 Sep 28
2
Problema con read.spss
Hola,
Tengo problemas a la hora de cargar un archivo que originalmente está en
SPSS.
Trabajo con Fedora y uso R mediante el plugin Rgedit en gedit.
Además en Fedora no tengo SPSS, sino PSPP
Para cargar el archivo he probado estas dos cosas (escribo también el
mensaje de error que me genera R):
>library_(foreign)
>read.spss("guille.sav",to.data.frame = T)
Error en
2016 Aug 21
0
ldap user login issue
On Sun, 21 Aug 2016 16:15:35 +0000
Parag Khuraswar <parag_k at citilindia.com> wrote:
> Hi Rowland,
>
> Thanks for reply,
>
> I'm using:-
> Samba - SAMBA4 Domain Controller
> OS - RHEL 6.8 64bit
> Samba Version - Version 4.4.5 (compiled)
> Samba config file:-
>
2016 Apr 01
0
Compute the Gini coefficient
Hello,
Thank you very much for your help.
How can I draw a Lorenz curve with several replications ?
Here is an example with 4 replications:
hosts=c(23,31,19,10,7,7,3,
39,40,8,3,6,2,2,
47,17,8,10,6,11,1,
30,30,10,0,15,15,0)
parasites=rep(seq(from=0,to=6,by=1),4)
replications=c(rep(1,7),rep(2,7),rep(3,7),rep(4,7))
test <- cbind(parasites,hosts,replications)
Should I
2011 Jun 21
0
How does rpart computes "improve" for split="information"?? (which seems to be different then the "gini" case)
Hello dear R-help members,
I would appreciate any help in understanding how the rpart function computes
the "improve" (which is given in fit$split) when using the
split='information' parameter.
Thanks to Professor Atkinson help, I was able to find how this is done in
the case that split='gini'. By following the explanation here:
2009 Sep 03
0
user defined udev rules
Hi,
I would like to change permissions of /dev/sda* and /dev/hda* files to
0644. I added the following rules to 99-udev.rules files:
KERNEL=="[hs]d*", OWNER="root" GROUP="disk", MODE="0644
After restarting udev by strat_udev, I checked that permissions were
changed:
[root at gini rules.d]# ll /dev/sda*
brw-r--r-- 1 root disk 8, 0 Sep 2 2009 /dev/sda
2011 Jun 13
1
In rpart, how is "improve" calculated? (in the "class" case)
Hi all,
I apologies in advance if I am missing something very simple here, but since
I failed at resolving this myself, I'm sending this question to the list.
I would appreciate any help in understanding how the rpart function is
(exactly) computing the "improve" (which is given in fit$split), and how it
differs when using the split='information' vs split='gini'
2003 Sep 18
1
Samba + nmblookup
Hi Everyone,
>From windows 2K, machine I could see Samba server but I can't get its
share.
I tried to follow the instruction given at
http://samba.planetmirror.com/samba/ftp/docs/Samba24Hc13.pdf to resolve
the problem.
nmblookup -U 127.0.0.1 _SAMBA_
and
nmblookup -B 10.10.255.255 real-samba-server-name
fails for me but
nmblookup -U 127.0.0.1 real-samba-server-name
2011 Sep 22
2
comparing mixed binomial model against the same model without random effect
Hi everybody,
If I am correct, you can compare a model with random effect with the same model without the random effect by using the nlme function, like this:
no.random.model <- gls(Richness ~ NAP * fExp,
method = "REML", data = RIKZ)
random.model <- lme(Richness ~NAP * fExp, data = RIKZ,
random = ~1 | fBeach, method = "REML")
2010 Sep 03
7
Function Gini or Ineq
Hi listers,
Does it necessary to install any package in order to use the GINI or INEQ
functions.
If I use the following command the R tells me that didn't find the GINI
function.
x<-c(541, 1463, 2445, 3438, 4437, 5401, 6392, 8304, 11904, 22261)
G<-gini(x)
Thanks in advance,
Marcio
--
View this message in context:
2005 Jun 24
2
Gini with frequencies
Hi there,
I am trying to compute Gini coefficients for vectors containing income classes. The data I possess look loke this:
yit <- c(135, 164, 234, 369)
piit <- c(367, 884, 341, 74 )
where yit is the vector of income classes, and fit is the vector of associated frequencies.(This data is from Rustichini, Ichino and Checci (Journal of Public Economics, 1999) ). In ineq pacakge, Gini( )
2007 Jun 16
1
Use of the "by" command (clarification)
Well apparently this has nothing to do with the gini() command.
I cannot get it to work for something as simple as sum()
Here is the little example I am playing with, maybe someone can help me find
my error:
a<-c("A","B","C","A","B","C","A","A","C","B")
2007 Jun 16
0
Use of the "by" command for gini()
I have a data set that contains income data and a group identifier. Sort of
like:
DATA
Group,Income
A,2300
B,6776
A,6668
A,6768
B,9879
C,5577
A,7867
(etc),(etc)
I am trying to compute the gini coefficient for each group.
I have tried the following and none seem to do the trick:
1)
attach(DATA)
by(DATA, group, function(x) gini(income))
2)
attach(data)
tapply(income, group,
2016 Mar 30
2
Compute the Gini coefficient
Hello,
I would like to build a Lorenz curve and calculate a Gini coefficient in order to find how much parasites does the top 20% most infected hosts support.
Here is my data set:
Number of parasites per host:
parasites = c(0,1,2,3,4,5,6,7,8,9,10)
Number of hosts associated with each number of parasites given above:
hosts = c(18,20,28,19,16,10,3,1,0,0,0)
To represent the Lorenz curve:
I
2007 Jun 11
1
Gini coefficient in R
If I use the Ineq library and the Gini function in this way:
>Gini(c(100,0,0,0))
I obtain the result 0.75 instead of 1 (that is the perfect inequality).
I think Gini's formula in Ineq is based on a formula as reported here:
http://mathworld.wolfram.com/GiniCoefficient.html
but in the case of perfect inequality:
x_1=.......=x_n-1 =0
x_n>0
these formula are equal to 1 - 1/n, not to
2009 Sep 28
1
how to visualize gini coefficient in each node in RF?
Dear all,
I am working with randomForest package and I am interested in examining the
"Gini importance" measures that are used as a general indicator of feature
relevance. Is there a possibility of getting the Gini measure that is being
estimated in each tree by the output of the getTree() function?
Thanks a lot,
Chrysanthi
[[alternative HTML version deleted]]
2010 Oct 19
1
Gini Coefficient
Dear List,
I am unsure if this is specifically a R question or a stats question? I thought i would ask here and if i get no replies it will answer that!
I am trying to calculate Gini coefficients in R, based on a slight modification of the typical equation that i have seen in a paper.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-2.pdf
Type:
2011 Apr 19
2
Problem with softlinks under samba on RHEL
Hello all Samba enthusiasts.
I am a noob w.r.t. samba configuration and just happened to use it on
Solaris systems by creating conf files using copy-paste :-). This is
just to convey that I'm no advanced user and might need help with the
solutions / alternatives to come.
Some background => Here is my smb.conf:
===
[global]
workgroup = <company domain>
server string = Samba
2002 Jan 25
0
rpart subsets
A few weeks back I posted that the subset feature of rpart was not working
when predicting a categorical variable. I was able to figure out a simple
solution to the problem that I hope can be included in future editions of
rpart. I also include a fix for another related problem.
The basic problem is that when predicting a categorical using a subset, the
subset may not have all the categories
2002 Jan 28
0
rpart subset fix
(Apparently, I posted this to the wrong place. I am hopefully posting this
is the correct place now. If not, please advise.)
A few weeks back I posted that the subset feature of rpart was not working
when predicting a categorical variable. I was able to figure out a simple
solution to the problem that I hope can be included in future editions of
rpart. I also include a fix for another related