Meta tags:
Headings (most frequently used words):
command, an, stata, programming, estimation, in, writing, plugin, to, your, java, preparing, write, estat, postestimation, consolidating, code, nonlinear, least, squares, estimators, certifying, making, predict, work, adding, analytical, derivatives, poisson, using, mata, archive, subscribe, the, blog, recent, articles, archives, categories, tags, links,
Text of the page (most frequently used words):
the (78), #programming (59), stata (56), command (53), #estimation (45), this (37), that (33), series (24), post (24), plugin (24), for (23), 2016 (19), map (18), writing (18), ado (17), newcommand (16), and (16), code (15), posts (14), you (14), stataprogramming (13), february (13), august (13), econometrics (12), october (12), 2011 (12), march (12), april (12), june (12), 2018 (12), write (12), tags (11), categories (11), commands (11), are (11), mata (10), 2012 (10), 2017 (10), 2020 (10), entries (10), read (10), more (10), all (10), tweet (10), david (10), drukker (10), executive (10), director (10), nonlinear (9), model (9), may (9), july (9), september (9), 2015 (9), see (9), posted (9), comments (9), new (8), november (8), january (8), 2014 (8), 2019 (8), with (8), how (8), december (7), 2022 (7), 2023 (7), 2025 (7), discussed (7), java (7), statistics (6), 2013 (6), derivatives (6), recommend (6), start (6), beginning (6), using (6), discuss (6), material (6), 2010 (5), 2026 (5), 2021 (5), poisson (5), computed (5), which (5), these (5), predict (5), into (5), estat (5), written (5), assume (5), familiar (5), data (4), been (4), name (4), analytically (4), betab (4), boldsymbol (4), beta (4), show (4), after (4), mypoisson5 (4), conditional (4), mean (4), least (4), squares (4), share (4), calculations (4), illustrates (4), plug (4), another (4), language (4), like (4), technique (4), known (4), dynamic (4), link (4), library (4), dll (4), preparing (4), use (3), archives (3), probit (3), 2024 (3), update (3), statanow (3), has (3), just (3), released (3), blog (3), twenty (3), can (3), only (3), mypoisson4 (3), postestimation (3), work (3), computes (3), predictions (3), your (3), nls (3), gauss (3), newton (3), ecm (3), pcm (3), will (3), repeated (3), plugins (3), implements (3), performed (3), mymean11 (3), mymean_work (3), links (2), others (2), statalist (2), press (2), effects (2), time (2), reporting (2), release (2), graphics (2), books (2), products (2), analysis (2), management (2), statistical (2), email (2), likelihood (2), third (2), problem (2), robust (2), optimize (2), adding (2), analytical (2), fourth (2), should (2), section (2), storing (2), one (2), mypoisson5_p (2), certification (2), verification (2), before (2), file (2), certifies (2), certifying (2), some (2), better (2), than (2), algorithm (2), estimate (2), parameters (2), exponential (2), trick (2), estimators (2), lots (2), repeat (2), changed (2), introduce (2), specific (2), analogous (2), differences (2), due (2), being (2), instead (2), not (2), much (2), here (2), terms, copyright, statacorp, llc, www, com, top, faqs, journal, users, group, treatment, simulation, sem, sample, size, random, numbers, python, precision, power, ols, mlexp, meeting, margins, marginal, machine, learning, import, gmm, forthcoming, excel, endogeneity, science, customizable, tables, conference, collections, biostatistics, binary, bayesmh, bayesian, support, meetings, documentation, resources, multiprocessing, memory, hardware, performance, numerical, linear, algebra, mathematics, company, blogs, essential, tools, quality, checks, teach, concepts, recent, articles, please, leave, field, empty, address, receive, notifications, subscribe, facebook, twitter, rss, older, contribution, observation, log, function, maximum, estimator, greatly, reduce, required, solve, uses, few, lines, differ, from, allowing, cluster, standard, errors, mypoisson3, make, having, store, parameter, estimates, named, convention, next, requires, line, change, prediction, mytest_p, mytest, making, process, establishing, versus, fifth, distribute, verify, produces, correct, results, does, processes, verifying, present, techniques, previous, algorithms, frequently, perform, 26th, want, need, performing, apply, two, problems, now, convert, examples, models, 27th, methods, either, because, they, similar, almost, always, shared, needs, place, add, feature, fix, must, everywhere, libraries, functions, across, wrapper, comment, consolidating, 28th, illustrate, then, have, developing, mypoisson, display, many, diagnostics, tests, used, evaluate, specification, available, 29th, tradeoffs, simple, program, whose, replace, subsequent, any, task, including, graphical, per, theme, first, 30th, second, 31st, find, 32nd, those, tagged, archive, about, home,
Text of the page (random words):
stataprogramming archives the stata blog home about archive posts tagged stataprogramming programming an estimation command in stata writing a java plugin 23 february 2018 david m drukker executive director of econometrics no comments tweet this post is the fourth in a series that illustrates how to plug code written in another language like c c or java into stata this technique is known as writing a plugin or as writing a dynamic link library dll for stata in this post i write a plugin in java that implements the calculations performed by mymean_work in mymean11 ado discussed in programming an estimation command in stata preparing to write a plugin and i assume that you are familiar with that material this post is analogous to programming an estimation command in stata writing a c plugin and to programming an estimation command in stata writing a c plugin the differences are due to the plugin code being in java instead of c or c i do not assume that you are familiar with the material in those posts and much of that material is repeated here this is the 32nd post in the series programming an estimation command in stata see programming an estimation command in stata a map to posted entries for a map to all the posts in this series read more categories programming tags stataprogramming plugin programming programming an estimation command in stata writing a c plugin 22 february 2018 david m drukker executive director of econometrics no comments tweet this post is the third in a series that illustrates how to plug code written in another language like c c or java into stata this technique is known as writing a plugin or as writing a dynamic link library dll for stata in this post i write a plugin in c that implements the calculations performed by mymean_work in mymean11 ado discussed in programming an estimation command in stata preparing to write a plugin i assume that you are familiar with the material in that post this post is analogous to programming an estimation command in stata writing a c plugin the differences are due to the plugin code being in c instead of c i do not assume that you are familiar with the material in that post and you will find much of it repeated here this is the 31st post in the series programming an estimation command in stata i recommend that you start at the beginning see programming an estimation command in stata a map to posted entries for a map to all the posts in this series read more categories programming tags stataprogramming plugin programming programming an estimation command in stata writing a c plugin 20 february 2018 david m drukker executive director of econometrics no comments tweet this post is the second in a series that illustrates how to plug code written in another language like c c or java into stata this technique is known as writing a plugin or as writing a dynamic link library dll for stata in this post i write a plugin in c that implements the calculations performed by mymean_work in mymean11 ado discussed in programming an estimation command in stata preparing to write a plugin i assume that you are familiar with the material in that post this is the 30th post in the series programming an estimation command in stata see programming an estimation command in stata a map to posted entries for a map to all the posts in this series read more categories programming tags stataprogramming plugin programming programming an estimation command in stata preparing to write a plugin 15 february 2018 david m drukker executive director of econometrics no comments tweet this post is the first in a series that illustrates how to plug code written in another language like c c or java into stata this technique is known as writing a plugin or as writing a dynamic link library dll for stata plugins can be written for any task including data management graphical analysis or statistical estimation per the theme of this series i discuss plugins for estimation commands in this post i discuss the tradeoffs of writing a plugin and i discuss a simple program whose calculations i will replace with plugins in subsequent posts this is the 29th post in the series programming an estimation command in stata see programming an estimation command in stata a map to posted entries for a map to all the posts in this series read more categories programming tags stataprogramming plugin programming programming an estimation command in stata writing an estat postestimation command 20 october 2016 david m drukker executive director of econometrics no comments tweet estat commands display statistics after estimation many of these statistics are diagnostics or tests used to evaluate model specification some statistics are available after all estimation commands others are command specific i illustrate how estat commands work and then show how to write a command specific estat command for the mypoisson command that i have been developing this is the 28th post in the series programming an estimation command in stata i recommend that you start at the beginning see programming an estimation command in stata a map to posted entries for a map to all the posts in this series read more categories programming tags stataprogramming estat postestimation programming programming an estimation command in stata consolidating your code 18 may 2016 david m drukker executive director of econometrics 1 comment tweet newcommand xb bf x newcommand gb bf g newcommand hb bf h newcommand gb bf g newcommand eb bf e newcommand betab boldsymbol beta i write ado commands that estimate the parameters of an exponential conditional mean ecm model and a probit conditional mean pcm model by nonlinear least squares using the methods that i discussed in the post programming an estimation command in stata nonlinear least squares estimators these commands will either share lots of code or repeat lots of code because they are so similar it is almost always better to share code than to repeat code shared code only needs to be changed in one place to add a feature or to fix a problem repeated code must be changed everywhere i introduce mata libraries to share mata functions across ado commands and i introduce wrapper commands to share ado code this is the 27th post in the series programming an estimation command in stata i recommend that you start at the beginning see programming an estimation command in stata a map to posted entries for a map to all the posts in this series ado commands for ecm and pcm models i now convert the examples of read more categories programming tags stataprogramming mata nls nonlinear model programming programming an estimation command in stata nonlinear least squares estimators 12 may 2016 david m drukker executive director of econometrics no comments tweet newcommand xb bf x newcommand gb bf g newcommand hb bf h newcommand gb bf g newcommand eb bf e newcommand betab boldsymbol beta i want to write ado commands to estimate the parameters of an exponential conditional mean ecm model and probit conditional mean pcm model by nonlinear least squares nls before i can write these commands i need to show how to trick optimize into performing the gauss newton algorithm and apply this trick to these two problems this is the 26th post in the series programming an estimation command in stata i recommend that you start at the beginning see programming an estimation command in stata a map to posted entries for a map to all the posts in this series gauss newton algorithm gauss newton algorithms frequently perform better than read more categories programming tags stataprogramming mata nls nonlinear model programming programming an estimation command in stata certifying your command 31 march 2016 david m drukker executive director of econometrics no comments tweet newcommand xb bf x newcommand betab boldsymbol beta before you use or distribute your estimation command you should verify that it produces correct results and write a do file that certifies that it does so i discuss the processes of verifying and certifying an estimation command and i present some techniques for writing a do file that certifies mypoisson5 which i discussed in previous posts this is the twenty fifth post in the series programming an estimation command in stata i recommend that you start at the beginning see programming an estimation command in stata a map to posted entries for a map to all the posts in this series verification versus certification verification is the process of establishing read more categories programming tags stataprogramming certification programming programming an estimation command in stata making predict work 17 march 2016 david m drukker executive director of econometrics no comments tweet i make predict work after mypoisson5 by writing an ado command that computes the predictions and by having mypoisson5 store the name of this new ado command in e predict the ado command that computes predictions using the parameter estimates computed by ado command mytest should be named mytest_p by convention in the next section i discuss mypoisson5_p which computes predictions after mypoisson5 in section storing the name of the prediction command in e predict i show that storing the name mypoisson5_p in e predict requires only a one line change to mypoisson4 ado which i discussed in programming an estimation command in stata adding analytical derivatives to a poisson command using mata this is the twenty fourth post in the read more categories programming tags stataprogramming postestimation programming programming an estimation command in stata adding analytical derivatives to a poisson command using mata 2 march 2016 david m drukker executive director of econometrics no comments tweet newcommand xb bf x newcommand betab boldsymbol beta using analytically computed derivatives can greatly reduce the time required to solve a nonlinear estimation problem i show how to use analytically computed derivatives with optimize and i discuss mypoisson4 ado which uses these analytically computed derivatives only a few lines of mypoisson4 ado differ from the code for mypoisson3 ado which i discussed in programming an estimation command in stata allowing for robust or cluster robust standard errors in a poisson command using mata this is the twenty third post in the series programming an estimation command in stata i recommend that you start at the beginning see programming an estimation command in stata a map to posted entries for a map to all the posts in this series analytically computed derivatives for poisson the contribution of the i th observation to the log likelihood function for the poisson maximum likelihood estimator is read more categories programming tags stataprogramming econometrics mata nonlinear model programming statistics older entries rss twitter facebook subscribe to the stata blog receive email notifications of new blog posts name email address please leave this field empty recent articles teach statistical concepts with stata a new update to statanow has just been released essential tools for data quality checks a new update to statanow has just been released a new update to statanow has just been released archives 2026 june 2026 may 2026 january 2026 2025 november 2025 october 2025 august 2025 july 2025 may 2025 april 2025 2024 april 2024 march 2024 2023 september 2023 august 2023 july 2023 june 2023 april 2023 february 2023 2022 october 2022 august 2022 may 2022 april 2022 march 2022 january 2022 2021 september 2021 august 2021 june 2021 april 2021 2020 december 2020 november 2020 october 2020 september 2020 august 2020 june 2020 april 2020 march 2020 february 2020 2019 december 2019 november 2019 september 2019 august 2019 july 2019 june 2019 january 2019 2018 october 2018 august 2018 june 2018 april 2018 march 2018 february 2018 january 2018 2017 november 2017 october 2017 september 2017 august 2017 july 2017 june 2017 april 2017 february 2017 january 2017 2016 december 2016 november 2016 october 2016 september 2016 august 2016 july 2016 june 2016 may 2016 april 2016 march 2016 february 2016 january 2016 2015 december 2015 november 2015 october 2015 august 2015 july 2015 june 2015 may 2015 april 2015 2014 december 2014 october 2014 august 2014 july 2014 may 2014 march 2014 february 2014 2013 november 2013 september 2013 june 2013 march 2013 february 2013 2012 october 2012 september 2012 august 2012 july 2012 june 2012 april 2012 march 2012 february 2012 january 2012 2011 december 2011 october 2011 september 2011 august 2011 july 2011 june 2011 may 2011 april 2011 march 2011 february 2011 january 2011 2010 december 2010 november 2010 october 2010 categories blogs company data management graphics mathematics linear algebra numerical analysis performance hardware memory multiprocessing programming mata reporting resources documentation meetings support stata products new books new products statistics tags stataprogramming ado bayesian bayesmh binary biostatistics books collections conference customizable tables data science econometrics endogeneity estimation excel forthcoming gmm graphics import machine learning marginal effects margins mata meeting mlexp new release nonlinear model ols power precision probit programming python random numbers release reporting sample size sem simulation stata 17 stata press statistics time series treatment effects users group links stata stata press the stata journal stata faqs statalist statalist archives links to others top www stata com copyright 2010 2026 statacorp llc terms of use
|