Displaying 20 results from an estimated 100 matches similar to: "R-beta: stable distribution and stable glm package"
1998 Jan 23
1
R-beta: save.plot()
I currently use R0.61 to produce graphs for use in a tex document.
I first type
x11(orientation='portrait',width=4,height=3.5)
to fix the size of my graph, produce some plot type commands,
and then save the whole as an .eps file using save.plot().
The graph is included in the tex file using
\epsffile{file.eps}
in a figure environment.
The problem is that the graph occupies a whole page
1998 Jan 23
2
hist: rel.freqs
In R0.61,
In hist(), should the line
rel.freqs <- counts/(sum(x) * diff(breaks))
computing the relative frequencies or height of the rectangles
in a histogram not be
rel.freqs <- counts/(sum(counts) * diff(breaks))
instead, or do I misunderstand something?
Thanks,
Philippe
--
--------------------------------------------------------
Philippe Lambert Tel:
2005 Aug 30
2
problem in generating positive stable random numbers
Dear all,
I am trying to use the
rstable(n, alpha, beta, gamma = 1, delta = 0, pm = c(0, 1, 2)))
function to generate positive stable random numbers. For positive stable
distribution, beta==1 and alpha is in (0,1), which defines random variables
with support (0, infinity). So, I used rstable(100, 0.5, 1) for an example.
I found that this gives me some negative numbers. For example,
>
2003 Mar 25
1
Help : stablereg parameter interpretation
Dear all,
I am having difficulty interpreting the parameter estimates from the stablereg
function. Specifically I am trying to keep things simple to start with by
using stablereg to fit a normal distribution to a simulated data set from
that distribution (in order to understand the way that stablereg reports
parameter estimates). I cannot work out the scale on which the dispersion
parameter (some
2008 Jul 06
2
Hi~problem with the two sample test: ks2Test in the package of fbasics
Hi everyone, when I use the two sample Kolmogorov¨CSmirnov ks2Test like this:
x=read.table("e:/x.txt")
y=rstable(1000,alpha,beta,gamma,delta)
I alway get results as follows:
Warning messages:
1: In ks.test(x = x, y = y, alternative = "two.sided") :
cannot compute correct p-values with ties
2: In ks.test(x = x, y = y, exact = TRUE, alternative = "two.sided")
1998 Jun 30
0
stable / R-announce
Dear Philippe,
thank you for the ``stable'' package.
I think we should include the four probability/RNG function into
base R.
[Maybe also the "stableglm" part (haven't yet looked at it),
especially if it could be made to work with glm() and family().]
Would this be okay with you?
All of R base follows GNU Copyleft.
But your contribution can also have your own
1997 Dec 08
3
R-alpha: Bug in tapply in the Windows version of September
The function tapply is not working in the Windows version of R=20
(Version 0.50 Beta (Sept 29, 1997))
In
tapply <- function (x, INDEX, FUN=3DNULL, simplify=3DTRUE, ...)=20
...
The part:
if (simplify && all(unlist(lapply(ans, length)) =3D=3D 1)) {
ans <- unlist(ans, recursive =3D FALSE)
names(ans)<-namelist[[1]]
return(ans)
}
should be replaced by
if (simplify
2010 Jan 07
0
rJava in R 2.8.1 on Ubuntu 8.10
Dear all,
I have had the same problem as stated before, even with SUN's jdk
installed, and therefore enable to install any of 'iplots', 'rJava' or
'JGR' packages.
It seemed however that the R CMD javareconf couldn't catch the path of
my actual jdk.
The following worked for me by forcing the JAVA_HOME environment variable:
env
2017 Dec 08
0
Preventing repeated package installation, or pre installing packages
On Wed, Nov 29, 2017 at 11:20 AM, Thierry Onkelinx
<thierry.onkelinx at inbo.be> wrote:
> Dear Larry,
>
> Have a look at https://github.com/inbo/rstable That is a dockerfile
> with a stable version of R and a set of packages.
Thank you very much. This is very useful to me.
> 2017-11-29 15:28 GMT+01:00 Larry Martell <larry.martell at gmail.com>:
>> I have a R
2017 Nov 29
0
Preventing repeated package installation, or pre installing packages
Dear Larry,
Have a look at https://github.com/inbo/rstable That is a dockerfile
with a stable version of R and a set of packages.
Best regards,
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE
AND FOREST
Team Biometrie & Kwaliteitszorg / Team Biometrics & Quality Assurance
2012 Aug 24
0
A question about GRAMMAR calculations in the FAM_MDR algorithm
Dear R developers:
I am a PHD candidate student in the school of public health of Peking
University and my major is genetic epidemiology. I am learning the FAM-MDR
algorithm, which is used to detect the gene-gene and gene-environment
interactions in the data of pedigree. The codes were written by Tom
Cattaert of the University of Liege. The algorithms and the sample datasets
are available at
2009 Aug 17
2
Newbie that don't understand R code
I got some R code that I don't understand.
Question as comment in code
//where is t comming from, what is phi inverse
rAC <- function(name, n, d, theta){
#generic function for Archimedean copula simulation
illegalpar <- switch(name,
clayton = (theta < 0),
gumbel = (theta < 1),
frank = (theta < 0),
BB9 = ((theta[1] < 1) | (theta[2] < 0)),
GIG = ((theta[2] < 0) |
2018 Jan 17
0
lost ability to apt-get install r-base=3.4.2-1trusty1
Dear Krzysztof,
I would suggest to have a look at Docker images.
https://hub.docker.com/r/rocker/r-ver/ provides images for different
versions of R. You could even create your own image with all the
packages and other dependencies that you need. See e.g. our image at
https://hub.docker.com/r/inbobmk/rstable/
Best regards,
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid /
2018 Jan 16
2
lost ability to apt-get install r-base=3.4.2-1trusty1
Hello,
I need a specific version of R installed for consistency reasons. I do the standard setup steps:
echo "deb https://cran.ma.imperial.ac.uk/bin/linux/ubuntu trusty/" | sudo tee -a /etc/apt/sources.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9
sudo apt-get update
And then a simple install call, which used to work just fine some time ago, tosses an
2011 Jul 01
2
SNOW libraries/functions, rGenoud
Dear group,
does anybody know how to export libraries/functions to all nodes when
launching snow? I want to use a function from fBasics (dstable) for a
rGenoud optimization routine, but I fail "making the function
accessible" to the nodes created. I know how it works for variables, I
know how it works in snowfall(which cant be used in that case), but I
dont know how it culd work in
2017 Nov 29
5
Preventing repeated package installation, or pre installing packages
I have a R script that I call from python using rpy2. It uses dplyr, doBy,
and ggplot2. The script has install.packages commands for these 3 packages.
Even thought the packages are already installed it still downloads,
builds, and installs them, which is very time consuming. Is there a way to
have it only do the install if the package is not already installed?
Also, I run in a docker container,
2011 Jun 20
2
shortcut in ubuntu menu (unity)
Hi, I'm on ubuntu 11.04 with the Unity environment.
I'd like to create a shortcut of an application in wine to the ubuntu menu, but it doesn't work. :(
How can I do that ?
Thanks a lot,
2009 Oct 07
1
Simulate negative skewed, fat-tailed distribution
Hi guys
Is there a way in R to simulate/generate random numbers from a negative
skewed and fat
tailed distribution ? I would like to simulate a set of (discrete) data.
Regards,
Carlos
Carlos http://www.nabble.com/file/p25783889/graph.png graph.png
--
View this message in context: http://www.nabble.com/Simulate-negative-skewed%2C-fat-tailed-distribution-tp25783889p25783889.html
Sent from the
2001 Aug 16
1
new to R: question about nlme
Hi all,
I am a PhD student in sociology, studying in Essen, Germany. I am doing an
empirical research with data on three (hierarchical) levels: Individuals
within schools within regions. The data are very sparse with a lot of
schools containing only one individual. In addition the dependent variable
is dichotomous, so that a logistic regression would be appropriate. There
are independent variables
2002 Apr 15
2
Newbie problem with ox package
HI,
I need urgently garch and egarch models. After looking through the R mail
archives I found http://www.egss.ulg.ac.be/garch/default.htm which is an Ox
package. After downloading and installing it in R (Version 1.4.1 through the
windows dialog "Packages") I received the following warning:
install.packages("D:/benjamin/bartels/R/packages/garch22/garch_v22.zip",