Quantcast
Channel: The Stata Blog - Latest Comments
Browsing all 1125 articles
Browse latest View live

Re: Creating tables of descriptive statistics in Stata 18: The new dtable...

Very good post, thanks for sharing this!

View Article


Re: Creating tables of descriptive statistics in Stata 18: The new dtable...

Excellent! Thanks

View Article


Re: An introduction to the lasso in Stata

If i had a categorical variable and i used (i.variable) in the command. I get for example a 0.dummyvariable chosen by lasso. My question is, what is the reference category that the 0.dummy variable...

View Article

Re: Export tabulation results to Excel—Update

Hello, I am using Stata 18 and am using the tab2xl command. When I run the command, I get a file handle not found error. My code is:tab2xl year using results/Distribution_by_year, col(1) row(1)...

View Article

Re: Export tabulation results to Excel—Update

asdocx offers a variety of tools to export tables created from tabulation of categorical variables. The tables can be exported to Word, Excel, LaTeX, or HTML. Here is a few links to explore:tabmany –...

View Article


Re: Customizable tables in Stata 17, part 5: Tables for one regression model

Hello! Thank you so much for this, that's very helpful :) I was wondering if there was a way to construct similar tables after a multiple imputation method, as the "mi table" command doesn't exist (at...

View Article

Re: Customizable tables in Stata 17, part 3: The classic table 1

I followed the instructions EXACTLY above, yet I keep getting the error "keyword var requires variables in option statistic()"Approaching hair pulling out territory here....I am using STATA 17.

View Article

Re: From datasets to framesets and alias variables: Data management advances...

Very useful, thanks!

View Article


Re: Introduction to Bayesian statistics, part 2: MCMC and the...

Very good topic! I just purchased stata, and wanted to try on own data issued from a beta distribution...:0,041 0,043 0,063 0,048 0,037 0,025 0,061 0,021 0,03 0,044. bayesmh var2,...

View Article


Re: An introduction to the lasso in Stata

Did you ever get a reply to this? I am trying to figure this out myself!

View Article

Re: Introduction to treatment effects in Stata: Part 2

Hi, can the 'didregress' command used for difference in difference in Stata 17.0 applicable for BINARY outcome (Yes /No)variable.

View Article

Re: Introduction to treatment effects in Stata: Part 1

Hi can the 'didregress' command introduced in Stata 17.0 be applied for the BINARY outcome variable.

View Article

Re: An introduction to the lasso in Stata

Yes, it compares to all the other variabels togetherFor example,a categorical variable maritalstatus (single,married,divorced) coded as 0,1,2 respectivelly and lasso chose 2.maritalstatus then you say...

View Article


Re: An introduction to the lasso in Stata

Hi, maybe the outcome doesn't have much variability or the EPV (positive outcomes ÷ number of coefficients) is low (lower than 10)

View Article

Re: Calculating power using Monte Carlo simulations, part 5: Structural...

That's super useful.how would you modify it for a mediation analysis and test for multiple indirect effects?

View Article


Re: Importing data with import fred

When I enter . set fredkey key, permanently in Stata version 13, Stata returns the following: -set fredkey- not allowed; 'fredkey' not recognized r(199); I am registered on FRED and I have a registered...

View Article

Re: Creating tables of descriptive statistics in Stata 18: The new dtable...

How to Include missing values as well in dtable command

View Article


Re: Stata/Python integration part 2: Three ways to use Python in Stata

How can we load python libraries from within Stata, such that we can use, for instance, matplotlib?

View Article

Re: Creating Excel tables with putexcel, part 2: Macro, picture, matrix, and...

What are the solution to this problems? Can you anyone advice, please?

View Article

Re: Data management made easy

Data Management Made Easy" simplifies the complex task of handling data. With user-friendly strategies and tools, it empowers businesses to organize, analyze, and utilize their data effectively,...

View Article
Browsing all 1125 articles
Browse latest View live