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

Re: Export tabulation results to Excel—Update

Here's an example I constructed that appears to accomplish what you're trying to do:sysuse auto, clearputdocx beginputdocx paragraphtab2docx rep78putdocx paragraphtab2docx foreignputdocx save test2,...

View Article


Re: Export tabulation results to Excel—Update

I have the same error

View Article


Re: Export tabulation results to Excel—Update

Ok ill try at Work Tomorrow

View Article

Re: Web scraping NFL data into Stata

Are these errors still happening? I'm unable to produce them on my end running the command you provided.

View Article

Re: Long-run restrictions in a structural vector autoregression

Is it possible to use VAR if both your dependent and independent variables are binary. Let's say the binary variable is 0 if there was no rain and 1 if there was rain.

View Article


Re: Web scraping NFL data into Stata

I am still having the same issue. I get an invalid 'Support' everytime I try to run the nfl2stata scrape command.

View Article

Re: Export tabulation results to Excel—Update

Thank you Chris!! It works (with no weights, unfortunately....)

View Article

Re: Web scraping NFL data into Stata

Try updating the command with net install http://www.stata.com/users/..., replace. There were a few changes that were made near the beginning of the season to accommodate some NFL website changes.

View Article


Re: Using the lasso for inference in high-dimensional models

Thank you for your detailed explanation and useful references. However I am not sure this is a good example? I just run regular linear regression (i.e. using "regress") with no2_class and all the...

View Article


Re: Exploring results of nonparametric regression models

Hi, can you tell me where stata store the marginal effects? I try to compare estimations by two samples. thanks

View Article

Re: Importing WRDS data into Stata

Is this error in Stata, or a stopbox from the ODBC driver?

View Article

Re: Retaining an Excel cell’s format when using putexcel

In Stata 15/16, the default behavior is to keep a cell's format. You must use the option overwritefmt to overwrite a cell's formatting.

View Article

Re: Export tables to Excel

Can you post the error message you receive?

View Article


Re: Export tables to Excel

If you have Stata 15, you should update tab2xl to fix this problem.net install http://www.stata.com/users/kcrow/tab2xl, replace

View Article

Re: Export tables to Excel

Can you post the error message you receive?

View Article


Re: An introduction to the lasso in Stata

Frank Harrell discusses many problems with split sample model validation:https://www.fharrell.com/po...Scott Millis

View Article

Re: How to create animated graphics using Stata

For those who want to create smoother videos, I wrote a small guide on that here: https://statatricks.wordpre...It uses the butterflow program to predict intermediate frames, which makes playback look...

View Article


Re: How to automate common tasks

Thank you very much for this post, really useful !!!

View Article

Re: Export tabulation results to Excel—Update

Hello,I have had the same problem as Rune with two way tabulations. I have tried running the command that Chris suggested but cannot get two way tables to work. I also noticed in the help for the...

View Article

Re: Export tabulation results to Excel—Update

Hello everyone,This code generates an excel table for a two-way tabulation with rows added to display the percentages:sysuse auto, cleartab2xl q_ccterm precinct using "2_Part_2_Tables_currquest.xlsx",...

View Article
Browsing all 1125 articles
Browse latest View live