Displaying 20 results from an estimated 30 matches for "rlogis".
Did you mean:
rlogin
2005 Nov 29
1
rlogis() in simulation
...ct, e_gk, to be .25 and we want
the variance of the student-specific effect, e_gik, to be 1.7 - .25 =
1.45 so that the total variance sums to about 1.7.
Below is a self contained example of a small portion of the simulation.
However, I seem to misunderstand the scale and location parameters in
the rlogis function. Can anyone suggest how I might specify the variance
of the school effect to be .25 and for the student effect to be 1.45 as
I describe above? You can see my erroneous code below.
Thanks,
Harold
## Note, the subscripts are a little messy as I am changing some
notation. But it should be...
2009 Jul 07
6
Uncorrelated random vectors
Hello,
is it possible to create two uncorrelated random vectors for a given distribution.
In fact, I would like to have something like the function "rnorm" or "rlogis" with the extra property that they are uncorrelated.
Thanks for your help,
Luba
[[alternative HTML version deleted]]
2009 Mar 17
3
R does not compile any more on FreeBSD 8.0-CURRENT
...nom.o rmultinom.o
dcauchy.o pcauchy.o qcauchy.o rcauchy.o dexp.o pexp.o qexp.o rexp.o
dgeom.o pgeom.o qgeom.o rgeom.o dhyper.o phyper.o qhyper.o rhyper.o
dnbinom.o pnbinom.o qnbinom.o rnbinom.o dpois.o ppois.o qpois.o rpois.o
dweibull.o pweibull.o qweibull.o rweibull.o dlogis.o plogis.o qlogis.o
rlogis.o dnchisq.o pnchisq.o qnchisq.o dnbeta.o pnbeta.o qnbeta.o pnf.o
pnt.o qnf.o qnt.o ptukey.o qtukey.o toms708.o wilcox.o signrank.o
ranlib libnmath.a
config.status: creating src/unix/Makefile
make: /usr/local/R-devel/srcunix: No such file or directory
*** Error code 2
Stop in /usr/local/R-devel/sr...
2006 Sep 04
1
generating loglogistic distribution in R
Hi Dear,
Can someone please inform me on genreating random variables of Loglogistic,
and PERT beta distributions?
Thanks for your time and help, in advance.
Regards,
Murthy.
2011 Jul 18
0
np package, estimating the standard errors of Klein and Spady's estimator
Dear all,
I would like to estimate the standard errors of Klein and Spady's estimator
for that I am using:
library(np)
N<-100
X<-matrix(c(rnorm(N,1,1), rnorm(N,0,1)), ncol=2)
BETA <-matrix(1,2,1)
Z<-X%*%BETA
L<-rlogis(N,location=0, scale=1)
Y <-as.vector(X%*%BETA+L>=0)*1
KS <- npindexbw (xdat=X, ydat=Y, bandwidth.compute=TRUE,
method="kleinspady", ckertype="epanechnikov" )
KSi <- npindex(KS, errors=TRUE)
se(KSi)
But then I get as a result a vector Nx1, which I do not understan...
2011 Jul 25
0
error in optimization when I include constant term in Klein and Spady (np package)
...in Klein and Spady's estimator or how
can I solve the problem with the optimzation? (I already tried all the
possible optimization methods)
The code that I run is:
library(np)
N<-250
q<-2
BETA<-matrix(1,3,1)
X<-matrix(c(rnorm(N,0,1), rnorm(N,1,1)), ncol=q)
X<-cbind(X,1)
L<-rlogis(N,location=0, scale=1)
Y <-as.vector(X%*%BETA+L>=0)*1
KS <- npindexbw(xdat=X, ydat=Y, bandwidth.compute=TRUE,
method="kleinspady", optim.maxit=10^3, ckertype="epanechnikov", ckerorder=2)
Thank you
Dimitris
--
View this message in context: http://r.789695.n4.nabble....
2007 May 10
1
Follow-up about ordinal logit with mixtures: how about 'continuation ratio' strategy?
....5, .9 )
### Make "first" impact 0 so it does not confuse our study of
intercept & cutpoints.
### Any other value gets up getting added into the intercept and/or
first cutpoint.
set.seed(333)
x <- 1 + 10 * rnorm(N)
eta <- B * x + afactorImpacts[as.numeric(afactor)]
rand <- rlogis (N)
input <- eta + rand
y <- numeric(N)
dat <- data.frame(respno = 1:N, x, afactor, eta, rand, input, y )
#set y values
dat$y[ dat$input <= cutpoint[1] ] <- 1
dat$y[ cutpoint[1] < dat$input & dat$input <= cutpoint[2] ] <- 2
dat$y[ cutpoint[2] < dat$input & dat...
1997 Dec 13
1
R-beta: Compile error; R-0.60.1, Solaris 2.6, gcc 2.7.2.1
...cc -g -I../include -c plnorm.c -o plnorm.o
gcc -g -I../include -c qlnorm.c -o qlnorm.o
gcc -g -I../include -c rlnorm.c -o rlnorm.o
gcc -g -I../include -c dlogis.c -o dlogis.o
gcc -g -I../include -c plogis.c -o plogis.o
gcc -g -I../include -c qlogis.c -o qlogis.o
gcc -g -I../include -c rlogis.c -o rlogis.o
gcc -g -I../include -c dnbinom.c -o dnbinom.o
gcc -g -I../include -c pnbinom.c -o pnbinom.o
gcc -g -I../include -c qnbinom.c -o qnbinom.o
gcc -g -I../include -c rnbinom.c -o rnbinom.o
gcc -g -I../include -c pnchisq.c -o pnchisq.o
gcc -g -I../include -c qnchisq.c -o qnchisq...
1999 May 03
1
problems compiling R-0.63.3 on alpha
...xact -g -I../include -I../../src/include -c dlogis.c -o
dlogis.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c plogis.c -o
plogis.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c qlogis.c -o
qlogis.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c rlogis.c -o
rlogis.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c dnchisq.c -o
dnchisq.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c pnchisq.c -o
pnchisq.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c qnchisq.c -o
qnchisq.o
gcc -ieee_with_inexact...
2017 Jun 19
0
quantreg::rq.fit.hogg crashing at random
...e_cqr_list[[j]]=matrix(NA,M,K)
set.seed(m); beta=rnorm(p)
set.seed(m+1000000000)
if(distr=="norm" ) eps=rnorm(n)
if(substr(x=distr,start=1,stop=1)=="t"){
df=as.numeric(substr(x=distr,start=2,stop=nchar(distr)));
eps=rt(n,df=df) }
if(distr=="logistic" ) eps=rlogis(n)
if(distr=="exponential") eps=rexp(n)
if(distr=="Weibull" ) eps=rweibull(n,shape=1.5)
y=X%*%beta+eps
model=lm(y~X); res=model$res; d=density(res)
mse_wqr=mse_cqr=rep(NA,K)
for(k in 1:K){
#----- Find estimated optimal weights
tau=cumsum(rep(1/(k+1),k))
Binv=Bin...
1998 Nov 06
1
DEC alpha INSTALLATION R-0.62.4
...e -c qweibull.c
cc -ieee_with_inexact -g -I../../src/include -c rweibull.c
cc -ieee_with_inexact -g -I../../src/include -c dlogis.c
cc -ieee_with_inexact -g -I../../src/include -c plogis.c
cc -ieee_with_inexact -g -I../../src/include -c qlogis.c
cc -ieee_with_inexact -g -I../../src/include -c rlogis.c
cc -ieee_with_inexact -g -I../../src/include -c dnchisq.c
cc -ieee_with_inexact -g -I../../src/include -c pnchisq.c
cc -ieee_with_inexact -g -I../../src/include -c qnchisq.c
cc -ieee_with_inexact -g -I../../src/include -c dnbeta.c
cc -ieee_with_inexact -g -I../../src/include -c pnbeta.c
cc -...
1999 May 03
0
compilation of R-0.63.3 on alpha (PR#183)
.../include -I../../src/include -c dlogis.c -=
o =
dlogis.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c plogis.c -=
o =
plogis.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c qlogis.c -=
o =
qlogis.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c rlogis.c -=
o =
rlogis.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c dnchisq.c =
-o =
dnchisq.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c pnchisq.c =
-o =
pnchisq.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c qnchisq.c =
-o =
qnchisq.o
gcc -ie...
1997 Jul 09
1
R-beta: Problem with `rpois'
There is a problem with `rpois'. It does seem to take care about the
order of the arguments. This is an example:
> rpois(n=1,lambda=2)
[1] 3
> rpois(lambda=2,n=1)
[1] 2 0
It obviously uses the first argument as the number of samples to be
drawn, which is wrong.
I used Version 0.49 Beta (April 23, 1997).
Fredrik
1997 Jul 09
1
R-beta: Problem with `rpois'
There is a problem with `rpois'. It does seem to take care about the
order of the arguments. This is an example:
> rpois(n=1,lambda=2)
[1] 3
> rpois(lambda=2,n=1)
[1] 2 0
It obviously uses the first argument as the number of samples to be
drawn, which is wrong.
I used Version 0.49 Beta (April 23, 1997).
Fredrik
1998 Dec 08
0
R compile problems with AIX
.../../src/include -c rweibull.c -o rweibull.o
gcc -g -O2 -I../include -I../../src/include -c dlogis.c -o dlogis.o
gcc -g -O2 -I../include -I../../src/include -c plogis.c -o plogis.o
gcc -g -O2 -I../include -I../../src/include -c qlogis.c -o qlogis.o
gcc -g -O2 -I../include -I../../src/include -c rlogis.c -o rlogis.o
gcc -g -O2 -I../include -I../../src/include -c dnchisq.c -o dnchisq.o
gcc -g -O2 -I../include -I../../src/include -c pnchisq.c -o pnchisq.o
gcc -g -O2 -I../include -I../../src/include -c qnchisq.c -o qnchisq.o
gcc -g -O2 -I../include -I../../src/include -c dnbeta.c -o dnbeta.o
gcc...
1998 Dec 08
0
R compile problems with AIX
.../../src/include -c rweibull.c -o rweibull.o
gcc -g -O2 -I../include -I../../src/include -c dlogis.c -o dlogis.o
gcc -g -O2 -I../include -I../../src/include -c plogis.c -o plogis.o
gcc -g -O2 -I../include -I../../src/include -c qlogis.c -o qlogis.o
gcc -g -O2 -I../include -I../../src/include -c rlogis.c -o rlogis.o
gcc -g -O2 -I../include -I../../src/include -c dnchisq.c -o dnchisq.o
gcc -g -O2 -I../include -I../../src/include -c pnchisq.c -o pnchisq.o
gcc -g -O2 -I../include -I../../src/include -c qnchisq.c -o qnchisq.o
gcc -g -O2 -I../include -I../../src/include -c dnbeta.c -o dnbeta.o
gcc...
2002 Jan 22
1
compile problem with bessel_i.c on IRIX64 flexor 6.5 10100655 IP35 (uname -a) (PR#1275)
...om ppois.c
making qpois.d from qpois.c
making rpois.d from rpois.c
making dweibull.d from dweibull.c
making pweibull.d from pweibull.c
making qweibull.d from qweibull.c
making rweibull.d from rweibull.c
making dlogis.d from dlogis.c
making plogis.d from plogis.c
making qlogis.d from qlogis.c
making rlogis.d from rlogis.c
making dnchisq.d from dnchisq.c
making pnchisq.d from pnchisq.c
making qnchisq.d from qnchisq.c
making dnbeta.d from dnbeta.c
making pnbeta.d from pnbeta.c
making pnf.d from pnf.c
making pnt.d from pnt.c
making ptukey.d from ptukey.c
making qtukey.d from qtukey.c
making wilcox.d fro...
2017 Aug 18
4
No rule to make target all.R, needed by compiler.rdb building R 3.4.1 from source, Scientific Linux release 6.9 (Carbon)
...rbinom.o rmultinom.o
dcauchy.o pcauchy.o qcauchy.o rcauchy.o dexp.o pexp.o qexp.o rexp.o dgeom.o
pgeom.o qgeom.o rgeom.o dhyper.o phyper.o qhyper.o rhyper.o dnbinom.o
pnbinom.o qnbinom.o rnbinom.o dpois.o ppois.o qpois.o rpois.o dweibull.o
pweibull.o qweibull.o rweibull.o dlogis.o plogis.o qlogis.o rlogis.o
dnchisq.o pnchisq.o qnchisq.o dnbeta.o pnbeta.o qnbeta.o pnf.o pnt.o qnf.o
qnt.o ptukey.o qtukey.o toms708.o wilcox.o signrank.o*
*ranlib libnmath.a*
*make[4]: Leaving directory `/data/mbp15ja/R-3.4.1/R-3.4.1/src/nmath'*
*make[3]: *** No rule to make target `../extra/tre/libtre.a', needed...
2001 Jul 25
2
Installation help
...om ppois.c
making qpois.d from qpois.c
making rpois.d from rpois.c
making dweibull.d from dweibull.c
making pweibull.d from pweibull.c
making qweibull.d from qweibull.c
making rweibull.d from rweibull.c
making dlogis.d from dlogis.c
making plogis.d from plogis.c
making qlogis.d from qlogis.c
making rlogis.d from rlogis.c
making dnchisq.d from dnchisq.c
making pnchisq.d from pnchisq.c
making qnchisq.d from qnchisq.c
making dnbeta.d from dnbeta.c
making pnbeta.d from pnbeta.c
making pnf.d from pnf.c
making pnt.d from pnt.c
making ptukey.d from ptukey.c
making qtukey.d from qtukey.c
making wilcox.d fro...
2018 Feb 09
1
R Compilation gets stuck on Windows 64
Please note that building R on Windows is documented in "R Installation
and Administration", including links to external software. Particularly
there is a link to texinfo which is part of Rtools. The documentation is
maintained and it is a sufficient source of information for building R
on Windows.
https://cran.r-project.org/doc/manuals/r-release/R-admin.html