search for: reldist

Displaying 13 results from an estimated 13 matches for "reldist".

Did you mean: redist
2011 Jul 11
1
problem finding p-value for entropy in reldist package
Hi, I am using the reldist package and having problems determining the p-value for the entropy value from the reldist function. I am able to properly determine the entropy value, but cannot figure out what function to use to find the p-value. I have tried using rpy, rpluy (which provides p-values for the polarization value...
2007 Oct 10
0
Warning message when using "reldist" package
Dear R users, I'm using the "reldist" add-on package to calculate relative distribution in R as part of my research project. The subject is a general mental health score ranging from 0 to 12 (integer values only) with 0 indicating no mental health problem and positive values meaning some or sever mental health problem. When I ru...
2009 Jul 30
0
package "reldist" version 1.5-5.1 : how to not just compare two years's wage distribution
Dear all users, I read all R programs and texts in "Relative Distribution Methods" website, but I encounter two problems when I used it. then I used "Google" to try to find any solutions about the two problems,but I got no useful hints. 1、 In package "reldist" y mean sample from comparison distribution yo mean sample from reference distribution but I would like to compare more than two years ( A total of fifteen years, from 1979, 1981, 1983, 1985..........to 2007) how should I correct my programs in the below, then I can compare fifteen yea...
2009 Jul 27
0
help about package "reldist" (Relative Distribution)
Dear R users: i try to use package "reldist" to measure wage distribution. In package "reldist" : y mean sample from comparison distribution yo mean sample from reference distribution but I would like to compare more than two years ( total of fifteen years, from 1979, 1981, 1983..........to 2007) how should i correct my p...
2016 Mar 30
2
Compute the Gini coefficient
...nd hosts: cumul_parasites <- cumsum(parasites)/max(cumsum(parasites)) cumul_hosts <- cumsum(hosts)/max(cumsum(hosts)) plot(cumul_hosts, cumul_parasites, type= "l") >From this Lorenz curve, how can I calculate the Gini coefficient with the function "gini" in R (package reldist) given that the vector "hosts" is not a vector of weights ? Thank you very much for your help. Have a nice day Marine [[alternative HTML version deleted]]
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:
2009 Sep 03
2
How can I appoint a small part of the whole data
Dear all, I have 1980~1990 eleven datas, every year have three variables, wage gender(1=female, 2=male) race(1=black, 2=white) My original commands is: fig2b<-reldist(y=mu1990$wage,yo=mu1980$wage,.......) I have three questions: 1. If I want to appoint y=women's wage in 1990 yo=women's wage in 1980 2. If I want to appoint y=women's wage in 1990 yo=men's wage in 1990 3. If I...
2016 Apr 01
0
Compute the Gini coefficient
...)) > The Lorenz curves starts at (0,0), so to draw it, you need to extend these vectors > > cumul_hosts = c(0,cumul_hosts) > cumul_parasites = c(0,cumul_parasites) > > plot(cumul_hosts,cum9l_parasites,type=?l?) > > > The Gini coefficient can be calculated as > library(reldist) > gini(parasites,hosts) > > > If you want to check, you can ?recreate? the original data (number of parasited for each host) with > > num_parasites = rep(parasites,hosts) > > and > gini(num_parasites) > > will also give you the Gini coefficient you want. > >...
2009 Aug 18
1
three dimensions barchart
...stribution graph, it looks like barchart(X,Y plot), but I have ten(year) Relative Distribution grapgs, have any command am can combine ten barcharts(X,Y plot) to become a three dimensions barchart(X,Y,Z plot)? All help highly appreciated Best, Yichih One Relative Distribution graph: fig2b<-reldist(y=mu96$adjwage,yo=mu68$adjwage,ci=F,smooth=0.4, bar=TRUE,yolabs=seq(-1,3,by=0.5), ylim=c(0,7),cex=0.8,ylab="Relative Density",xlab="Proportion of the Original Cohort") title(main="Fig2(b):2007",cex=0.6) -- Yichih Hsieh e-mail : yichih.hsieh@gmail.com [[alternati...
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 29
0
Resumen de R-help-es, Vol 19, Envío 28
...ootstrap > Message-ID: > <AANLkTiks_WC3g4FnLSr6VK=-Ue4Ejsb7FEmf8MvfZY+Q@mail.gmail.com<Ue4Ejsb7FEmf8MvfZY%2BQ@mail.gmail.com> > > > Content-Type: text/plain > > Buenas noches Jose, > > Considera el siguiente ejemplo (modificado de [1]): > > # paquete reldist que contiene la funcion gini() > > require(reldist) > > > # datos y pesos -- obtenidos como dput(d) > > d <- structure(list(x = c(541, 1463, 2445, 3438, 4437, 5401, 6392, > > 8304, 11904, 22261), w = c(0.287577520124614, 0.788305135443807, > > 0.4089769218117,...
2002 Mar 26
3
ks.test - continuous vs discrete
I frequently want to test for differences between animal size frequency distributions. The obvious test (I think) to use is the Kolmogorov-Smirnov two sample test (provided in R as the function ks.test in package ctest). The KS test is for continuous variables and this obviously includes length, weight etc. However, limitations in measuring (e.g length to the nearest cm/mm, weight to the nearest
2007 Mar 26
1
Problem in loading all packages all at once
...;RandVar","rankreg","RArcInfo","RBloomberg","rbugs","Rcmdr","Rcmdr.HH","RColorBrewer","rcom","RcppTemplate","rda","ref","regress","relaimpo","relax","reldist","relimp","relsurv","reshape","ResistorArray","resper","RFA","Rfwdmv","rgdal","rgenoud","rgl","RGraphics","RII","rimage","riv","rJava","Rla...