Displaying 20 results from an estimated 1000 matches similar to: "correlation with boot"
2008 Sep 24
2
Bug in "is" ?
Hi R users
Is there anything wrong in "is" function? (R 2.7.2)
I believe that everyone will agree that "7" is an integer, right? but
why R shows 7 is not an integer
> is.integer(7)
[1] FALSE
> is(7,"integer")
[1] FALSE
> is(as.integer(7), "integer")
[1] TRUE
Thank you very much in advance
Chunhao
2008 Sep 24
2
Bug in "is" ?
Hi R users
Is there anything wrong in "is" function? (R 2.7.2)
I believe that everyone will agree that "7" is an integer, right? but
why R shows 7 is not an integer
> is.integer(7)
[1] FALSE
> is(7,"integer")
[1] FALSE
> is(as.integer(7), "integer")
[1] TRUE
Thank you very much in advance
Chunhao
2008 Sep 06
1
Help use try function with boot
Hi R users,
Is is possible for me to use the try function with boot? I would to do
the bootstraping with a nonlinear model(it works well when R < 1000).
But it does not work very well (when R is large) thus I try to use
"try" to resolve. I put the try function in two cases:
case1: put the try in front of the boot
> c1.try<-try(boot(c1data, statistic = c1.fun,
2008 Jul 09
1
Loglikelihood for x factorial?
Hi Rers,
I have a silly question. I don't know how to express the loglikelihood
function of
1/(x!) where x=x1,x2,....xn in R.
Could anyone give me a hint?
Thank you in advance.
Chunhao Tu
2008 Sep 09
1
S.O.S "try" doesnot work in boot?
First thanks for Jinsong's suggestions
I would like to do a bootstrap in a nonlinear model. But it fails to
converge in most of time. (it did converge if I just use nls without
boot). Thus, I use "try" function to resolve my problem. This
following code is from Jinsong's suggestion.
h1a.nls<-nls(density~nmf(time, alpha, delta, psi, tau, gamma),data=h1a,
2008 May 25
1
How to write a package based on nlme
Dear R Helpers,
I try to write a small package that based on nlme however my code does
not work.
R always appears this message:
Error in eval(expr, envir, enclos) : object "y" not found
where y is the response variable. Please help me out!
This is my code:
require(nlme)
AMPmixed<-function(y, x, S1=c("asymptotic","logistic"), random,data,
2008 Jul 30
2
Repeated Measure ANOVA-Old question
Hi R users,
I google the website and I found that there are three ways to perform
repeated measure ANOVA: aov, lme and lmer.
http://www.mail-archive.com/r-help at stat.math.ethz.ch/msg58502.html
But the questions are which one is good to use and how to do post-hoc test?
I use the example that is provided in the above link and I try
> tt<-aov(p.pa~group*time+Error(subject/time),data=P.PA)
2008 Sep 18
2
Ability estimates for partial credit model
Dear all,
I'm working on ability estimates using Rasch model. Using the "ltm"
package, the procedure is quite simple:
## Factor Scores for the Rasch model
fit <- rasch(LSAT)
factor.scores(fit)
What about Partial Credit Model (PCM)? For PCM I use PCM function from
eRm package. Is there any similar function like factor.scores to
estimate ability scores using PCM model?
Best,
2010 Sep 05
2
Need Help .RData in Mac OS X, Please
Hi R Users,
I was accidentally save R file when I quit R program. I try to delete but I
am not sure the R saved file was successfuly delete or not. Now everyt time
when I open the R, it always appears
[R.app GUI 1.34 (5589) i386-apple-darwin9.8.0]
[Workspace restored from /Users/ctu/.RData]
I have read google, R help and Nabble but I still can't solve this problem.
Could someone please
2016 Oct 26
2
borrar texto en una gráfica
Hola a todos,
Os envío una consulta que considero sencilla pero me está resultando imposible de resolver. Si ejecutáis el siguiente código, obtendréis la gráfica que os adjunto:
library(ltm)
modelo <- rasch(LSAT)
plot(modelo, main="Curva probabilidad pregunta 1",legend = TRUE, cx = "bottomright", items=1,xlab="Conocimiento",ylab="Probabilidad")
Resulta
2018 Oct 08
4
Texto en el eje de ordenadas de un gráfico
Hola a todos,
Estoy usando la librería ltm, de teoría de respuesta al ítem, para crear gráficos. Resulta que añado unas líneas horizontales en los valores de 0.25, 0.50 y 0.75. Me gustaría que en el gráfico, desaparezcan las marcas de 0,.2, 0.4, 0.6 y 0.8 y aparezcan en 0.25, 0.50 y 0.75. He probado varias cosas que he visto por Googe pero no me han funcionado. ¿Alguna idea?
library(ltm)
# creo el
2008 Jul 08
0
Fwd: Re: extracting index list when using tapply()
The following message is provided by Erik
Please provide the reproducible code to do this. Generate a sample data
set using the random data generating functions and show us what you'd
like, we can then more easily help.
ctu at bigred.unl.edu wrote:
> Hi,
> How about using "subset"?
> x1<-tapply(subset(years, length(area)>20), function(x) length(unique(x)))
>
2008 Mar 10
1
ltm package question
Hello All,
I was wondering how I can get the overall Pearson chi^2 test of model fit
with its df and p value in the LTM package for the 2PL models.
Thanks,
--
Davood Tofighi
Department of Psychology
Arizona State University
[[alternative HTML version deleted]]
2007 Jan 24
3
Cronbach's alpha
Dear Listers:
I used cronbach{psy} to evaluate the internal consistency and some set
of variables gave me alpha=-1.1003, while other, alpha=-0.2;
alpha=0.89; and so on. I am interested in knowing how to interpret
1. negative value
2. negative value less than -1.
I also want to re-mention my previous question about how to evaluate
the consistency of a set of variables and about the total
2018 Oct 09
2
Texto en el eje de ordenadas de un gráfico
Mando este mensaje de respuesta para dar las gracias tanto a Pedro como a Carlos por sus sugerencias. Ahora ya tengo los números que quiero en la gráfica, me falta por quitar los que no quiero. Teniendo en cuenta lo que dice Pedro, voy a preguntar al autor de la librería.
saludos,
Fernando
En martes, 9 de octubre de 2018 13:23:51 CEST, Carlos Ortega <cof en qualityexcellence.es>
2009 Jan 15
2
LCA (e1071 package): error
Hello,
I will use the lca method in the e1071 package. But I get the following error:
Error in pas[j, ] <- drop(exp(rep(1, nvar) %*% log(mp))) :
number of items to replace is not a multiple of replacement length
Does anybody know this error and knows what this means?
Kind regards,
Tryntsje
2008 Feb 28
0
problem with the ltm package - 3PL model
Hi Xavier,
the reason you observe this feature is that in the 'constraint'
argument you should specify the values under the additive
parameterization, i.e., when in the second column of the matrix
supplied in 'constraint' you specify 2, then you need to provide the
easiness parameters (not the difficulty parameters) in the third
column. Check the Details section of ?tpm() and
2011 Nov 20
2
ltm: Simplified approach to bootstrapping 2PL-Models?
Dear R-List,
to assess the model fit for 2PL-models, I tried to mimic the
bootstrap-approach chosen in the GoF.rasch()-function. Not being a
statistician, I was wondering whether the following simplification
(omit the "chi-squared-expressed model fit-step") would be appropriate:
GoF.ltm <- function(object, B = 50, ...){
liFits <- list()
for(i in 1:B){
rndDat <-
2013 May 30
9
oops at mount
hi All,
I''m new on the list.
System:
Distributor ID: Ubuntu
Description: Ubuntu 13.04
Release: 13.04
Codename: raring
Linux ctu 3.8.0-19-generic #30-Ubuntu SMP Wed May 1 16:35:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
The symptom is the same with Saucy 3.9 kernel.
ii btrfs-tools 0.20~git20130524~650e656-0daily13~raring1 amd64
Checksumming Copy on
2011 Apr 05
1
Antw: Re: Confidence interval for the difference between proportions - method used in prop.test()
Dear Josh,
Thanks for your help!
Does your answer mean, that you agree the two methods should do the same, and what I was guessing, despite the small differences?
What I prefer about ci.pd is, that the help clearly says which method is implemented, which is not the case for prop.test. But I do not know who has programmed the function.
Best wishes
Steffi
Stefanie von Felten, PhD
Statistician