Displaying 20 results from an estimated 6000 matches similar to: "laten class analysis"
2011 May 23
2
Latent class analysis, selection of the number of classes
Hi,
I perform latent class analysis on a matrix of dichotomous variables to
create an indicator of class/category membership for each observation. I
would like to know whether there is a function that selects the best fit in
terms of number of classes/categories.
Currently, I am doing this with the lca() function of the e1071 package.
This function requires me to specify the number of classes
2008 Nov 30
4
simple question with table()
Dear List,
my problem should be easy to fix, but I couldn't find a solution by
myself...
In my survey, there is a question with 14 possible answers. None of
the respondents choose the 13th answer, so when I table() the results,
R says:
1 2 3 4 5 6 7 8 9 10 11 12 14
31 52 7 21 40 7 8 2 28 2 2 1 17
13 is missing... anyone knows how to tell table() that there are 14
modalities in the
2005 Aug 03
3
problem with for()
Dear list,
can someone tell me why this two pieces of code give me the same
results?
> for(i in 0:5){ sum[i] = i }
> sum
[1] 1 2 3 4 5
> for(i in 1:5){ sum[i] = i }
> sum
[1] 1 2 3 4 5
shouldn't the first one be
0 1 2 3 4 5
thank you,
simone
2006 Nov 21
1
Latent models
Hai,
Can anyone help me with some literature (R related) about latent models?
Thanx,
Wilfred
2005 Apr 04
2
mysql retrive question
hello R-Users,
I have this simple but not for me question:
I do:
> res<-dbSendQuery(con, "SELECT * FROM tabellaProva")
> myDataFrame<-fetch(res)
> myDataMatrix<-as.matrix(myDataFrame[,-1])
> namerows(myDataMatrix)<-as.character(myDataFrame[,1])
and I have:
io tu
io "0" "1"
tu "1" "0"
my problem is that the
2006 Feb 13
1
LCA in e1071
Hello there,
In the e1071 package,'lca' function only works for binary data for
Latent class analysis. Am I right?
I would like to test the agreement amongst 6 raters for nominal data
ona scale from 1-4, and conduct a latent class analysis. What package
and what function may I use?
Thank you very much
Lisa Wang
Princess Margaret Hospital
tel: 416 946 4501
2009 Feb 25
2
run latent class analysis with R
What's the best approach to running latent class analysis with R? I've downloaded both randomLCA and poLCA packages, but I am interesting in running a standard LCA with individual records (not frequency table) as input data.
Wen Gu
John Jay College of Criminal Justice445 West 59 StreetNew York, NY 10029
wgu@gc.cuny.edu
_________________________________________________________________
2004 Feb 26
2
Structural Equation Model
Hello all!
I want to estimate parameters in a MIMIC model. I have one latent
variable (ksi), four reflexive indicators (y1, y2, y3 and y4) and four
formative indicators (x1, x2, x3, x4). Is there a way to do it in R? I
know there is the SEM library, but it seems not to be possible to
specify formative indicators, that is, observed exogenous variables
which causes the latent variable.
Thanks,
2006 Jul 13
1
TR: Latent Class Analysis
_____
De : Pousset [mailto:maud.pousset@noos.fr]
Envoyé : mardi 4 juillet 2006 18:38
À : 'r-help@stat.math.ethz.ch'
Objet : Latent Class Analysis
Hello everybody,
I am working on latent class analysis and have already used the ‘R’ function
« lca » (in the e1071 package). I ‘ve got interesting results but I can’t
simply find out the methodology used by this routine :
1) What
2013 Feb 01
2
how to setdiff on lists of lists
Dear List,
I have a data structure like:
> aa
[[1]]
[1] 1 2 3
[[2]]
[1] 4 5 6
> bb
[[1]]
[1] 3
[[2]]
[1] 5
I would like to set differences between "aa" and "bb" and get as
result another list of lists like:
> res
[[1]]
[1] 1 2
[[2]]
[1] 4 6
I am trying:
lapply(aa, setdiff, bb)
but I simply get "aa" back as result. Could you please point me in the
2011 Jan 03
4
how to invert the axes in the wireframe() plot
Dear List,
I am using the wireframe function in the lattice package, and I am wondering if it is possible to invert the default axes orientation for x and y axes... what parameter should I look for?
Best regards,
Simone Gabbriellini
2008 Feb 15
1
Latent class analysis
Which package(s) contain something on latent class analysis?
Tom
--
+----------------------------------------------------------------+
| Tom Backer Johnsen, Psychometrics Unit, Faculty of Psychology |
| University of Bergen, Christies gt. 12, N-5015 Bergen, NORWAY |
| Tel : +47-5558-9185 Fax : +47-5558-9879 |
| Email : backer at psych.uib.no URL :
2007 Jul 18
2
EM unsupervised clustering
Hi All,
I have a n x m matrix. The n rows are individuals, the m columns are variables.
The matrix is in itself a collection of 1s (if a variable is observed for an
individual), and 0s (is there is no observation).
Something like:
[,1] [,2] [,3] [,4] [,5] [,6]
[1,] 1 0 1 1 0 0
[2,] 1 0 1 1 0 0
[3,] 1 0 1 1 0 0
[4,] 0 1 0
2009 May 28
1
Package for Clustering - Query
Dear R users,
Is there any package for Latent Class Analysis (to be used in a clustering
application) which supports mixed indicator variables (categorical and
continuous)?
Alternatively, is there any other clustering algorithm available that
supports this type of data?
Thanks in advance for your help.
Regards,
Lars.
[[alternative HTML version deleted]]
2006 Sep 12
2
coerce matrix to number
Dear List,
how can I coerce a matrix like this
[,1] [,2] [,3] [,4] [,5] [,6]
[1,] "0" "1" "1" "0" "0" "0"
[2,] "1" "0" "1" "0" "0" "0"
[3,] "1" "1" "0" "0" "0" "0"
[4,] "0" "0"
2011 Jan 31
2
Latent Class Logit Models in discrete choice experiments
Dear R users,
I would like to perform Latent Class Logit Models for the analysis of choice experiments in environmental valuation.
This kind of analysis is usually performed with NLogit Software (http://www.limdep.com).
I attach the results I usually obtain using NLogit and NLogit model specifications.
For Random parameter models and Logit Models I usually perform my analysis with the package
2012 May 07
1
wireframe and par(mfrow)
Hello List,
I have some plots with the wireframe() function, and I'd like to
display them in a single jpeg file. I know that par(mfrow=c(x,y)) will
divide my display window in x rows and y columns, and although this
works with plot(), it looks like it's not working with wireframe.
here's my code:
library(lattice)
library(Cairo)
CairoJPEG("wiley-rank.jpeg", width=960,
2005 Aug 11
1
tcltk programming guide
Dear List,
I'm looking for some documentation about the R tcltk package
The one I found in the help doesn't look exaustive, I need
information on the use of the single tk widget, maybe with some examples
thank you,
simone gabbriellini
2011 Apr 19
3
zero fill empty cell in data.frame
Hello List,
I have a data frame like:
V130 V131 V132 V133 V134 V135 V136
1 0 0 0.9 0 0.9 0 0
2 0 0 0 0 0 0.8
3 0 0 0 0 0.9 0 0
4 0.9 0 0 0 0 0 0.9
5 0 0 0
6 0 0 0 0.9 0 0 0.9
7 0 0 0.8 0 0 0 0
8 0.9 0 0 0.9 0.8 0
9 0 0 0 0.9 0.9 0 0
10 0 0 0 0 0 0 0.9
2008 Oct 27
2
quota warning not working
Hi all,
I have finally get working the quota with dovecot. Now i am setting up
the quota warning, with this in dovecot.conf:
quota_warning = storage=70%% /usr/bin/quota_warning.sh 70
In the plugin section naturally.
All seems to work fine, the quota is calculated right, but seems the
script is not executed... In dovecot logs i have this:
deliver(test at test.com): Oct 27 15:14:53 Info: Quota