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

Merge a Mata matrix to a Stata data file
I'd like to merge (by a key variable) a Mata column vector to a Stata data file. I'd like to do this without using the frames of v. 16 so as to keep backward...Last edited by Mike Lacy; 07 Oct 2019, 10:55.
 14 posts

Construct matrix counting pairwise agreements
I'm interested in a set of problems in which the data from each individual is a vector of integervalued responses, and I want to know the number of times...
 20 posts
 1 like

Forum software's rendering of "greater than," "ampersand" etc.
I'd like to know how to avoid having the forum software translate the conventional symbols for such things as "greater than," "less than,"...
 8 posts

Data type/precision import dbf
I'd like advice on double vs. float precision on some data values obtained via import of a dbf file.
In the file of interest, the observation...
 6 posts

 2 posts

Parsing a usergiven command to add an "if touse"
I've recently had occasion to write a program using the colon operator, where as is typical, an estimation command comes after the colon. I'm seeking...
 6 posts

float and compress don't quite handle "bogus" doubles
Pedantic point that sometimes matters: I've just noticed that replacing a variable stored as a double with its float() value does not yield something...
 3 posts

Use of st_local() to put items in the return list of a Stata program
I'd like to use st_local()to put items directly into the return list of the Stata program that called the Mata code or program, but what seems to me...
 4 posts

Mike Lacy started a topic Confounders in a two group comparison of factor structureMatching? Propensity Scoring?in GeneralConfounders in a two group comparison of factor structureMatching? Propensity Scoring?
I’m advising a colleague on an analysis for which the goal is to compare the factor structure of an approximately 20item attitude scale administered...
 1 post

Testing some Latex
\[C{V_{\ln }} = \sqrt {\exp \left( {\mathop s\nolimits_{\ln }^2 } \right)  1} \]
 1 post

Mike Lacy started a topic Accuracy of results from optimize() under various optimization techniques (nr, bfgs, dfp)in MataAccuracy of results from optimize() under various optimization techniques (nr, bfgs, dfp)
I'm wanting to get a better understanding and possibly some suggestions of why NewtonRaphson consistently yields somewhat different (better??) results...Last edited by Mike Lacy; 19 Oct 2017, 11:04.
 16 posts

Single psu in stratum problem
A friend's student asked for advice about a study in which I realized there's only one sampled unit per stratum. As none of the standard material on...
 1 post

Using ml in an unusual(?) situation
I’m seeking help with setting up a maximum likelihood estimation with ml in a situation that (to me) seems unusual but in principle workable. What’s...
 1 post

Underflow in individual terms of a fraction
I am trying to use Mata to calculate a fraction in which each term in both the numerator and denominator is quite small (say 1e500), so it will underflow...
 10 posts