12/28/2022 0 Comments Stata 13 versionsRun the examples to test your installation of the LCA plugin by running the myLCA.do file.Ģ0. In higher versions of Stata, this may not be necessary.ġ9. In Stata/IC type -set matsize 800, permanently- to increase the mat size to its maximum. Save the modified version of LCA.do with the name myLCA.do.ġ8. This uses only the first 750 lines in the data file.)ġ7. (That's necessary because the matrix size limitation in Stata/IC also limits the number of cases you can analyze. Then change that line to: infile using LcaSampleDataset in 1/750. If you have Stata/IC rather than Stata/SE or higher, find this line near the top of the file: infile using LcaSampleDataset. (Again, that is necessary to satisfy the maximum matrix size limitation in Stata/IC.)ġ6. If you have Stata/IC rather than Stata/SE or higher, then change -maxiter(5000)- to -maxiter(800)- in Examples 2-5. (That's necessary because of the maximum matrix size limitation of 800 in Stata/IC.)ġ5. If you have Stata/IC rather than Stata/SE or higher, then add -maxiter(800)- on a new line below -rhoprior(1.0) ///- in Example 1. If you have Stata/IC rather than Stata/SE or higher, change -rhoprior(1.0) in the first example to -rhoprior(1.0) ///. In that same file, find -rhoprior(1.0)- in the first example.ġ3. ![]() Change that line to: cd C:/LCAPlugin/ /*CHANGED TO LCA Plugin Directory ON LOCAL MACHINE!*/ġ2. Find this line: cd D:\project\Stata_lca\Release64\ /*CHANGE THIS PATH TO MATCH THE FILE LOCATION ON YOUR MACHINE!*/ġ1. Using Notepad (or any other plain text editor, but not Word), open the file named LCA.do. Save the modified version of doLCA.ado and do not change its name.ĩ. ![]() Change the last line in the doLCA.ado file to: program lca, plugin using("C:/LCAPlugin/lca.dll"). Using Notepad (or any other plain text editor, but not Word), open the file named doLCA.ado. Place the contents of the extracted version of the LCA plugin in the newly created C:\LCAPlugin directory.Ħ. Create a new folder named "LCAPlugin" in the root directory of your C:\ drive.ĥ. Extract either the 32-bit or 64-bit version of the LCA plugin (whichever matches the bit version of your Stata software).Ĥ. Check whether you are using the 32-bit or 64-bit version of Stata by typing in Stata the command -about. (This plugin works only on Windows machines, so the following assumes you are using Windows on a PC.)Ģ. ![]() Download the LCA Stata plugin from the Methodology Center at Penn State ( ).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |