[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Some Basic STATA Questions

From   "Prashant Shukla" <[email protected]>
To   <[email protected]>
Subject   st: Some Basic STATA Questions
Date   Fri, 3 Oct 2008 21:11:59 +0100

My first Hello to the STATA community! I am really, really new to STATA
and I am going to be using it to perform various kinds of data
manipulation. Also, I have been a user of SAS in recent times so these
questions mention SAS every now and then. In general, I found STATA to
be quite user friendly with all the commands. I have been reading the
manuals and a lot of online help sites so that's been good. However,
here are a few questions I had: 

1. STATA only opens one data set at a time, while SAS can open as many
as you want in one window. How do you get around that problem? I ask
because I will have to use multiple datasets at one time for sure. This
is a concern and I am sure expert STATA users get around this "problem."
2. How do you create a blank dataset in STATA? In SAS, we have the data
step where one can keep variables we want, format them, etc and then set
them equal to whatever we want from some other data set. Mapping and
creating new data sets is a bulk of what I do, hence this question. 3.
What is the best way to import files into STATA. I am using the
"insheet" command but I get a many "red" columns, all the time. 4. How
do you format fixed width excel or TXT files in STATA? And, export them
properly? In particular, format the fields to be a certain width, keep
the leading zeros etc. 

Thanks so much. I really, really appreciate it, looking forward to all
your answers.


*   For searches and help try:

© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index