stata Questions
5
Solved
Some coworkers who have been struggling with Stata 11 are asking for my help to try to automate their laborious work. They mainly use 3 commands in Stata:
tsset (sets a time series analysis)
a...
Ceballos asked 15/10, 2010 at 21:16
1
Solved
I have data pulled from a database and stored in Stata .dta files. But when I read it into R using the foreign package, I get a date format unlike any I've seen. All of the other dates are "%m/%d/%...
Plumb asked 20/4, 2011 at 21:31
3
Solved
I apologize in advance if this has a simple answer somewhere. It seems like the kind of thing that would, but I can't seem to locate it in the help files, by searching SO, or by Googling.
I'm work...
Kings asked 11/4, 2011 at 12:50
2
Solved
This is a basic problem in data analysis which Stata deals with in one step.
Create a wide data frame with time invariant data (x0) and time varying data for years 2000 and 2005 (x1,x2):
d1 <-...
Siebert asked 13/3, 2011 at 2:46
2
Solved
I'm working on monitoring CPU and memory usage of Stata/MP (the multicore version of Stata/SE) but I am not a Stata programmer (more of a Perl guy).
Can anyone post some code that utilizes a publi...
Diogenes asked 3/3, 2011 at 15:51
4
One of the things Stata does well is the way it constructs new variables (see example below). How to do this in R?
foreach i in A B C D {
forval n=1990/2000 {
local m = 'n'-1
# create new co...
3
Solved
I want to run a two stage probit least square regression in R. Does anyone know how to do this? Is there any package out there? I know it's possible to do it using Stata, so I imagine it's possible...
Armure asked 2/10, 2010 at 0:42
2
Have been using Stata to run negative binomial regressions in a replication. Not sure what is under the hood on how Stata does this, but wanted to know if there is an R function/package that does t...
Erysipeloid asked 18/8, 2010 at 3:27
4
Solved
When programming in Stata I often find myself using the loop index in the programming. For example, I'll loop over a list of the variables nominalprice and realprice:
local list = "nominalprice r...
Epicurus asked 2/11, 2009 at 20:5
© 2022 - 2024 — McMap. All rights reserved.