Hi everyone, new user here. I have some basic skill in Stata but am trying to become more advanced. I have several SPSS files that I am trying to convert to CSV. I created a do-file where one-by-one I import the SPSS files using "import spss" and export as a CSV using "export delimited." I know I can do this all at once using a loop and a local with the different file names, but I'm not sure how to put it together. Would someone more advanced be willing to help me? I'd be very grateful!
Related Posts with Creating loop to convert SPSS to CSV
Can -stcox-* do multilevel analyses with one failure?Hi everybody, Can -stcox- do multilevel analyses with one failure?; i.e., can -stcox- take the repe…
ttable2- by Xuan Zhang & Chuntao Li- (significant level)Hi, I am using the ttable2 by Xuan Zhang & Chuntao Li and the following logout command to export…
Assigning numbers from 1 to (total number of observations) randomly to the data setHello, What is the best way to assign a random number from 1 to 413,294 (which is the total number o…
dfmlogit multinomial fractional model compositional data analysisHi, Using Stata 13, I am running dfmlogit on the Stata dataset citybudget.dta available here use ht…
GMM with spatially autocorrelated errorsHi, I have a panel data (300 panels and 30 years) and need to estimate a GMM (difference or system …
Subscribe to:
Post Comments (Atom)
0 Response to Creating loop to convert SPSS to CSV
Post a Comment