===
Roger Levy writes:
Walter Mebane wrote:
Roger,
Error in if (logliklambda loglik) bvec - blambda :
missing value where TRUE/FALSE needed
In addition: Warning message:
NaNs produced in: sqrt(sigma2GN)
That message comes from
Walter Mebane wrote:
Roger,
Error in if (logliklambda loglik) bvec - blambda :
missing value where TRUE/FALSE needed
In addition: Warning message:
NaNs produced in: sqrt(sigma2GN)
That message comes from the Newton algorithm (defined in source file
multinomMLE.R). It would
Hi again Jasjeet, Walter,
I have a further question about an error message I get when running
multinomRob. I am simulating a dataset where I look at the effect of
making a previous categorical choice on the probability of making the
same choice later on. Given the following code:
n - 20
,
Roger
--
Roger Levy Email: [EMAIL PROTECTED]
Assistant Professor Phone: 858-534-7219
Department of Linguistics Fax: 858-534-4789
UC San DiegoWeb: http://ling.ucsd.edu/~rlevy
}
that is, that the effect of X_1 on the logit of Y_2 is the same as the
effect of X_2 on the logit of Y_3.
Is there an existing facility or package in R for doing this? Would
multinomRob fit the bill?
Many thanks,
Roger
--
Roger Levy Email: [EMAIL PROTECTED]
Assistant
of values for A and B
but the second step does not work -- I guess that matrices to be used
for indexing this way must be numeric. Is there a way to index multiple
character tuples out of a contingency table without resorting to writing
loops?
Many thanks,
Roger Levy
Prof Brian Ripley wrote:
On Mon, 13 Feb 2006, Roger Levy wrote:
Hi,
Is it possible to index via a character matrix? For example, I would
like to do the following:
cont.table - table(df1$A,df1$B) # df1 a data frame with factors A and B
cont.table[cbind(df2$A,df2$B)] # df2 a smaller
I have a data frame with Cyrillic text that I would like to be able to
view under RGui. Unfortunately I can't figure out from the manuals how
to make this happen -- can someone point me in the right direction?
Thanks,
Roger Levy
__
R-help
Prof Brian Ripley wrote:
On Tue, 7 Feb 2006, Roger Levy wrote:
I have a data frame with Cyrillic text that I would like to be able to
view under RGui. Unfortunately I can't figure out from the manuals how
to make this happen -- can someone point me in the right direction?
You can only do
Hi,
In the exactRankTest package, I've become aware that you can get
anomalous p-values (i.e., above 1) from the wilcox.exact method, as in:
wilcox.exact(c(-0.6,0.8,-0.5))
Exact Wilcoxon signed rank test
data: c(-0.6, 0.8, -0.5)
V = 3, p-value = 1.25
alternative hypothesis:
Peter Dalgaard [EMAIL PROTECTED] writes:
Roger Bivand [EMAIL PROTECTED] writes:
On 12 Feb 2005, Roger Levy wrote:
Hi,
I have a k-level factor F of length n that I would like to use to
extract from an n-by-k matrix M a vector V such that
V[i] = M[i,as.numeric(F)[i
Hi,
I have a k-level factor F of length n that I would like to use to
extract from an n-by-k matrix M a vector V such that
V[i] = M[i,as.numeric(F)[i]]
I don't currently understand how to do that in R -- can anyone explain
to me how to do so?
Thanks,
Roger Levy
Hi,
Are there labeled break statements in R? i.e., something along the
lines of
TOPLOOP: for(i in 1:m) {
for(j in 1:n) {
...
if(condition) {
break TOPLOOP
}
}
}
Thanks,
Roger
__
[EMAIL PROTECTED] mailing list
Prof Brian Ripley [EMAIL PROTECTED] writes:
On 18 Aug 2004, Roger Levy wrote:
Are there labeled break statements in R? i.e., something along the
lines of
TOPLOOP: for(i in 1:m) {
for(j in 1:n) {
...
if(condition) {
break TOPLOOP
Hi,
Does R have any facilities for exact logistic regression?
Many thanks,
Roger
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Many thanks for the numerous edifying responses!
Best
Roger
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
16 matches
Mail list logo