Announcement
Collapse
No announcement yet.
54 results in 0.0968 seconds.
You can also choose from the popular tags.

Why no OR option in rologit
The Rank Ordered Logit command (rologit; superceded by cmrologit in Stata 16) does not have an or option to exponentiate coefficients. Why not? I've...
 1 post

pinv vs luinv vs qrinv
Mata has these different functions for inverting square matrices. The matrices I am inverting are about 11,000 x 11,000. If I am more concerned about...
 1 post

Keeping column names with mata
My Mata is pretty weak, but I need to use it to invert some giant matrices, as much as 11,000 by 11,000. The person I am trying to help was using Stata...
 8 posts
 1 like

gologit2 suddenly having problems in Stata 15
I have sent this problem to Stata tech support. I will be amazed if anyone on the list can help me but I figured I would toss it out just in case anyone...
 7 posts

Drop base variables from fvexpand list
I want to modify the variable list produced by fvexpand, e.g.
Code:. webuse nhanes2f, clear . fvexpand i.sex i.race
 5 posts

Hausman test after xtlogit
I want to show how to do a Hausman test of fixed versus random effects in xtlogit. The only thread I could find was from 2004:
https://w...
 1 post

Controlling for differences in panel size
I have this panel data set where the number of records for a panel differs greatly, e.g. e.g. a case might have anywhere from 2 to 50 records. For each...
 6 posts

OK to delete cases because of stratum with single sampling unit?
OK, I've read about this problem several times but now it has finally happened to me (or rather, a student of mine). Suppose you run
Code:use
 5 posts

Making best guesses on race/ethnicity/gender
Does anybody know of any programs in Stata (or other software) that will make best guesses as to race/ethnicity/gender based on a person's first and last...
 10 posts

Programs for using Stata with R
I've recently started playing around with R a bit. I wonder what userwritten routines in Stata work with R? Just typing findit R yields about 10 million...
 49 posts
 1 like

Downsides to increasing set matsize
I am frequently increasing matsize, e.g. I give commands like
set matsize 7500
Would anything horrible happen if I made the...
 8 posts
 1 like

Include quotation marks when writing a file
I know this is Stata 101 but I'm not finding the answer. With this line,
Code:file write `out' "semdata < read_dta(`outputfilename')"
 6 posts

Incrementing a local macro alphabetically
You can bump a numeric value up by 1 with code like
local x = `x' + 1
How about alphabetically? So, for example, if local x...
 6 posts

How can I get consistent encoding across variables?
I am using encode to convert string variables into numeric, e.g. "chemistry" might get encoded to 1, "physics" to 2, etc. The problem...
 7 posts

Richard Williams started a topic spost13, possibly other userwritten postestimation commands, partially zapped by Stata 15 (for now)in Generalspost13, possibly other userwritten postestimation commands, partially zapped by Stata 15 (for now)
Just a heads up: Stata 15 changes the format of some ereturned results. This can zap some userwritten commands, e,g. some of Long and Freeses's popular...
 21 posts
 4 likes