search for: polca

Displaying 20 results from an estimated 21 matches for "polca".

Did you mean: poca
2012 Feb 09
1
poLCA and conditional dependence
Dear all, I'm an Sri Lankan undergraduate student. I'm also a total newbie to R. My aim is to use the poLCA package to do a latent class analysis. I found the documentation very helpful, but need to make a small clarification that has stumped me awhile. In my work, I need to make provision for conditional dependence. I'm told that poLCA lets you do that. Unfortunately, I couldn't find a specific...
2012 May 29
1
model frame and formula mismatch with latent class analysis poLCA
Dear R-users, I keep getting an ERROR saying " Error in model.matrix.default(formula, mframe) : model frame and formula mismatch in model.matrix() " when i fit poLCA with more than 63 variables. Below are the details. I am trying to do a Latent Class Analysis using poLCA. My data set contains binary scores of, for instance, 200 students on 100 items. These numbers could even be more in due course. The resulting dataframe on which i want to perfrom LCA looks li...
2012 Jul 04
1
How do you impute missing data using Latent Class Model (poLCA package)
My problem is I have data with both categorial and numerical data, currently only the categorical number contains missing data, was wondering do I make a new dataframe containing only the categorical columns? How would you use Latent Class Model specifically poLCA to impute the missing data? http://www.sscnet.ucla.edu/polisci/faculty/lewis/pdf/poLCA-JSS-final.pdf The reason why I chose not to use Multiple Imputation(MI) is because according to [http://blogs.iq.harvard.edu/sss/archives/2008/09/a_handy_trick_f.shtml] "MI packages assume the Multivariate...
2012 Feb 13
1
Retrieve by Id from an R list
Hi everyone, I'm using the poLCA module for some analysis work. Basically, Im using the command >poLCA(f, data=response,nclass=2) This returns a poLCA object (a list) >From this data, I need to retrieve certain indexes, such as[[5]] as seen below. [[5]] Pr(1) Pr(2) Pr(3) class 1: 0...
2013 Apr 03
1
(no subject)
Hello, I want to perform a latent class analysis using poLCA package. My formula is: substances <- cbind(subs1, subs2, subs3, subs4, subs5, subs6) ~ gender+age+education+income+occupation+urban+dbehavior+incarceration+treatment+depression+alcriteria I want to include sample weights in the model, I have read that poLCA does not take into account weight...
2012 Mar 08
1
poLCA
Hi, I am running some latent class models with civariates using poLCA in R, and have a question the meaning of some error messages. My model has 8 y-variables (dichotomous) and 2 x-variables (also dichotomous), and I am trialling different numbers of classes. When I run a 2-class model, the model runs fine without any error messages. I used the nrep = 10 option t...
2010 Mar 05
0
Still on poLCA
Dear all, I have just sent a message asking about poLCA but I thought of another question I wanted to ask. I get the G^2 statistic in my output and want to test for its significance. I get that the degrees of freedom for the test are (S-1-p) where S is the number of different patterns observed and p is the number of estimated parameters. Are these the &...
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 _________________________________________________________________ 50F681DAD532...
2009 Jul 02
1
Windows zip-files (binaries) for older version of scatterplot3d
Hi, I am working with -poLCA- which uses the package -scatterplot3d- in order to work. However, I work on a restricted server that is not online. The R-version installed there is 2.6. However, running library(poLCA) after installing the most recent -scatterplot3d- on the server leaves me with R telling me that scatterplot3d ne...
2009 Sep 08
1
cbind formula definition
Hi there, I have the following problem: I have a package called "polLCA" which has the following syntax: poLCA(formula, data) and needs the following formula definition: formula <- cbind(V1,V2,V3,...) So far so good. What I tried now was the following: #Get "data" with the "read.table" fuction data <- read.table("d:/ .....) #Select cols to use in the analysis aktDat <-...
2011 Dec 23
2
Latent class multinomial (or conditional) logit using R?
Hi everyone? Does anybody know how can I estimate a Latent class multinomial (or conditional) logit using R? I have tried flexmix, poLCA, and they do not seem to support this model. thanks in advance adan -- View this message in context: http://r.789695.n4.nabble.com/Latent-class-multinomial-or-conditional-logit-using-R-tp4230083p4230083.html Sent from the R help mailing list archive at Nabble.com.
2011 Jan 31
2
Latent Class Logit Models in discrete choice experiments
...e models I would like to run are presented in this ppt: http://pages.stern.nyu.edu/~wgreene/.../Lectures/Part13-LatentClassModels.ppt and an overview is given in this paper by Hoyos: http://dx.doi.org/10.1016/j.ecolecon.2010.04.011 Anybody has any package to suggest for this kind of analysis? (poLCA does not provide me the same estimates) Thanks in advance Daniel
2011 Aug 05
0
Latent Class with covariates
Dear all Last week, I posted a question and some of you spent their valuable time to respond. Thank you (once again). This time, after doing a lot of homework, I return with  a second question on the issue. I was advised to use poLCA for a Latent Class Analysis with covariates. The software works well, although I feel a bit uncomfortable with the fact that you need to run many times the algorithm to reach the global maxima (so how do we know that we replicated the analysis enough times???). This software solved one of my proble...
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 Oct 25
2
R CMD check problem with R 3.0.2
...;), person("Robert", "Andersen", role = "ctb"), person("David", "Firth", role = "ctb"), person("Steve", "Taylor", role = "ctb")) Depends: lattice, grid, colorspace Suggests: nlme, lme4, MASS, nnet, poLCA, heplots LazyLoad: yes LazyData: yes Description: Graphical and tabular effect displays, e.g., of interactions, for linear generalized linear, multinomial-logit, proportional-odds logit models, mixed-effect models, polytomous latent-class models and multivariate linear models. License: GPL (...
2012 Feb 12
3
Writing output into a file
Hi everyone, I'm an R newbie working with the poLCA module. I achieved my target without having to bother anyone, but It seems that I've got stuck at the last minute. My problem is simple. I need to write my results into a file. My results are in the shape of a list (unbalanced columns) I've considered several methods (sink(), write.file) e...
2008 Nov 05
0
latent class analysis of nominal and continuous indicators
...ckage to conduct latent class analysis as a triangulation check of my cluster analysis using the cluster package in R. I have about 30 cases and 6 indicators, some of which are binary indicators and others are ratio-level variables (percentages). I looked around for information in flexmix, lca, and poLCA, and couldn't find anything relevant or probably I missed them. I checked MPlus, and it seems to me MPlus can handle latent class analysis with indicators of different measurement levels (continous or nominal). And my intuition is that R ought to be able to it. Any ideas about which package I s...
2011 Aug 05
2
[?]apply functions or for loop
Hello, First time posting to this mail list. I'd like to use R in the most efficient way. I'm accomplishing what I want, but feel there is a more R'ish way to do it. Just learning R. *My goal: get ranks of value across rows with row names and column names intact.* I'm guessing one of the [?]apply functions will do what I need, but I couldn't sort out which one (after a lot
2020 Jun 26
2
R 4.0.0 rebuild status
On Friday, 26 June 2020 10.47.13 WEST I?aki Ucar wrote: > I used bcond locally and wrongly assumed that fedpkg build would > support --with BCOND and --without BCOND. Instead, the way to activate > it is to change to "%bcond_with check" and then revert to > "%bcond_without check". The only difference with bootstrap is that > "bootstrap" is recognized
2019 Jul 04
2
Fwd: Fedora 31 System-Wide change proposal: Automatic R runtime dependencies
...tcomp * R-multtest * R-munsell * R-mvtnorm * R-nanotime * R-ncdf4 * R-NISTunits * R-nws * R-nycflights13 * R-openssl * R-orcutt * R-packrat * R-parsedate * R-pbdRPC * R-pbdZMQ * R-pdftools * R-pillar * R-pingr * R-pkgbuild * R-pkgconfig * R-pkgdown * R-pkgload * R-plogr * R-pls * R-plyr * R-png * R-poLCA * R-polyclip * R-polynom * R-praise * R-preprocessCore * R-prettycode * R-prettydoc * R-prettyunits * R-processx * R-progress * R-promises * R-ps * R-purrr * R-qcc * R-qpdf * R-qtl * R-quadprog * R-quantities * R-qvalue * R-R6 * R-rappdirs * R-R.cache * R-rcmdcheck * R-RColorBrewer * R-Rcompression...