Displaying 20 results from an estimated 7000 matches similar to: "Multiple Lorenz curves in one diagram"
2013 Dec 10
2
Multiple Lorenz curves in one diagram - populations with different "n"
Dear R users,
I'm using the "ineq" package to calculate the values of Gini and Lorenz coefficients and to and plot Lorenz graph.
I want to plot on the same diagram, curves from two different populations, that have different "n".
How can I do this?
Best regards,
Patricia
[[alternative HTML version deleted]]
2011 Jun 10
2
Problem loading packages in R 2.13.0 on Mac
I am having problem loading packages in the newest version of R
(2.13.0) on my Mac. I have tried to install various packages (e.g.
lawstat, Rcmdr, car) and load them using the Package Installer and
Package Manager menu options but I get the follow error:
> library(lawstat)
Loading required package: mvtnorm
Error: package 'mvtnorm' could not be loaded
In addition: Warning
2008 Feb 12
1
Re: Problem with Blackfin assembly optimizations -- bug in fixed_bfin.h / resampler saturation???
Hi,
when I compile with FIXED_DEBUG enabled, I get an error -- both when make tries to build testenc.o and when I try to link my app against the speex lib:
lorenz@panelmaker:~/Blackfin/tests/speex_loopthrough$ make
bfin-uclinux-gcc -c -g -I/home/lorenz/include -o main.o main.c
bfin-uclinux-gcc -gl -elf2flt -L/home/lorenz/lib -o speex_through main.o -lspeex_debug -lspeexdsp -lm
2008 Feb 22
1
Re: Problem with Blackfin assembly optimizations -- bug in fixed_bfin.h / resampler saturation???
Hi Jean-Marc,
after some problems with getting svn to work here I finally made it. Problem is, you write that I cannot use libspeex and libspeexdsp at the same time now -- because I use a "live" system (mic-in -> speex_enc -> speex_dec -> headphone out) and I can run the AD1836 audio codec on 48 kHz only, I cannot use my program now (because I use speex resampling...)
So I
2008 Mar 05
1
Problem with Blackfin assembly optimizations -- bug in fixed_bfin.h / resampler saturation???
Jean-Marc, Frank,
I have stumbled across a similar situation regarding optimization.
I seem to have a similar setup as Frank does with a fixed 48khz in and out. The wideband mode and ultra-wideband modes are really what I?m looking for.
I have a test application that reads audio, downsample to 16kHz (or 32kHz), speex encode, speex decode, upsample back to 48kHz, and playback.
If I remove
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
2014 Feb 15
2
rsync filter rules ignored by rsnapshot
Hello guys,
sorry for cross-posting, but imho it could be an error in my rsnapshot setup
as well as in my rsync setup. If there is a solution on one of these mailing-lists i will
post it to the other one as well. ok?
here is my question: when running rsnapshot, my exclude filter is being ignored, but i don't see why.
grep -v "#" /etc/rsnapshot-debx40.conf | grep .
gives
1999 Jan 25
2
graphical paramters to boxplot
Dear all,
is this a bug or do a miss something (this concerns version 0.63.1 on
Linux)?
> boxplot (c (1, 2, 3, 4, 5), ylim= c (-5, 5))
Warning: parameter "ylim" couldn't be set in high-level plot() function
> boxplot (c (1, 2, 3, 4, 5), pars= list (ylim= c (-5, 5)))
Warning: parameter "ylim" couldn't be set in high-level plot() function
>
and actually in
2007 Apr 27
2
Jarque-Bera and rnorm()
Folks,
I'm a bit puzzled by the fact that if I generate 100,000 standard normal
variates using rnorm() and perform the Jarque-Bera on the resulting vector,
I get p-values that vary drastically from run to run. Is this expected?
Surely the p-val should be close to 1 for each test?
Are 100,000 variates sufficient for this test?
Or is it that rnorm() is not a robust random number generator?
2018 Jan 15
1
About levene.test
Hi,
What package(s) must I install so that I can apply the Levene' test in my
data?
I tried 'lawstat' but dependency ?VGAM? is not available for this package.
I am using Rstudio Version 1.1.383
Tks
[[alternative HTML version deleted]]
2008 Feb 08
1
Re: Problem with Blackfin assembly optimizations -- bug in fixed_bfin.h / resampler saturation???
Hi,
I tried to figure out what the problem is -- but it seems to be totally different from what I expected.
My status at the moment is:
- computing results for "generic" and "Blackfin ASM" versions of the DIV32_16 function are the same, there is no "algorithmic bug"
- Instead, there seems some sort of memory corruption:
When I comment out the DIV32_16 function
1999 Jan 08
1
avoiding (another) error
Dear all,
Many thanks to all who always so quickly respond with helpful hints!
Currently I am working with R 0.63.1 on SuSE 5.2 which I installed this
morning within about half an hour: my deepest compliments to the
developpers! (I had still 0.62.2 before.)
This time I am trying the following:
> xy <- list (a= c (1, 2, NA), b= c (2, 3))
> list.name <- "xy"
> get
2002 Oct 31
7
Symbols for male/female
Dear all,
I would like to use the biological symbols for male and female as plotting
symbols in a scatterplot (ideally filled and non-filled). R does not seem
to have these symbols using pch= in plot() nor are they implemented via
expression() or at least I did not find them. I found that the symbols are
e.g. available in the wasysym and the marvosym package in LaTeX.
I have coded two very rough
2002 Oct 31
7
Symbols for male/female
Dear all,
I would like to use the biological symbols for male and female as plotting
symbols in a scatterplot (ideally filled and non-filled). R does not seem
to have these symbols using pch= in plot() nor are they implemented via
expression() or at least I did not find them. I found that the symbols are
e.g. available in the wasysym and the marvosym package in LaTeX.
I have coded two very rough
2007 Aug 22
4
within-subject factors in lme
I don't think, this has been answered:
> I'm trying to run a 3-way within-subject anova in lme with 3
> fixed factors (Trust, Sex, and Freq), but get stuck with handling
> the random effects. As I want to include all the possible random
> effects in the model, it would be something more or less
> equivalent to using aov
>
> > fit.aov <- aov(Beta ~
>
2006 Mar 17
3
Element.getDimensions
Hi all,
should it be considered a bug that Element.getDimensions returns the
offsetWidth and offsetHeight properties from elemens having not
display none, but clientWidth and clientHeight from elements with
display none?
Or is it a feature?
Regards Lorenz
2010 Jan 14
2
Fwd: Re: Fixed Point on wideband-mode: Single Frame loss on 2000 Hz sine causes "freak off"
Hi Jean-Marc,
yes, problem exists in narrowband-mode, too.
I already twiddled with max_gain, but did not have real success. I changed line 337 of ltp.c (function pitch_gain_search_3tap_vq)
if (sum>best_sum && gain_sum<=max_gain) {
to
if (sum>best_sum && gain_sum<max_gain) {
-- that stabilizes speex for 2000 Hz and 2200 Hz input on quality setting 7 (23800
2008 Feb 05
1
Re: Problem with Blackfin assembly optimizations -- bug in fixed_bfin.h / resampler saturation???
Hi,
I just started to examine the DIV32_16 function (Blackfin ASM version), and wondered why the return value of the function inside 'fixed_bfin.h' is of type 'spx_word16_t', but the local variable 'res' which is returned by this function is of type 'spx_word32_t'. Is this a trick of optimization or a bug?
(Same question for PDIV32_16 and MAX16, too!)
best
2010 Feb 11
1
Code find exact distribution for runs test?
I've been attempting to understand the one-sample run test for
randomness. I've found run.test{tseries} and run.test{lawstat}. Both
use a large sample approximation for distribution of the total number
of runs in a sample of n1 observations of one type and n2 observations
of another type.
I've been unable to find R code to generate the exact distribution and
would like to see how
2010 Jan 13
1
Fwd: Re: Fixed Point on wideband-mode: Single Frame loss on 2000 Hz sine causes "freak off"
<body bgcolor="#ffffff" background="https://img.web.de/v/p.gif" class="bgRepeatYes" style="background-repeat: repeat; background-color: rgb(255, 255, 255); color: rgb(0, 0, 0); font-size: 9pt; padding-left: 0px;" ><p>Hi Jean-Marc,</p>
<p> </p>
<p>yes, I tested with floating point. It is only a fixed point