Ignore first data row? PreviousNext
Mplus Discussion > Multilevel Data/Complex Sample >
 Wesley Anderson posted on Thursday, January 29, 2015 - 10:24 am
I have a lot of data files from a multilevel generating model. I would like to do a Monte Carlo study with these data files in Mplus. Is there anyway I can make Mplus ignore the first row (the variable names), so, I do not have to manually delete all of these in ALL of my data files? Thanks.
 Wesley Anderson posted on Thursday, January 29, 2015 - 11:52 am
Related to my project. Let's say I can only get rid of variable names manually. I did so for one set of simulations at least. When I enter this list of generated data...

File = filenamelist.csv;

I get an error that Mplus cannot find the first data file in the list (also a csv file). However, when I just enter

File = filename1.csv;

Mplus works perfectly. What could be going on here? I appreciate it.
 Wesley Anderson posted on Thursday, January 29, 2015 - 1:23 pm
So changing the data file list to a dat file rather than a csv file fixed that problem. But it would still be nice to know if there was a way that Mplus could ignore the first row of data (variable names). Thanks.
 Linda K. Muthen posted on Thursday, January 29, 2015 - 1:49 pm
You must delete the variable names from the first record.
Back to top
Add Your Message Here
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Options: Enable HTML code in message
Automatically activate URLs in message