Re: Export tables to Excel
Any update on this? I need to do export a tab2 table with row percentages, but I want the percentages next to the frequencies in each cell: "Row 1: 2(3%), 40(50%), etc...
View ArticleRe: Bayesian modeling: Beyond Stata’s built-in models
Excelent alternative to use churdle in bayesmh. Is there a way to implement a glm model with family(gamma) and link(identity) using bayesmh?? I assume one would have to write the log-likelihood...
View ArticleRe: Export tables to Excel
Hello Kavin...i am using stata12 & i used 'putexcel' & tabstat but not able to export data into excel... is there any such video in youtube so i can check?
View ArticleRe: How to successfully ask a question on Statalist
what is the command to estimate a propensity score match when the outcome is binary?
View ArticleRe: Programming an estimation command in Stata: Allowing for sample...
Hi David,I have a quick question. When allowing for factor variables, can you explain when we need to add the -buildfvinfo- option to -ereturn post-? I ask because I remember programming a command some...
View ArticleRe: Export tables to Excel
I don't believe there are any Stata 12 videos on Youtube. putexcel was introduced in Stata 13.
View ArticleRe: Export tables to Excel
No solution yet. You can write your own wrapper command to do this like tab2xl.
View ArticleRe: Programming an estimation command in Stata: Allowing for sample...
Hi Alfonso,Thank you for your excellent question.If your command accepts factor variables, you should specify option-buildfvinfo- on -ereturn post-. When I wrote the post, I decidednot to mention the...
View ArticleRe: Understanding the generalized method of moments (GMM): A simple example
Great read. Thanks for sharing. I experienced a problem with the uploaded do-file though. It puzzles me why I receive a r(430) error message (no convergence) when the code explicitly takes into account...
View ArticleRe: Understanding the generalized method of moments (GMM): A simple example
Hi Roberto,I cannot replicate this behavior in my current Stata 14. I recommend that you type. update allin Stata 14 and run the do-file again.If you still have problems, contact me privately and we...
View ArticleRe: Understanding the generalized method of moments (GMM): A simple example
Hi David,Thanks for your reply. I checked the simulation once again and found that the error is caused by the gmm based on the variance moment condition. As asked for by the code it stopped iterating...
View ArticleRe: Understanding the generalized method of moments (GMM): A simple example
Hi Roberto,I cannot replicate that behavior in Stata 14.1, because we changed it some time ago. I recommend using the latest version, because it implements a better solution when the optimization fails...
View ArticleRe: Bayesian modeling: Beyond Stata’s built-in models
I have written Bayesian log-likelihood evaluators and corresponding commands for all GLM families, including the canonical gamma. They are in the forthcoming 4th edition of Hardin and Hilbe,...
View ArticleRe: Programming an estimation command in Stata: Mata 101
Your blog needs to be publicized more.
View ArticleRe: Export tables to Excel
Hi Kevin, Thank you very much for the nice explanation. I am trying out your command and it seems very helpful. Unfortunatelly I am still a Stata-beginner and have the following problem: I'd like to...
View ArticleRe: probit or logit: ladies and gentlemen, pick your weapon
I've preferred logistic regressions ever since I learned that maximum size of marginal effects in a logistic regression is beta/4, so it is easy to know if the marginal effects could have real world...
View ArticleRe: probit or logit: ladies and gentlemen, pick your weapon
NIce post, Enrique. Could you please provide the definition of the ATE and the TEM in this particular context? Also, I wonder if the linear probability model also gives results similar to those that...
View ArticleRe: probit or logit: ladies and gentlemen, pick your weapon
Hello Stephen,I am glad you liked the post. In this case the ATE is the estimator of the change in the probability of a positive outcome when x2=1 relative to when x2=0 averaged over all observations....
View Article