This page is Part 2 of a two-page sequence. If you have reached here without reading the first part you should go back because there is a lot of explanitory…
Read More
Search Results for: stata
Part 2: How can I understand a three-way interaction in anova? (Stata 11) | Stata FAQ
This page is Part 2 of a two-page sequence. If you have reached here without reading the first part you should go back because there is a lot of explanitory…
Read More
How can I collapse a daily time series to a monthly time series? | Stata FAQ
Let’s say that the time series of our analysis comes as a daily time series but we would want to analyze it as a monthly time series. We need to…
Read More
How can I extract month and year component from a variable with %tm format? | Stata FAQ
A variable in %tm format is a numeric variable which is the number of months elapsed since January 1960. One may want to extract the month or the year component…
Read More
How can I get descriptive statistics and the five number summary on one line? | Stata FAQ
Stata provides the summarize command which allows you to see the mean and the standard deviation, but it does not provide the five number summary (min, q25, median, q75, max). …
Read More
How do I update my copy of Stata? | Stata FAQ
After you install Stata, you want to update it to get the most recent updates. Once you are connected to the internet, you can type update all If needed, Stata…
Read More
How do I generate a variogram for spatial data in Stata? | Stata FAQ
When analyzing geospatial data, describing the spatial pattern of a measured variable is of great importance. User written Stata commands allow you to explore such patterns. This page will use…
Read More
How can I visualize longitudinal data in Stata? | Stata FAQ
Longitudinal data are data containing measurements on subjects at multiple times. Visualizing longitudinal data without loss of data can be difficult, but there are several ways to do so in…
Read More
Where can I find examples of user written graph commands for Stata? | Stata FAQ
We have put together several lists of user written graph commands for Stata. Look throught the examples and when you find one close to what you want, download the program…
Read More
How do you use the wincorr command? | Stata FAQ
The wincorr command is designed for situations in which a few observations appear to be distorting the correlation between two variables. Consider the following scatter plot and correlation: use https://stats.idre.ucla.edu/stat/stata/faq/wincor,…
Read More
